UnitSnap All converters

Binary to decimal

Rewrite whole numbers in another base.

14 units in this converter

Converter

-
Digits 0-9 and a-z are accepted, in the source base.

Binary (base 2) to Decimal (base 10) at a glance

21 rows
Binary (base 2)Decimal (base 10)
1 bin1 dec
2 bin2 dec
3 bin3 dec
4 bin4 dec
5 bin5 dec
6 bin6 dec
7 bin7 dec
8 bin8 dec
9 bin9 dec
10 bin10 dec
15 bin15 dec
20 bin20 dec
25 bin25 dec
30 bin30 dec
40 bin40 dec
50 bin50 dec
75 bin75 dec
100 bin100 dec
250 bin250 dec
500 bin500 dec
1,000 bin1,000 dec

Quick pairs

tap to load

How the binary (base 2) to decimal (base 10) conversion works

Binary, octal and hexadecimal are the ones programmers reach for; every base from 2 to 36 is here.

To convert by hand, expand the number in its source base by multiplying each digit by the base raised to its position. Then divide the total by the target base over and over, reading the remainders from last to first.

Questions

Which units does this number base converter cover?

14 units in total, all referenced to the decimal. They include binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), base 3, base 4 and more. Pick any pair from the two dropdown lists.

How precise are the results?

Every conversion is computed in your browser at double precision from the factors listed on this page, which follow the SI definitions and the exact international agreements for imperial and US customary units. Use the Decimals control to round the display without changing the underlying value.

Does anything I type leave my device?

No. The converter is plain JavaScript running locally, with no server round-trip, and the page keeps working offline once loaded.