How to Convert Binary, Decimal, and Hex Without a Chart
Why Three Number Systems?
Most people count in decimal, which is base ten. Computers, however, work with binary, which is base two. Programmers and engineers also use hexadecimal, which is base sixteen, because it is a compact way to write binary values. If you move between these systems, you will see the same quantity written in three different ways. Learning to convert without a chart is not about memorizing every combination. It is about understanding place value, which is the same idea in every base. Once you understand place value, you can convert small and medium numbers by hand and check larger ones with a calculator or a converter tool.
This guide explains what each base means, how place values work, how to convert in each direction, and how to use a worked example that connects all three systems: binary 1010 equals decimal 10 equals hex A. It also explains why computers use binary, why hex is useful as shorthand, and where hand conversion has limits. The goal is a method you can repeat, not a chart you must remember.
What Base Means
The base of a number system tells you how many distinct symbols it uses and how much each position is worth. Decimal uses ten symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. Binary uses two symbols: 0 and 1. Hexadecimal uses sixteen symbols: 0 to 9 for values zero to nine, and A to F for values ten to fifteen. In each system, the rightmost position is the ones place. Moving one position to the left multiplies the place value by the base.
In decimal, the place values from right to left are 1, 10, 100, 1000, and so on, because each step multiplies by ten. In binary, the place values are 1, 2, 4, 8, 16, 32, and so on, because each step multiplies by two. In hex, the place values are 1, 16, 256, 4096, and so on, because each step multiplies by sixteen. A digit in a higher position is worth more than the same digit in a lower position. That is why 101 in decimal is one hundred and one, while 101 in binary is five, and 101 in hex is 257. The symbols look similar, but the base changes what they mean.
A useful habit is to label the base when there could be confusion. You can write a small subscript, such as 1010 with base two, or write binary 1010, decimal 10, and hex A in words. In code and documentation, prefixes are also common, such as 0b for binary and 0x for hex, but those prefixes are conventions of particular tools rather than part of the number itself.
Place Values in Binary
Binary place values grow quickly but predictably. From right to left, the first eight places are 1, 2, 4, 8, 16, 32, 64, and 128. To read a binary number, add the place values where the digit is 1 and ignore the places where the digit is 0. For example, binary 1010 has a 1 in the eights place, a 0 in the fours place, a 1 in the twos place, and a 0 in the ones place. Adding the active places gives 8 plus 2, which is 10 in decimal.
Another example is binary 1101. From right to left, the digits are 1, 0, 1, 1. The active places are 8, 4, and 1. Adding them gives 8 plus 4 plus 1, which is 13. Binary 10000 has a 1 only in the sixteens place, so it equals 16. Binary 1111 has active places 8, 4, 2, and 1, so it equals 15. This method works for any length, though longer numbers take more care. Writing the place values above the digits before adding is a simple way to reduce errors.
Binary numbers can look long even for modest values. Decimal 100 is binary 1100100. That length is one reason hex is used as shorthand, as explained later. It is also why leading zeros are sometimes added to binary numbers to make them a fixed length, such as writing 00001010 instead of 1010. Leading zeros do not change the value, just as 010 in decimal still means ten.
How to Convert Binary to Decimal
To convert binary to decimal, list the place values from right to left, starting at 1 and doubling each time. Write the binary digits under those place values. Multiply each digit by its place value. Add the results. The sum is the decimal value.
Take binary 101101 as an example. From right to left, the place values are 1, 2, 4, 8, 16, and 32. The digits from right to left are 1, 0, 1, 1, 0, and 1. The active places are 32, 8, 4, and 1. Adding them gives 32 plus 8 plus 4 plus 1, which is 45. So binary 101101 equals decimal 45. Checking with a calculator or by converting back can catch a missed place value.
How to Convert Decimal to Binary
To convert decimal to binary, use repeated division by two. Divide the number by two. Write down the remainder, which will be 0 or 1. Keep dividing the whole-number part by two and recording each remainder. When the whole-number part reaches zero, stop. Read the remainders from last to first. That sequence is the binary number.
Take decimal 10 as an example. Ten divided by two is five with remainder zero. Five divided by two is two with remainder one. Two divided by two is one with remainder zero. One divided by two is zero with remainder one. Reading the remainders from last to first gives 1, 0, 1, 0, or 1010. So decimal 10 becomes binary 1010. This method is reliable because each remainder records whether the current place value is present, and the division moves you to the next place.
Another example is decimal 13. Thirteen divided by two is six with remainder one. Six divided by two is three with remainder zero. Three divided by two is one with remainder one. One divided by two is zero with remainder one. Reading remainders from last to first gives 1101. So decimal 13 becomes binary 1101. You can check by adding place values: 8 plus 4 plus 1 equals 13.
How to Convert Binary to Hex
Binary to hex is easier than it looks because sixteen is a power of two. Four binary digits make one hex digit. To convert, group the binary digits into groups of four, starting from the right. If the leftmost group has fewer than four digits, add leading zeros to fill it. Convert each group of four to a single hex digit using place values 8, 4, 2, and 1 within the group. A group value from 10 to 15 becomes A to F.
Take binary 1010. It is already one group of four. The active places are 8 and 2, which add to 10. Ten in hex is A. So binary 1010 becomes hex A. Take binary 11111111. Split it into two groups: 1111 and 1111. Each group is 8 plus 4 plus 2 plus 1, which is 15, or F. So the result is FF. That is why eight binary digits, which are often called a byte, can be written as two hex digits.
Take a longer example: binary 10101100. Split from the right into 1010 and 1100. The first group is 10, or A. The second group is 8 plus 4, which is 12, or C. So the result is AC. Grouping from the right matters. If you group from the left, a longer number can split unevenly in the wrong place and give a different answer.
How to Convert Hex to Binary and Hex to Decimal
To convert hex to binary, reverse the grouping method. Convert each hex digit to a group of four binary digits. Use place values 8, 4, 2, and 1 within each group. Keep leading zeros inside each group so that every hex digit becomes exactly four binary digits. Then join the groups. For example, hex A becomes 1010. Hex C becomes 1100. Hex AC becomes 10101100. Hex 2F becomes 00101111, because 2 is 0010 and F is 1111. You can drop leading zeros at the very front, so 00101111 can also be written as 101111, but keeping them during conversion prevents grouping errors.
To convert hex to decimal, use hex place values. Multiply each hex digit by its place value and add the results. The place values from right to left are 1, 16, 256, and so on. For example, hex A has one digit, so it is 10 times 1, which is 10. Hex 2F has two digits: 2 times 16 plus 15 times 1, which is 32 plus 15, or 47. Hex 101 has three digits: 1 times 256 plus 0 times 16 plus 1 times 1, which is 257. Converting through decimal is useful, but converting hex to binary by groups is often faster when you only need those two forms.
To convert decimal to hex, use repeated division by sixteen, similar to the division-by-two method. Divide by sixteen, record the remainder, and repeat with the whole-number part until it reaches zero. Convert remainders from 10 to 15 to A to F. Read the remainders from last to first. For example, decimal 47 divided by sixteen is two with remainder fifteen. Fifteen becomes F. Two divided by sixteen is zero with remainder two. Reading from last to first gives 2F. So decimal 47 becomes hex 2F.
Worked Example: 1010 Equals 10 Equals A
Now let us tie all three systems together with one number. Start with binary 1010. The place values from right to left are 1, 2, 4, and 8. The digits are 0, 1, 0, and 1 from right to left. The active places are 8 and 2. Adding them gives 10. So binary 1010 equals decimal 10.
Next, convert decimal 10 to hex. Ten divided by sixteen is zero with remainder ten. Ten becomes A. So decimal 10 equals hex A. Alternatively, convert binary 1010 directly to hex by grouping. One group of four gives 8 plus 2, which is 10, or A. All three paths agree: binary 1010, decimal 10, and hex A describe the same quantity.
You can test the chain in reverse. Hex A becomes binary 1010 because A is ten, which is 8 plus 2. Decimal 10 becomes binary 1010 by repeated division by two, as shown earlier. When all directions give the same result, you can be more confident that the conversion is correct. This worked example is a good one to remember because it is short, easy to check, and shows how the three systems line up.
Why Computers Use Binary
Computers use binary because their basic building blocks have two stable states. A switch can be on or off. A voltage can be high or low. A magnetic region can point in one of two directions. Binary matches that physical reality. It lets hardware represent information with simple, reliable signals. More complex values are built from many binary digits working together. Text, images, sound, and program instructions are all stored as patterns of bits, which are binary digits, even though people usually work with higher-level tools that hide those patterns.
Decimal is natural for people because people learn to count with ten fingers and use base ten in everyday life. Binary is natural for hardware because it matches two-state components. Hex is a human convenience. It lets people read and write long binary patterns more compactly without changing what the hardware stores. That is why you see hex in color codes, memory addresses, error codes, and many programming contexts. It is not that the computer stores hex instead of binary. It is that people use hex as shorthand for binary.
Understanding this helps you avoid a common confusion. A file or a color does not become a different thing when you write it in another base. The underlying quantity or pattern stays the same. Only the notation changes. That is why converting correctly matters. A single misplaced digit can change the value and produce a different color, address, or result.
Limitations
Hand conversion is practical for short numbers, but it becomes slow and error-prone for long numbers. A single missed place value or a grouping error can change the result, especially in long binary strings. For long values, use a calculator, a spreadsheet, or a trusted converter, and check the result by converting back. Negative numbers, fractions, and very large numbers also need extra rules that are beyond the basic place-value method in this guide. Different tools may represent them in different ways, such as two complement for negative integers or floating-point formats for fractions.
Notation can also cause confusion. Without a label or prefix, 101 could mean decimal one hundred and one, binary five, or hex two hundred and fifty-seven. Always label the base when the context is not clear. Also remember that converting a number does not explain what the number means. A hex color code, a memory address, and a count can look similar but need different interpretation. The conversion gives you the same value in another base, not the meaning of that value.
Frequently Asked Questions
What is 1010 in decimal and hex? Binary 1010 equals decimal 10 and hex A. The binary places 8 and 2 add to 10, and decimal 10 becomes hex A because ten in hex is written as A.
How do I convert binary to hex without a chart? Group the binary digits into groups of four from the right. Convert each group using place values 8, 4, 2, and 1. A group value from 10 to 15 becomes A to F. Join the hex digits in order.
How do I convert decimal to binary without a chart? Divide by two repeatedly, record each remainder, and read the remainders from last to first. Each remainder is one binary digit. This method works for any whole number, though longer numbers take more steps.
Why do programmers use hex if computers use binary? Hex is compact shorthand for binary. One hex digit represents four binary digits, so long binary patterns become shorter and easier to read. The hardware still works with binary patterns underneath.
Conclusion
Binary, decimal, and hex are three notations for the same idea: place value. Decimal multiplies each place by ten, binary by two, and hex by sixteen. To convert binary to decimal, add the active place values. To convert decimal to binary, divide by two and read the remainders backward. To move between binary and hex, group by four digits. With the worked example of 1010 equals 10 equals A, you have a simple anchor you can use to check your method. Practice with small numbers first, label the base, and use a tool for long values where accuracy matters.
Try a Tool
Free, in your browser — no sign-up.
Related Articles
How to Calculate an IPv4 Subnet (Without Memorizing Tables)
Learn how to calculate an IPv4 subnet without memorizing tables, using 192.168.1.0/24 to find the network, broadcast, and usable addresses.
Read article →How to Format Numbers for Readability (Without Changing the Value)
Format 1234567.891 as 1,234,567.89 without changing the value. Learn thousands separators, decimals, rounding, and why you must not round money carelessly.
Read article →What Is a Matrix Calculator (and When Do You Need One)
What is a matrix calculator and when do you need one? Learn addition and multiplication, with a worked 2x2 example checked by…
Read article →