What is a binary number in decimal?
Turn a binary number such as 1010 or 11111111 into an ordinary decimal number.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
In decimal
10
4 digits in base 2
The same number in other bases
- In binary
- 1010
- In octal
- 12
- In hexadecimal
- a
Turn a binary number such as 1010 or 11111111 into an ordinary decimal number.
How to use
- Type the binary number: only the digits 0 and 1.
- Leave the target on decimal.
- Read the decimal value; the other bases are listed below the result.
Binary to decimal
Each extra digit doubles the range.
How it works
Binary place values double from the right: 1, 2, 4, 8, 16, 32 and so on. A digit 1 adds its place's value, a digit 0 adds nothing.
For 101101, the places holding a 1 are worth 32 + 8 + 4 + 1, which is 45.
Eight binary digits make a byte, so the biggest byte value is eight ones in a row: 255. That is why limits in computing are so often one less than a power of two.
There is a quicker way to do it by hand. Read the digits from the left, doubling the running total and adding the next digit. For 1011 that is 1, then 2, then 5, then 11. Leading zeros never change the value: 00101101 is the same as 101101, which is 45.
This page reads whole binary numbers as positive. Computers also use binary for negative numbers, in a form called two's complement, where the same pattern means a different value.
Worked example
What is the binary number 101101 in decimal?
- Add the value of each place that holds a 1, counting from the right.
- 32 + 8 + 4 + 1 = 45
101101 in binary is 45 in decimal.
Method
No outside data is used: the result is worked out directly from the formula explained under How it works.
Frequently asked questions
What is 1000 in binary as a decimal number?
8. A 1 followed by three zeros is the fourth place from the right, worth 8.
How many values fit in 8 binary digits?
256, from 0 to 255.
Why do binary numbers get long so quickly?
Binary has only two digits, so each place carries little information. Hexadecimal groups four binary digits into one to keep numbers short.
Is 11111111 equal to 255 or to −1?
It depends on how it is read. As a plain unsigned number it is 255, which is what this converter shows. In a signed 8-bit number, two's complement, the same eight ones mean −1.
Next you might need
More in Math & numbers
- Percentage calculator, private, runs on your device
- Area of shapes, private, runs on your device
- Combinations and permutations calculator, private, runs on your device
- Complex number calculator, private, runs on your device
- Confidence interval calculator, private, runs on your device
- Correlation and regression calculator, private, runs on your device





