Binary to Decimal Calculator
Convert a binary (base 2) number to decimal (base 10).
- Free to use
- Accurate results
- No registration required
- Works on all devices
Enter a binary number to convert it to decimal.
Use only the digits 0 and 1.
Your result
255
Decimal
AI explanation
Formula
Sum each binary digit multiplied by its place value (a power of 2)Worked example
11111111 to decimal
| Field | Value |
|---|---|
| Binary number | 11111111 |
| Decimal | 255 |
Assumptions
- Input must contain only the digits 0 and 1.
Frequently asked questions
How do I convert binary to decimal by hand?
Multiply each binary digit by its place value (1, 2, 4, 8, 16, ... from right to left) and add up the results. For example, 1011 = 1×8 + 0×4 + 1×2 + 1×1 = 11.
What's the largest decimal value for an 8-bit binary number?
255 (binary 11111111) — the largest value representable in a single byte (8 bits).
What about the reverse conversion?
Use the Decimal to Binary Calculator to convert a decimal number to binary.