Binary To Decimal
Convert binary numbers to decimal, turning base 2 into base 10. No signup. Ideal for students, programmers and anyone learning or working with binary.
Share on Social Media:
A binary to decimal converter turns binary numbers — strings of 0s and 1s — into the ordinary decimal numbers we use every day. Paste your binary, click Convert to Decimal, and the base-10 value appears below the input. It is free, needs no signup, and works on any device.
Binary is the language computers store and process data in, but humans read decimal. This tool bridges the two: it reads each binary digit, adds up the place value of every 1, and gives you the familiar decimal number — for example, 1010 becomes 10 and 11111111 becomes 255.
On this page
- How to Convert Binary to Decimal Step by Step
- What Binary and Decimal Are
- Binary Versus Decimal Number Systems
- Who Converts Binary to Decimal
- Pro Tips for Converting Binary to Decimal
- Common Binary to Decimal Mistakes to Avoid
- Related Tools You May Need Next
- Frequently Asked Questions
How to Convert Binary to Decimal Step by Step
- Enter the binary number. Type or paste your binary into the input box. It must contain only zeros and ones — any other digit or letter is not valid binary.
- Upload a file instead (optional). If your binary is saved in a
.txtfile, use the Upload File button to load it instead of pasting. - Click Convert to Decimal. Press the Convert to Decimal button. The tool sends your binary to the server and converts it — each 1 contributes its place value, a power of two, to the total.
- Read the decimal result. The decimal equivalent appears below the input under a "Result" heading — the familiar base-10 number that the binary represents.
- Copy or save the result. Use Copy to Clipboard to copy the decimal value, or Save as TXT to download it as a
binary-to-decimal.txtfile.
Worked example 1 — 1010 = 10. Write the place values above the digits, from the right: 8, 4, 2, 1. Multiply each digit by its place value and add: 1 × 8 + 0 × 4 + 1 × 2 + 0 × 1 = 8 + 0 + 2 + 0 = 10. The zeros contribute nothing; only the 1s count.
| Binary digit | 1 | 0 | 1 | 0 |
|---|---|---|---|---|
| Place value | 8 | 4 | 2 | 1 |
| Contribution | 8 | 0 | 2 | 0 |
Worked example 2 — 1101 = 13. Place values 8, 4, 2, 1: 1 × 8 + 1 × 4 + 0 × 2 + 1 × 1 = 8 + 4 + 0 + 1 = 13.
Worked example 3 — 11111111 = 255. Eight 1s, place values 128, 64, 32, 16, 8, 4, 2, 1: 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255. This is the largest value one byte (8 bits) can hold.
Worked example 4 — several numbers at once. Enter space-separated binary groups, for example 1010 1100, and each group converts on its own: 10 12. The spaces are kept in the result, so the answers stay matched to their inputs.

What Binary and Decimal Are
Binary is the base-2 number system, using only the digits 0 and 1. It is the fundamental language of computers: every bit of data is ultimately a string of zeros and ones, because the two digits map onto the two states — off and on — of digital electronics. Decimal is the base-10 system we use every day, with the digits 0 to 9.
Both systems work the same way: each position has a place value, and a number's value is the sum of its digits times their place values. In decimal the place values are powers of ten — ones, tens, hundreds. In binary they are powers of two — ones, twos, fours, eights. Converting binary to decimal just means adding up the place values wherever there is a 1.
| Decimal | Binary | Decimal | Binary |
|---|---|---|---|
| 0 | 0 | 8 | 1000 |
| 1 | 1 | 9 | 1001 |
| 2 | 10 | 10 | 1010 |
| 3 | 11 | 11 | 1011 |
| 4 | 100 | 12 | 1100 |
| 5 | 101 | 13 | 1101 |
| 6 | 110 | 14 | 1110 |
| 7 | 111 | 15 | 1111 |
Each step doubles. Moving one position to the left in binary doubles the place value: 1, 2, 4, 8, 16, 32, 64, 128, 256. That is why 8 bits (one byte) can represent every value from 0 to 255, and why binary numbers get long so quickly.
Converting by hand is easy for short numbers, but it gets tedious and error-prone as the digits pile up — which is where a converter earns its keep, especially for the longer strings you meet in programming and electronics.

Binary Versus Decimal Number Systems
| Aspect | Binary | Decimal |
|---|---|---|
| Base | Base 2 | Base 10 |
| Digits | 0 and 1 only | 0 to 9 |
| Place values | Powers of two (1, 2, 4, 8…) | Powers of ten (1, 10, 100…) |
| Example | 1010 | 10 (same value) |
| Main use | How computers store data | Everyday human counting |
| Where you see it | Bit patterns, binary files, memory | Prices, measurements, arithmetic |
Who Converts Binary to Decimal
Students learning number systems A student studying binary converts to decimal to understand place values and to check their own hand calculations against a correct answer.
Programmers A developer working with bit flags, binary literals or byte values converts them to decimal to read and verify them in the familiar number system during their work.
Computer science learners Someone studying how computers work converts binary to decimal as a basic exercise in understanding the binary basis of computing.
People working with digital electronics A person dealing with binary in hardware — registers, addresses, sensor readings — converts values to decimal to interpret them in everyday terms.
Anyone encountering binary A person who comes across a binary number and wants to know what it means converts it to decimal to understand the value it represents.

Pro Tips for Converting Binary to Decimal
Enter only zeros and ones. Binary consists solely of the digits 0 and 1. If anything else slips in — a 2, a letter, a decimal point — the tool returns no result at all, so check the input and try again.
Use single spaces to convert several numbers at once. The tool converts each space-separated group on its own — 1010 1100 gives 10 12. Use exactly one space between groups: a double space adds a phantom 0 to the result.
Keep very long binary under 64 bits. Results are exact up to 63 bits (the largest exact result is 9223372036854775807). From 64 bits on, the answer is shown in scientific notation and loses precision — for example, 64 ones show as 1.844674407371E+19 instead of the full number. Split longer binary into space-separated groups of under 64 bits.
Leading zeros are harmless. 00001010 converts to 10, exactly like 1010 — you do not need to strip leading zeros before converting.
Upload a .txt file for long input. If your binary is already saved in a text file, use the Upload File button instead of pasting a long string by hand — it avoids copy-paste mistakes.
Convert back to verify. To confirm a conversion, convert the decimal result back to binary with our Decimal to Binary tool and check you return to the original binary number.
Common Binary to Decimal Mistakes to Avoid
Entering digits other than 0 and 1. Binary uses only 0 and 1. If your input contains a 2–9, a letter, a minus sign or a decimal point, the tool shows no result at all — no error message, just an empty result area. Remove the invalid characters and try again.
Adding a 0b prefix. The tool takes plain binary only. Typing 0b1010 will not convert — enter 1010 on its own.
Using commas or semicolons as separators. Only spaces separate multiple numbers. 1010,1100 or 1010;1100 will not convert — use 1010 1100 instead.
Putting each number on its own line. Line breaks are ignored, not treated as separators: 1010 on one line and 1100 on the next are joined into 10101100 (= 172). Use spaces, not new lines, to keep numbers separate.
Trusting the result for 64-bit and longer binary. From 64 bits on, the result is shown in scientific notation and is no longer exact. Split the binary into groups of under 64 bits, separated by single spaces, instead.
Reading place values from the wrong end. Place values increase from right to left: the rightmost digit is worth 1, the next 2, then 4, then 8. Reading them left to right gives the wrong answer whenever the digits are not symmetrical.
Related Tools You May Need Next
To go back the other way, use the Decimal to Binary tool. For other bases, try the Binary to Hex tool, Decimal to Hex, or the Base Converter, which handles conversions between any bases. For text, the Binary to Text tool turns binary into readable characters, Text to Binary does the reverse, and Binary to ASCII converts binary to ASCII codes. To work with the decimal result, the Scientific Calculator is available.
Frequently Asked Questions
How do I convert binary to decimal?
Paste your binary number (only 0s and 1s) into the input box and click Convert to Decimal. The tool adds up the place value of every 1 — each position is a power of two — and shows the decimal result below the input. For example, 1010 becomes 10.
What is binary?
Binary is the base-2 number system, using only the digits 0 and 1. It is fundamental to computing because the two digits map naturally onto the two states of digital electronics: off and on. Despite using only two digits, binary can represent any number.
What is the difference between binary and decimal?
Binary is base 2, using only 0 and 1, where each position is worth a power of two (1, 2, 4, 8…). Decimal is base 10, using 0–9, where each position is worth a power of ten (1, 10, 100…). Binary is the system computers use; decimal is the everyday system humans use.
How does the binary to decimal conversion work?
It works using place values. In binary, each position represents a power of two, increasing from right to left: ones, twos, fours, eights and so on. To convert, you add up the place values wherever there is a 1; the zeros contribute nothing. The sum is the decimal value — for 1010 that is 8 + 0 + 2 + 0 = 10.
What happens if I enter a number other than 0 or 1?
The tool shows no result at all — the page reloads with an empty result area and no error message. Remove any digit other than 0 or 1, any letter, sign, decimal point, 0b prefix, comma or semicolon, and try again with only zeros and ones.
How long can the binary number be?
Results are exact up to 63 bits — the largest exact result is 9223372036854775807. From 64 bits on, the answer is shown in scientific notation and loses precision, so split longer binary into space-separated groups of under 64 bits.
Can I convert several binary numbers at once?
Yes. Separate them with single spaces — 1010 1100 gives 10 12. Do not use line breaks: they are ignored, so two lines are joined into one number. And avoid double spaces, which add a phantom 0 to the result.
Can I upload a file instead of pasting?
Yes. Click Upload File and choose a .txt file containing your binary. The tool reads the file and converts it the same way as pasted input.
Can I copy or save the result?
Yes. Copy to Clipboard copies the decimal result, and Save as TXT downloads it as a binary-to-decimal.txt file.
Is the binary to decimal converter free?
Yes, it is completely free with no account and nothing to download or install. Paste your binary, click Convert to Decimal, and copy or save the result.