Convert binary to decimal instantly. Enter a value and get the exact decimal representation.
Each bit position in an 8-bit binary number has a fixed place value. Add up the place values of every bit set to 1 to get the decimal number:
| Bit position | Place value | Decimal value |
|---|---|---|
| 7 | 128 | 128 |
| 6 | 64 | 64 |
| 5 | 32 | 32 |
| 4 | 16 | 16 |
| 3 | 8 | 8 |
| 2 | 4 | 4 |
| 1 | 2 | 2 |
| 0 | 1 | 1 |
| — | — | — |
| 0 | 00000000 | 0 |
| 5 | 00000101 | 5 |
| 10 | 00001010 | 10 |
| 15 | 00001111 | 15 |
| 32 | 00100000 | 32 |
| 64 | 01000000 | 64 |
| 100 | 01100100 | 100 |
| 127 | 01111111 | 127 |
| 128 | 10000000 | 128 |
| 200 | 11001000 | 200 |
| 255 | 11111111 | 255 |
Common 8-bit values, an 8-bit binary number can represent 0 to 255 (28 − 1):
| Binary | Decimal |
|---|---|
| 00000000 | 0 |
| 00000101 | 5 |
| 00001010 | 10 |
| 00001111 | 15 |
| 00100000 | 32 |
| 01000000 | 64 |
| 01100100 | 100 |
| 01111111 | 127 |
| 10000000 | 128 |
| 11001000 | 200 |
| 11111111 | 255 |
Step-by-step decimal conversions for the most searched binary numbers:
| Input | Output |
|---|---|
| 1010 | 255 |
Repeatedly divide by 10 collecting remainders, or just use this tool, parsing and conversion happen instantly in your browser.
Yes, both upper and lower case digits are parsed correctly.
No. Conversion runs entirely in your browser.