Decimal To Binary
Convert decimal numbers to binary instantly, turning base 10 into base 2. No signup. Ideal for students, programmers and anyone learning or working with binary.
Share on Social Media:
This decimal to binary converter turns decimal numbers into their binary equivalents instantly, directly in your browser. Enter a decimal number and see it expressed as binary, in zeros and ones. No account, no install, so students, programmers and anyone learning binary can convert on any device in seconds.
How to Convert Decimal to Binary Step by Step
- Enter the decimal number. Type the decimal number, an ordinary base ten number, that you want to convert into binary, into the input field.
- Convert to binary. The tool converts the decimal number to binary, expressing the same value using only the digits zero and one, in base two.
- Read the binary result. The binary equivalent appears, made up of zeros and ones, representing the same value as your decimal number in the binary system.
- Note the length. Binary representations are longer than decimal, since binary uses only two digits, so even a modest decimal number can become a longer string of zeros and ones.
- Use the result. Apply the binary value in your work, study, or understanding, having translated the everyday number into the binary system computers use.

What Decimal and Binary Are
Decimal is the base ten number system we use every day, with ten digits from zero to nine. Binary is the base two system, using only two digits, zero and one. Converting a decimal number to binary expresses the same value using only zeros and ones, which is the form computers use at their lowest level. This conversion is fundamental to understanding how the numbers we use relate to the binary computers work in.
The conversion works by expressing the decimal value in terms of powers of two rather than powers of ten. Where decimal positions are worth ones, tens and hundreds, binary positions are worth ones, twos, fours, eights and so on. The converter works out which powers of two add up to the decimal value, placing a one in each corresponding position and a zero elsewhere, producing the binary representation of the number.
Because binary uses only two digits, its representations are longer than the equivalent decimal. A number that is short in decimal can become a considerably longer string of zeros and ones in binary, since each binary digit carries less information than a decimal digit. This is a natural consequence of the smaller base, and is why binary numbers, while fundamental to computers, are unwieldy for humans to read directly, hence the use of shorthands like hexadecimal.
Converting decimal to binary is fundamental in computing and a common part of learning how computers work. Because computers operate in binary at their lowest level, understanding how an everyday decimal number is represented in binary illuminates how data is stored and processed. It is a basic exercise for students of computing and a routine task for programmers, and a converter makes it instant and reliable for any decimal number.
Decimal Versus Binary Number Systems
| Aspect | Decimal | Binary |
|---|---|---|
| Base | Base ten | Base two |
| Digits | 0 to 9 | 0 and 1 only |
| Place values | Powers of ten | Powers of two |
| Length | Shorter | Longer for the same value |
Who Converts Decimal to Binary

Pro Tips for Understanding Binary
Common Decimal to Binary Mistakes to Avoid
Related Tools You May Need Next
For the reverse, our Binary to Decimal tool converts binary back to decimal. For a compact form, Decimal to Hex and Binary to Hex help, and the Base Converter handles any base.

Frequently Asked Questions
How do I convert decimal to binary?
Enter the decimal number, an ordinary base ten number, and the tool converts it to binary, expressing the same value using only the digits zero and one. It works out which powers of two add up to your decimal value, placing a one in each corresponding position and a zero elsewhere, producing the binary representation. The result, made of zeros and ones, appears instantly. Since binary uses only two digits, the result is longer than the decimal, which is normal, and the converter handles the conversion reliably for any decimal number.
What is binary?
Binary is the base two number system, using only two digits, zero and one, in contrast to the everyday decimal system, which is base ten and uses ten digits from zero to nine. Despite using only two digits, binary can represent any number. It is the fundamental language of computers, because the two binary digits map naturally onto the two states, off and on, that underlie all digital electronics. This is why computers operate in binary at their lowest level, and why converting decimal to binary illuminates how computers represent numbers.
What is the difference between decimal and binary?
Decimal is base ten, using digits from zero to nine, where each position represents a power of ten, so the place values are ones, tens, hundreds and so on. Binary is base two, using only the digits zero and one, where each position represents a power of two, so the place values are ones, twos, fours, eights and so on. Both can represent any number, but decimal is the everyday human system, while binary is what computers use at their lowest level. Binary representations are longer than decimal, since binary uses only two digits.
Why is the binary result longer than the decimal?
Because binary uses only two digits, zero and one, each binary digit carries less information than a decimal digit, which has ten possible values. So representing a given value in binary takes more digits than in decimal. A number that is short in decimal can become a considerably longer string of zeros and ones in binary. This is a natural consequence of the smaller base and is completely normal. It is also why compact shorthands like hexadecimal are used in computing to represent binary values more manageably for humans to read.
How does the decimal to binary conversion work?
It works by expressing the decimal value in terms of powers of two rather than powers of ten. In binary, each position represents a power of two: ones, twos, fours, eights and so on. The conversion finds which of these powers of two add up to your decimal value, placing a one in each position whose power is used and a zero elsewhere. The resulting pattern of zeros and ones is the binary representation. The converter performs this correctly for any decimal number, saving you from working out the powers of two by hand.
What is decimal to binary conversion used for?
It is fundamental in computing and a common part of learning how computers work. Because computers operate in binary at their lowest level, converting an everyday decimal number to binary illuminates how data is stored and processed. It is a basic exercise for students of computing and a routine task for programmers and those working with digital electronics, who sometimes need to work with the binary representation of values. So the conversion serves both education, helping people understand the binary basis of computing, and practical work with binary in programming and hardware.
Can I convert the binary result to hexadecimal?
Yes, if the binary is unwieldy, you can convert it to hexadecimal for a more compact form, using a binary to hex converter, or convert the original decimal to hex directly with a decimal to hex converter. Because binary and hexadecimal relate neatly, with each hex digit corresponding to a group of binary digits, hex provides a compact, readable shorthand for long binary numbers. So you can convert decimal to binary, and then to hex, or go from decimal to hex directly, using the appropriate converters to get whichever representation your work requires.
Is the decimal to binary converter free?
Yes, it is completely free with no account and no usage limit. You can convert as many decimal numbers to binary as you like, as often as you like, at no cost. It runs entirely in your browser on any device, so there is nothing to download or install, and the binary equivalent appears instantly whenever you enter a decimal number, helping you learn and work with binary, the system computers use at their lowest level.