hex2dec.com

Hex to Decimal Converter

Convert hexadecimal to decimal instantly. Free online tool with batch support, step-by-step explanation, and no signup required.

Result will appear here…

Hexadecimal to Decimal Conversion Examples

Hexadecimal InputDecimal Result
FF255
1A3419
0x100256
7FFF32767
DEADBEEF3735928559

How to Convert Hexadecimal to Decimal

  1. 1Identify each hex digit and its decimal value (0-9 stay the same, A=10, B=11, ..., F=15).
  2. 2Starting from the rightmost digit, multiply each digit by 16 raised to its position power (starting from 0).
  3. 3Sum all the products to get the final decimal value.
  4. 4Example: hex '2F' = 2×16¹ + F(15)×16⁰ = 32 + 15 = 47.

Frequently Asked Questions

What is hexadecimal?

Hexadecimal is a base-16 number system using digits 0-9 and letters A-F. It's commonly used in programming, memory addresses, color codes, and network addressing.

How do I convert hex to decimal manually?

Multiply each hex digit by 16 raised to its position power (starting from 0 at the right), then sum all values. For example, hex 'FF' = 15×16¹ + 15×16⁰ = 240 + 15 = 255.

What is the hex prefix?

Hexadecimal numbers are often written with a '0x' prefix (e.g., 0xFF) in programming languages like C, Python, and JavaScript. Our converter handles both with and without the 0x prefix.

Can I convert multiple hex values at once?

Yes! Enable batch mode in our converter and paste one hex value per line. All values will be converted instantly.

What is the largest hex number I can convert?

Our converter handles values up to 7FFFFFFFFFFFFFFF (hex) which equals 9,223,372,036,854,775,807 in decimal (64-bit signed integer maximum).

Related Converters