Conversion

Decimal to Hexadecimal Converter

Convert a decimal number to hex, binary and octal.

Parameters Live Compute
Calculated Output
Hexadecimal FF
Binary 11111111
Octal 377
Formula: repeatedly divide by 16 (or 2, 8)
Step-by-Step Breakdown
1. Values used:
2. Decimal = 255
3.
4. Hexadecimal = FF
5. Binary = 11111111
6. Octal = 377
Did this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

Convert a whole decimal number to hexadecimal.

The math behind it

Repeatedly divide by 16; the remainders (0–9, A–F) form the hex number.

Worked Example

255 → FF.

Frequently Asked Questions

Why hex?

Compactly represents binary — each hex digit = 4 bits.

Advertisement