Hex Calculator
Convert a hexadecimal value to decimal, binary and octal.
Inputs
Saved Scenarios
— select 2+ to compare| Metric | |
|---|---|
Decimal
202
Binary
11001010
Octal
312
Spark says
Formula
- Hex
- — Base-16 value using digits 0-9 and A-F
What is the Hex Calculator?
This is the reverse of decimal-to-hex conversion — given a hexadecimal value (as seen in color codes, memory addresses, or byte dumps), it converts back to decimal, binary and octal.
How to use it
- 1 Enter a hexadecimal value, with or without a leading '0x'.
Worked examples
Frequently asked questions
Does the hex value need a 0x prefix?
No — this calculator accepts hex with or without the '0x' prefix, so both 'CA' and '0xCA' work the same.