Decimal to Binary Converter
Converts a base-10 number to binary, octal and hex.
Result
- Binary
- 10011100
- Octal
- 234
- Hexadecimal
- 9C
How to use the decimal to binary converter
- Enter the decimal number.
- The results update as you type, or press Calculate.
- Read the binary first, then the supporting figures below it.
Formula
Repeatedly divide by the base and read the remainders upwards.
Worked example
For example, with these inputs:
- Decimal number: 156
the calculator returns:
- Binary: 10011100
- Octal: 234
- Hexadecimal: 9C
Background
A quick mental estimate before calculating is a powerful check. If a room's floor area comes out at 4,000 square metres or a percentage comes out above 100% when it should not, you know to look again.
Rounding is a common source of small errors. Keep full precision during intermediate steps and round only the final answer to the number of decimal places or significant figures the question asks for.
Frequently asked questions
How does the decimal to binary converter work?
It applies this formula: Repeatedly divide by the base and read the remainders upwards.
Can I use any units?
Yes, as long as every input uses the same unit. The answer will be in that unit (squared for areas, cubed for volumes).