Skip to content
Calixo

Hex Calculator

Convert a hexadecimal value to decimal, binary and octal.

Inputs

Saved Scenarios

— select 2+ to compare

Decimal

202

Binary

11001010

Octal

312

Spark says

Formula

HexBase 10 (decimal), Base 2 (binary), Base 8 (octal)Hex \rightarrow Base\ 10\ (decimal),\ Base\ 2\ (binary),\ Base\ 8\ (octal)
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. 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.