Binary to Decimal converter

2
Decimal number:
10
Decimal from signed 8/16/32 bit:
10
Hex number:
16

Decimal to Binary converter ►

How to convert binary to decimal

For binary number with n digits:

dn-1 ... d3 d2 d1 d0

The decimal number is equal to the sum of binary digits (dn) times their power of 2 (2n):

decimal = d0×20 + d1×21 + d2×22 + ...

Example: find the decimal value of 1110012:

binary number: 1 1 1 0 0 1
power of 2: 25 24 23 22 21 20

1110012 = 125+124+123+022+021+120 = 5710

Binary to decimal conversion table

Binary Decimal
0 0
1 1
10 2
11 3
100 4
101 5
110 6
111 7
1000 8
1001 9
1010 10
1011 11
1100 12
1101 13
1110 14
1111 15
10000 16
10001 17
10010 18
10011 19
10100 20
10101 21
10110 22
10111 23
11000 24
11001 25
11010 26
11011 27
11100 28
11101 29
11110 30
11111 31
100000 32
1000000 64
10000000 128
100000000 256

 


See also

Write how to improve this page