Hex to Decimal Converter

Type a hexadecimal number and get its decimal value, plus binary and octal.

Decimal
Hex
Binary
Octal

Click a bit to flip it.

How to convert hex to decimal

Hexadecimal (base 16) uses the digits 0-9 and the letters A-F, where A is 10 and F is 15. Each place is worth a power of 16, so the rightmost digit is worth 1, the next 16, then 256, and so on.

Worked example

Convert 1A3F: 1 × 4096 + 10 × 256 + 3 × 16 + 15 = 4096 + 2560 + 48 + 15 = 6719.

Quick facts

Other conversions