Binary to Decimal Converter
Enter a binary number to get its decimal, hexadecimal, and octal equivalents, along with the place-value calculation behind the result.
What is Binary to Decimal Conversion?
Binary to decimal conversion turns a base-2 number (using only 0 and 1) into its base-10 equivalent. Computers store and process data in binary, but decimal numbers are what people read and reason about, so converting between the two is a routine step when working with binary data. Curious why computers store data in base-2 in the first place? See why computers use binary.
For example, the binary number 11111111 equals decimal 255 — the maximum value of a single byte (8 bits), which is why byte values commonly range from 0 to 255. For arithmetic on binary numbers rather than conversion, see the Binary Calculator.
How Binary to Decimal Conversion Works
Each binary digit (bit) represents a power of 2. Numbering positions from right to left starting at 0, a bit of 1 contributes its position's value to the total; a bit of 0 contributes nothing. Adding up every position's contribution gives the decimal value.
Example: 1101₂
Binary: 1 1 0 1 Position: 2³ 2² 2¹ 2⁰ Value: 8 4 2 1 (1 × 2³) = 8 (1 × 2²) = 4 (0 × 2¹) = 0 (1 × 2⁰) = 1 8 + 4 + 0 + 1 = 13 1101₂ = 13₁₀
The converter above shows this same breakdown for whatever binary number you enter. For the reverse operation, use the Decimal to Binary Converter.
Binary place values
| Binary position | Value |
|---|---|
| 2⁰ | 1 |
| 2¹ | 2 |
| 2² | 4 |
| 2³ | 8 |
| 2⁴ | 16 |
| 2⁵ | 32 |
| 2⁶ | 64 |
| 2⁷ | 128 |
Binary to Decimal Conversion Table
A quick reference for common binary numbers and their decimal, hexadecimal, and octal equivalents:
| Binary | Decimal | Hexadecimal | Octal |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 10 | 2 | 2 | 2 |
| 101 | 5 | 5 | 5 |
| 1010 | 10 | A | 12 |
| 1111 | 15 | F | 17 |
| 10000 | 16 | 10 | 20 |
| 100000 | 32 | 20 | 40 |
| 1000000 | 64 | 40 | 100 |
| 1100100 | 100 | 64 | 144 |
| 10000000 | 128 | 80 | 200 |
| 11111111 | 255 | FF | 377 |
| 100000000 | 256 | 100 | 400 |
| 1000000000 | 512 | 200 | 1000 |
| 10000000000 | 1024 | 400 | 2000 |
An 8-bit binary number (like 11111111) can represent decimal values from 0 to 255, which is why computer memory and file sizes are commonly measured in bytes.
Where Binary to Decimal Conversion Is Used
Converting binary to decimal comes up whenever binary data needs to be read by a person rather than a machine:
- Programming and debugging: reading raw binary output, bitwise operation results, and memory dumps in a readable form.
- Networking: converting binary IP address octets to standard dotted-decimal notation, e.g.
11000000.10101000.00000001.00000001→192.168.1.1. - Digital electronics: interpreting sensor readings and register values that hardware reports in binary.
- Computer science education: learning positional notation, memory addressing, and how digital systems represent numbers.
- Systems administration: reading Unix/Linux permission bits (e.g.
rwxrwxrwx) and 8-bit color channel values (0–255) that are stored in binary.
Need to go the other direction with hex instead of decimal? Try the Binary to Hex Converter. For binary-to-text conversion, see the Binary Translator.
Related Converters
Decimal to Binary
Convert decimal numbers to binary — the reverse of this tool.
Binary to Hex
Convert binary numbers to hexadecimal notation.
Binary to Octal
Convert binary numbers to octal — commonly used for Unix file permissions.
Hex to Binary
Convert hexadecimal values back to binary.
Octal to Binary
Convert octal values back to binary.
Binary Calculator
Add, subtract, multiply, and divide binary numbers.
Binary Converter
Encode text to binary, or get decimal, hex, and octal from one binary number.
Frequently Asked Questions
How do I convert 11111111 to decimal?
11111111 in binary equals 255 in decimal. Enter it above to see the full place-value breakdown.
What is the decimal value of binary 1010?
Binary 1010 equals decimal 10: (1×8) + (0×4) + (1×2) + (0×1) = 10.
Can I convert negative binary numbers?
This converter handles positive (unsigned) binary numbers. Negative numbers in computers are represented using two's complement, which requires a different conversion method — see the Two's Complement Calculator.
What happens if I enter an invalid character?
The converter shows an error message and does not produce a result, since only the digits 0 and 1 are valid in a binary number.
How many decimal values can 8 bits represent?
8 bits can represent 256 different values, from 0 to 255 in decimal, which is why a byte (8 bits) is a fundamental unit in computing.
What's the largest binary number I can convert?
There's no fixed digit limit. Conversion uses BigInt arithmetic, so arbitrarily long binary numbers stay exact rather than losing precision — the only practical limit is your browser's available memory.
Is this converter accurate for very large numbers?
Yes. It uses JavaScript's BigInt arithmetic, which keeps the result exact even for binary numbers longer than the 53-bit range where regular JavaScript numbers start to lose precision.
Related Tools
You might also find these tools useful
Base Converter
Convert whole numbers between binary, octal, decimal, hex, and custom bases 2-36 in one hub.
Binary Converter
Convert text, UTF-8 bytes, and binary values without focusing only on readable messages.
Binary Calculator
Add, subtract, multiply, and divide binary numbers for math and computer science exercises.
Binary to HEX
Compress long binary strings into hexadecimal groups for code, memory, and color checks.
Decimal to Binary
Convert everyday base-10 numbers into binary with clear fixed-width output.
Decimal to HEX
Translate decimal values into compact hexadecimal notation for technical references.