Binary to Decimal Converter
Convert binary (base 2) numbers to decimal (base 10) instantly with step-by-step calculation shown. Free and works entirely in your browser.
Binary to Decimal Reference Table
| Binary | Decimal | Binary | Decimal |
|---|---|---|---|
| 0 | 0 | 1000 | 8 |
| 1 | 1 | 1001 | 9 |
| 10 | 2 | 1010 | 10 |
| 11 | 3 | 1100 | 12 |
| 100 | 4 | 1111 | 15 |
| 101 | 5 | 10000 | 16 |
| 110 | 6 | 11111111 | 255 |
| 111 | 7 | 10000000 | 128 |
How to Convert Binary to Decimal
Converting binary to decimal uses the positional weight method. Each bit (0 or 1) in a binary number has a place value that is a power of 2, starting from 2â° on the right side.
Formula: Decimal = dn×2n + … + d1×21 + d0×20
Example — Convert 1101 to decimal:
Binary: 1 1 0 1 Position: 3 2 1 0 Value: 8 4 0 1 1 × 2³ = 1 × 8 = 8 1 × 2² = 1 × 4 = 4 0 × 2¹ = 0 × 2 = 0 1 × 2Ⱐ= 1 × 1 = 1 Total = 8 + 4 + 0 + 1 = 13
Understanding Bit Positions
In a binary number, the rightmost bit is the Least Significant Bit (LSB) with value 2â° = 1. The leftmost bit is the Most Significant Bit (MSB). For an 8-bit number, the positions are: 128, 64, 32, 16, 8, 4, 2, 1 from left to right.
Where Is Binary Used?
Binary numbers appear in many real-world contexts: IP addresses (subnet masks are binary), color codes (RGB values), file permissions in Linux (chmod 755 = 111 101 101 in binary), computer memory addressing, and digital logic circuits.