Calculator Uni

Hex Calculator

Convert and do arithmetic in hexadecimal.

Convert a number

Hexadecimal

1F4

Decimal

500

Binary

111110100

Octal

764

Sixteen symbols

Hex extends digits with A–F for 10–15; each place is a power of 16, so 1F4₁₆ = 256 + 240 + 4 = 500. Because 16 = 2⁴, hex ↔ binary conversion is digit-by-digit: F = 1111, 4 = 0100.

Where you meet hex

Color codes (#1A5B4B), memory addresses, MAC addresses, and hash digests are all hex — compact enough for humans, trivially convertible for machines. '0x' is the programmer's prefix marking a hex literal.

Related calculators