Binary is the language of computers. It uses only two digits, 0 and 1, while the decimal system we use every day uses ten digits, 0 to 9. Converting binary to decimal looks strange at first, but it follows one simple rule: every position in a binary number is worth twice as much as the one to its right.
How Binary Place Values Work
In decimal, the places are ones, tens, hundreds, and thousands. Each place is ten times the one before it. Binary works the same way, except each place is two times the one before it. Reading from right to left, the places are 1, 2, 4, 8, 16, 32, 64, and so on. Each place is a power of two: 2 to the power of 0 is 1, 2 to the power of 1 is 2, 2 to the power of 2 is 4, 2 to the power of 3 is 8, and so on.
To convert a binary number to decimal, write the place value above each digit, multiply each digit by its place value, and add up the results. Digits that are 0 add nothing, so you only add the place values where the digit is 1.
Worked Example: 1010 = 10
Take the binary number 1010. It has four digits, so the place values from left to right are 8, 4, 2, and 1.
- 1 x 8 = 8
- 0 x 4 = 0
- 1 x 2 = 2
- 0 x 1 = 0
- Add them up: 8 + 0 + 2 + 0 = 10
So 1010 in binary equals 10 in decimal.
Worked Example: 1111 = 15
Now take 1111. The place values are again 8, 4, 2, and 1, and this time every digit is 1:
- 1 x 8 = 8
- 1 x 4 = 4
- 1 x 2 = 2
- 1 x 1 = 1
- Add them up: 8 + 4 + 2 + 1 = 15
So 1111 in binary equals 15 in decimal. Notice a pattern: a binary number made of all ones is always one less than the next power of two. 1111 is 15, which is 16 – 1. 11111 is 31, which is 32 – 1.
A Longer Example: 101101 = 45
The same method works for any length. For 101101, the place values from left to right are 32, 16, 8, 4, 2, and 1.
- 1 x 32 = 32
- 0 x 16 = 0
- 1 x 8 = 8
- 1 x 4 = 4
- 0 x 2 = 0
- 1 x 1 = 1
- Add them up: 32 + 0 + 8 + 4 + 0 + 1 = 45
So 101101 in binary equals 45 in decimal.
A Shortcut: The Doubling Method
For long binary numbers, there is a faster way that avoids writing out place values. Start with 0 and work through the digits from left to right. At each step, double your running total and add the next digit. For 1010: start at 0. First digit 1: 0 x 2 + 1 = 1. Next digit 0: 1 x 2 + 0 = 2. Next digit 1: 2 x 2 + 1 = 5. Last digit 0: 5 x 2 + 0 = 10. That is the answer. Each doubling shifts the number one place to the left, which is exactly how place values work.
Going the Other Way: Decimal to Binary
To convert decimal to binary, divide by 2 again and again and write down each remainder. When you reach 0, read the remainders from bottom to top — that is your binary number. For example, 13 divided by 2 gives 6 remainder 1; 6 divided by 2 gives 3 remainder 0; 3 divided by 2 gives 1 remainder 1; 1 divided by 2 gives 0 remainder 1. Read the remainders from bottom to top: 1101. So 13 in decimal is 1101 in binary.
If you want to skip the working, our free binary converter does both directions instantly.
Why Binary Matters
Every computer, phone, and digital device stores information as binary, because a switch is either on or off — a 1 or a 0. Binary also shows up in IP addresses, file sizes, and electronics. Understanding place values here makes all of those easier to follow later.
The same place-value thinking helps with other number problems — for example, the GCF calculator can find the largest number that divides two numbers evenly.
When binary data becomes text or code, a JSON formatter can tidy it up for reading.
FAQ
What is 1010 in decimal? 10. The 1s sit in the 8 and 2 places, and 8 + 2 = 10.
What is 1111 in decimal? 15. All four places are filled: 8 + 4 + 2 + 1 = 15.
How do I convert a long binary number? Use the doubling method: start at 0, then for each digit from left to right, double your running total and add the digit.
What is binary used for? Computers store and process all data as binary, so it is the foundation of everything digital.
Convert any binary number instantly with our free binary converter.