Skip to content

Hex to decimal converter

Enter a hexadecimal number and get its decimal value, with each digit's place value (a power of 16) worked out step by step.

  • Free, no limits
  • No sign-up
Everything happens in your browser; nothing is uploaded to a server.
  • ✓ Free
  • ✓ No sign-up
  • ✓ Nothing uploaded

Next step

What to do next

How to use it

  1. Type a hex number using 0–9 and A–F (0x prefix optional).
  2. Read the decimal result.
  3. Follow the place value table to see the working.
  4. Copy the result or reverse the conversion.
Try it now

How to convert hex to decimal

Hexadecimal (base 16) uses the digits 0–9 and the letters A–F for values 10–15. Each position is worth a power of 16: 1, 16, 256, 4,096, 65,536 and so on from the right. Multiply each digit by its place value and add.

Example: 2F₁₆

  • 2 × 16 = 32
  • F (= 15) × 1 = 15
  • 32 + 15 = 47

Example: 1A3₁₆ = 1 × 256 + 10 × 16 + 3 × 1 = 256 + 160 + 3 = 419

HexABCDEF
Decimal101112131415

The converter shows a row for every digit, notes the decimal value of each letter, and adds them up exactly, even for long values such as memory addresses or 64-bit IDs. Letters can be upper or lower case, and a 0x prefix is ignored.

Hex is common in programming because two hex digits describe exactly one byte: 00 to FF is 0 to 255. Web colors like #FF8800 are three such bytes. For the binary form of a hex value, use hex to binary.

Frequently asked questions

What is FF in decimal?
What is 0x10 in decimal?
Is hex case-sensitive?

No. 2f and 2F are the same value.

Last updated: November 12, 2026

Recommended

Similar tools

If Hex to decimal helped, you may need these too.

See all in category →

People also use