Skip to content
ForceConversion

Popular tools

Binary to Decimal Converter

Convert binary numbers to decimal. Reading a binary value, such as a flag byte or the output of a program, is much easier once it is in decimal.

Binary to Decimal converter

Whole numbers. Spaces, underscores and the prefixes 0b, 0o and 0x are accepted.

Result

Binary
—
Octal
—
Decimal
—
Hexadecimal
—

How to convert binary to decimal

Multiply each binary digit by 2 raised to the power of its position, counting from 0 at the right, then add the results.

Example: 10011100 (binary) to decimal

10011100 = 1 × 2⁷ + 0 × 2⁶ + 0 × 2⁵ + 1 × 2⁴ + 1 × 2³ + 1 × 2² + 0 × 2¹ + 0 × 2⁰

= 128 + 0 + 0 + 16 + 8 + 4 + 0 + 0 = 156

Examples

  • 1010 (binary) = 10 (decimal)
  • 10011100 (binary) = 156 (decimal)
  • 11111111 (binary) = 255 (decimal)
  • 1111101000 (binary) = 1000 (decimal)

Binary to Decimal conversion table

Binary to Decimal
Binary (base 2)Decimal (base 10)
00
11
102
113
1004
1015
1106
1117
10008
10019
101010
101111
110012
110113
111014
111115
1000016
1010020
10000032
11001050
100000064
1100100100
1111111127
10000000128
11111111255
100000000256
1000000000512
11111010001000
100000000001024

The table lists the same whole numbers for every pair of bases.

Frequently asked questions

What is 11111111 in decimal?
11111111 in binary is 255 in decimal.
How do I convert binary to decimal by hand?
Multiply each binary digit by 2 raised to the power of its position, counting from 0 at the right, then add the results.
What digits does binary use?
Binary uses the digits 0 and 1. Computers store and process everything as binary digits (bits). Eight bits make one byte.
What is decimal used for?
Decimal is the everyday number system for counting, money and measurement.