Convert binary (base 2) numbers to decimal (base 10) instantly, with digit validation, a worked place-value example and a reference table.
Step 1 — value: expand the binary number by place values to get its decimal value. Step 2 — re-base: divide that value by 10 again and again, collecting remainders, and read them in reverse.
Step 1: 1×25 = 32 + 0×24 = 0 + 1×23 = 8 + 1×22 = 4 + 0×21 = 0 + 1×20 = 1 → total 45 (decimal). 101101 is the 6-bit pattern for 45.
Step 2: 45 written in base 10 is 45.
Result: 101101 (binary) = 45 (decimal).
Binary is the language of computers: every file, photo and program is stored as binary digits (bits). Eight bits make a byte.
Decimal is the everyday human system, built on ten digits — almost certainly because we have ten fingers.
| Binary | Decimal |
| 0 | 0 |
| 1 | 1 |
| 10 | 2 |
| 11 | 3 |
| 100 | 4 |
| 101 | 5 |
| 110 | 6 |
| 111 | 7 |
| 1000 | 8 |
| 1001 | 9 |
| 1010 | 10 |
| 1011 | 11 |
| 1100 | 12 |
| 1101 | 13 |
| 1110 | 14 |
| 1111 | 15 |
| 10000 | 16 |
| 100000 | 32 |
| 1000000 | 64 |
| 1100100 | 100 |
| 10000000 | 128 |
| 11111111 | 255 |
| 100000000 | 256 |
| 1111101000 | 1000 |
First find the decimal value using place values (each digit is worth its face value times the base raised to its position), then divide by 10 repeatedly, reading the remainders upwards. The worked example on this page shows both steps for 101101.
101101 in binary is 45 in decimal. 101101 is the 6-bit pattern for 45.
Only these 2: 01. Any other digit makes the number invalid in this base, and the converter above will tell you.
Binary is the language of computers: every file, photo and program is stored as binary digits (bits). Eight bits make a byte.
Use the decimal to binary converter — the process is the same, in the other direction.
Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.