https://binary2hex.com/numberconverter.html?id=90072
# Transfer B2 from hexadecimal in binary number system

<!--
function timerDecrement() {
var time = $('#timer_perevod').html();
if(time>0)
{
time=time-1;
$('#timer_perevod').html(time);
setTimeout(timerDecrement, 1000);
}
else
{
// ожидание закончено
$('input[name=submit]').val("Перевести");
$('input[name=submit]').prop('disabled',false);
$('#timer_perevod').text(" ");
//$('#ads_calc').text(" ");
$('#text_perevod').fadeIn(100);
$('#href_calc').fadeIn(100);
}
}
function printleftss(ss)
{
if(ss!=4)
{
var ch = $('#chislo').val();
$('#chislo').val(ch.replace('-',''));
}
// if(ss==3) { $('#leftdop').fadeOut(300); $('input[name=ssDop]').attr('checked',false);}
if(ss==6) $('#leftbcd').fadeIn(300); else $('#leftbcd').fadeOut(300);
if(ss==7) $('#leftdr').fadeIn(300); else $('#leftdr').fadeOut(300);
if(ss==8) {if($('#ssDop').is(":checked")) $('#leftdop').fadeIn(300); else $('#leftdop').fadeOut(300);}
}
function printrightss(ss)
{
if(ss==15) $('#rightbcd').fadeIn(300); else $('#rightbcd').fadeOut(300);
if(ss==16) $('#rightdr').fadeIn(300); else $('#rightdr').fadeOut(300);
}
function printleftssDOP()
{
//if($('input[name=ss]:checked').val()==3) {$('#leftdop').fadeOut(300);$('input[name=ssDop]').attr('checked',false); alert("Для ввода знака поставьте - минус перед числом"); return;}
if($('#ssDop').is(":checked")) $('#leftdop').fadeIn(300); else $('#leftdop').fadeOut(300);
}
function printleftssTip(tip)
{
var maxlenght = 0;
var ss = $('input[name=ss]:checked').val();
switch(ss)
{
case '1':maxlenght = 8*tip; break;
case '2':maxlenght = 8*tip; break;
case '3':maxlenght = 3*tip; break;
case '4':maxlenght = 0; break;
case '5':maxlenght = 2*tip; break;
case '6':maxlenght = 8*tip; break;
case '7':maxlenght = 0*tip; break;
}
if(maxlenght!=0)
{
var ch = $('#chislo').val();
var chlenght = ch.length;
if(chlenght>maxlenght)
{
ch = ch.substr(-maxlenght);
$('#chislo').val(ch);
}
}
}
function printleftssTipSign(tip)
{
if(tip==0) $('#lefttipsign').fadeIn(300); else $('#lefttipsign').fadeOut(300);
}
function printRigtssTipSign(tip)
{
if(tip==0) $('#righttipsign').fadeIn(300); else $('#righttipsign').fadeOut(300);
}
function printlrihtssDOP()
{
if($('#ssToDop').is(":checked")) $('#rightdop').fadeIn(300); else $('#rightdop').fadeOut(300);
}
function forEach(data, callback){
for(var key in data){
if(data.hasOwnProperty(key)){
callback(key, data[key]);
}
}
}
function ValidateForm()
{
var strFilter ;
var text;
var ss = $('input[name=ss]:checked').val();
if (ss==1) {strFilter =/^[0-1,.]*$/; text=" a Binary number can only contain the digits 0 and 1, as well as a dot for fractional numbers" }
if (ss==2) {strFilter =/^[0-2,.]*$/; text=" a Ternary number can only contain the digits 0.1 and 2, as well as a dot for fractional numbers"; }
if (ss==3) {strFilter =/^[0-7,.]*$/; text=" an Octal number can only contain digits 0-7, as well as a dot for fractional numbers"; }
if (ss==4) {strFilter =/^[0-9,.-]*$/; text=" a Decimal number can only contain digits 0-9, as well as a dot for fractional numbers"; }
if (ss==5) {strFilter =/^[0-9a-fA-F,.x]*$/; text=" a Hexadecimal number can only contain digits 0-9, letters A, B,C,D, E,F, and a dot for fractional numbers";}
if (ss==6) {strFilter =/^[0-1,.]*$/; text=" a Binary number can only contain the digits 0 and 1, as well as a dot for fractional numbers";}
if (ss==7) {strFilter =/^[0-9a-fA-Z,.-]*$/; text=" a Number can only contain the digits 0 and 9, the letters A-Z, and a dot for fractional numbers";}
if (!strFilter.test($('#chislo').val()))
{
alert(text);
}
else if($('#chislo').val()==0)
{
alert(" Enter a number");
$('#chislo').val('');
//alert($('input[name=ssTobcd]:checked').val());
}
else if($('#chislo').val().length>=30)
{
alert(" a Binary number can only contain the digits 0 and 1, as well as a dot for fractional numbers");
$('#chislo').val('');
}
else
{
$('input[name=submit]').val(" data Transfer, wait");
$('input[name=submit]').prop('disabled',true);
$('#text_perevod').fadeOut(1);
$('#href_calc').fadeOut(1);
// отправляем форму
$.ajax({
type:"POST",
data: {
chislo: $('#chislo').val(),
ss: $('input[name=ss]:checked').val(),
ssTo: $('input[name=ssTo]:checked').val(),
ssbcd: $('input[name=ssbcd]:checked').val(),
ssTobcd: $('input[name=ssTobcd]:checked').val(),
ssdr: $('#ssdr').val(),
ssTodr: $('#ssTodr').val(),
ssDop: $('input[name=ssDop]:checked').val(),
sssign: $('input[name=sssign]:checked').val(),
sstip: $('input[name=sstip]:checked').val(),
sstipsign: $('input[name=sstipsign]:checked').val(),
ssToDop: $('input[name=ssToDop]:checked').val(),
ssTosign: $('input[name=ssTosign]:checked').val(),
ssTotip: $('input[name=ssTotip]:checked').val(),
ssTotipsign: $('input[name=ssTotipsign]:checked').val(),
},
url: "https://binary2hex.com/calc/calcyadro.php?calculator=2&calcid=1",
cache: false,
dataType: 'json',
success:function(data) {
$('input[name=submit]').val(" waiting for the calculation to complete");
forEach(data,function(key,value) {
if(key=="otvet_perevod") $('#otvet_perevod').html(value);
if(key=="timer_perevod") $('#timer_perevod').text(value);
if(key=="error_perevod") $('#error_perevod').html(value);
if(key=="text_perevod") $('#text_perevod').html(value);
if(key=="like_block") $('#like_block').html(value);
if(key=="href_calc") $('#href_calc').html(value);
if(key=="ads_calc") $('#ads_calc').html(value);
if(key=="link_print") $('#link_print').html(value);
});
timerDecrement();
}
});
}
}
-->

Ternary

Octal

Decimal

Hexadecimal

Binary-decimal

Other

Additional

Binary

Triple

Octal

Decimal

Hexadecimal

Binary-decimal

Other

Additional

$( function() {
window.print();
});

Enter a number:

His number system:

Binary Ternary

Octal

Decimal

Hexadecimal

Binary-decimal

Other

Additional

Translate to :

This transfer is possible in two ways: direct transfer and using the decimal system.

first, let\'s make a direct transfer.

let\'s do a direct translation from hexadecimal to binary like this:

B2_{16} = B 2 = B_{(=1011)} 2_{(=0010)} = 10110010_{2}

the Final answer: B2_{16} = 10110010_{2}

now let\'s make the transfer using the decimal system.

let\'s translate to decimal like this:

11∙16^{1}+2∙16^{0} = 11∙16+2∙1 = 176+2 = 178_{10}

got It: B2_{16} =178_{10}

Translate the number 178_{10} в binary like this:

the Integer part of the number is divided by the base of the new number system:

178 | 2 | ||||||||

-178 | 89 | 2 | |||||||

0 | -88 | 44 | 2 | ||||||

1 | -44 | 22 | 2 | ||||||

0 | -22 | 11 | 2 | ||||||

0 | -10 | 5 | 2 | ||||||

1 | -4 | 2 | 2 | ||||||

1 | -2 | 1 | |||||||

0 | |||||||||

the result of the conversion was:

178_{10} = 10110010_{2}

the Final answer: B2_{16} = 10110010_{2}

Permanent link to the result of this calculation