Decimal to Hexadecimal
Result
Hexadecimal 0xFF
Binary 0b11111111
Octal 0o377
Convert a non-negative integer to hexadecimal.
Formula
Repeated division by 16; collect remainders (0–9→0–9, 10–15→A–F) in reverse
- 255 = 0xFF; 4096 = 0x1000.
Decimal to Hexadecimal Example
Inputs
- Decimal Integer: 255
255 → 0xFF → 0b11111111 → 0o377
Frequently asked questions
How do I use the Decimal to Hexadecimal?
Enter the value in the input field and the result updates immediately.
How accurate is this converter?
Uses internationally recognised conversion factors. Results are rounded to the displayed decimal places.
Can I verify this manually?
Yes — apply the formula shown above step by step.