About the Decimal Converter
Convert a decimal number to binary, hexadecimal, octal or any base from 2 to 36.
Also known as: decimal to binary, decimal to hex, base converter, number base converter.
How to use this calculator
- Enter decimal number, convert to base.
- The result updates instantly as you type — press Calculate (or Enter) at any time.
- Review the breakdown shown under the main result.
- Use Copy result or Share to save the answer or send a link with your inputs.
Formula
Repeatedly divide by the target base and read the remainders in reverse
Worked example
Using the values pre-filled in the calculator above:
- Decimal number: 255
- Convert to base = 16
the calculator returns:
- In base 16: FF
- Binary: 11111111
- Octal: 377
- Hexadecimal: FF