Answer

How to convert hexadecimal to decimal

Convert hexadecimal numbers to decimal (and binary, octal) instantly in your browser.

Hexadecimal is base-16, so each digit is worth 16 times the one to its right. To convert to decimal, multiply each digit by its place value and add them up — for example, hex 1A4 = 1×256 + 10×16 + 4 = 420. A number-base converter does this instantly.

Input
0x1A4
Output
420

A=10, B=11, … F=15. So 1A4₁₆ = 256 + 160 + 4 = 420₁₀.

Open the Number Base → Free · runs in your browser · nothing uploaded

Steps

  1. Open the Number Base tool and enter your hex value (with or without the 0x prefix).
  2. Read the decimal equivalent — and the binary and octal forms alongside it.
  3. Convert the other direction by entering a decimal number to get its hex.
  4. Large values are handled with arbitrary precision, so they stay exact.

Frequently asked questions

What does the 0x prefix mean?
"0x" is a conventional marker that the digits following it are hexadecimal (base-16). It is not part of the value — 0xFF and FF both mean 255 in decimal.