Converter
Binary, Octal, Decimal, Hex & Every Base In Between
Convert any value between base 2 and base 60
Results are provided for informational purposes only and may contain errors. Please verify important information independently. Use of this tool is at your own risk.
How to convert binary to decimal
Convert binary numbers to decimal instantly: type a value and the decimal result appears as you type. Below the converter you'll find the method to do it by hand, a worked example and a table of common values.
- Type or paste a binary number into the box above. Negative numbers and fractions work too.
- The From and To bases are already set to binary and decimal, so the result appears right away: 10011100 becomes 156.
- Copy the result, or choose any other base from 2 to 60 to convert the same value.
Converting binary to decimal by hand
Number the digits from right to left, starting at 0. Multiply each digit by 2 to the power of its position and add the results together:
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₁₀
Binary to decimal table
| Binary | Decimal |
|---|---|
0 | 0 |
1 | 1 |
10 | 2 |
111 | 7 |
1000 | 8 |
1010 | 10 |
1111 | 15 |
10000 | 16 |
101010 | 42 |
1000000 | 64 |
1100100 | 100 |
1111111 | 127 |
11111111 | 255 |
100000000 | 256 |
1111101000 | 1000 |
10000000000 | 1024 |
Binary and decimal explained
Binary is base 2: it uses only the digits 0 and 1, and each position is worth twice the one to its right. It is how computers store every number, character and pixel.
Decimal is base 10, the everyday number system with the digits 0 to 9. Each position is worth ten times the one to its right.
Frequently asked questions
Can I convert negative numbers and fractions?
Yes. Put a minus sign in front of a negative number and use a point for the fraction, for example -12.5. A fraction that never ends in decimal is cut off after 32 digits.
How large can the number be?
There is no practical limit. The converter uses exact whole-number arithmetic, so even numbers with hundreds of digits are converted without rounding.
Do uppercase and lowercase letters matter?
Not up to base 36: FF and ff are the same hexadecimal number. From base 37 upward, uppercase and lowercase letters are different digits.
Is this tool free?
Yes, it's free to use. No signup, no email required. Get results on this page.
How do I get my result?
Use the tool on this page. Your result appears here; no email delivery is required.