Binary to Decimal Converter
Convert a binary number of up to 64 digits into its exact decimal value.
Jump to toolWhat Is Binary to Decimal Conversion?
Binary to decimal conversion turns a base-2 number, written with only 0s and 1s, into the everyday base-10 form. Each binary digit is worth double the one to its right, so 1010 is 8 + 2, which is 10.
Enter up to 64 binary digits and the tool returns the exact decimal integer, without rounding even for very large values.
How to Convert Binary to Decimal
- Enter a binary number, such as 101101, under Enter binary number.
- Read the result under Decimal output: 45 for this example.
- Select Copy decimal or Download to keep it.
Worked Example: 101101
Each position is worth twice the one to its right. Add the values where the digit is 1:
| Digit and place value | Contribution |
|---|---|
| 1 × 32 | 32 |
| 0 × 16 | 0 |
| 1 × 8 | 8 |
| 1 × 4 | 4 |
| 0 × 2 | 0 |
| 1 × 1 | 1 |
| Total | 45 |
Useful Values
| Binary | Decimal |
|---|---|
| 1111 | 15 |
| 11111111 | 255, the largest value of one byte |
| 10000000000 | 1024 |
| 1111111111111111 | 65,535 |
Signed Numbers
This tool reads the digits as an unsigned, non-negative number. In programming, the same bits can also represent a negative number using two's complement, where 11111111 means -1 in an 8-bit signed byte.
Binary to Decimal Converter FAQ
Convert the other way
Turn a decimal number into binary.
Related Tools
Tools that often come next after this one