Skip Navigation

Binary to Decimal Converter

  ⇅ Swap 

Decimal to binary

How to convert Binary to Decimal

Convert binary to decimal by summing powers of 2.

d = b_{n-1}×2^{n-1} + ... + b_1×2^1 + b_0×2^0

Each binary digit (from right) represents a power of 2:

1010₂ = 1×8 + 0×4 + 1×2 + 0×1 = 10₁₀

Example

Convert 1010₂ to decimal:

1010₂ = 1×2³ + 0×2² + 1×2¹ + 0×2⁰ = 8+0+2+0 = 10

Binary to Decimal Converter table

Binary ()Decimal ()
00
11
102
113
1004
1015
1106
1117
10008
10019
101010
101111
110012
110113
111014
111115
1000016
10000032
100000064
10000000128
11111111255


See also