Hex Calculator
Convert between hexadecimal and decimal integers.
Hex Calculator helps you convert between hexadecimal and decimal integers. Enter value, review the breakdown, and use the guidance below to understand what the number means — and what it does not. When to use Hex Calculator Hex Calculator is for arithmetic, algebra, geometry, and number tools. Convert between hexadecimal and decimal integers. Turn a hexadecimal (base 16) number such as 1A3F into an ordinary decimal number, or back again. Useful for colour codes, memory addresses and computing homework. How Hex is calculated Pick a direction under Convert, then type a Hex number (digits 0–9 and letters A–F, where A = 10 and F = 15) or a Whole number. Each hex place is worth 16 times the place to its right (1, 16, 256, 4,096…), so decimal = the sum of each digit × its place value. A leading “0x” is allowed and ignored. Binary and octal versions are shown too; only whole numbers from 0 up to 9,007,199,254,740,991 (1FFFFFFFFFFFFF in hex, about 9 quadrillion) are accepted. Hex place values: Decimal = sum of (digit × 16^position), counting positions from 0 on the right. Hex digits A–F stand for 10–15. Each place is worth 16 times the place to its right.