HEX to Decimal Converter Online — Convert Base-16 to Base-10

Convert hexadecimal (hex) numbers to standard decimal values online. Handles 0x prefixes, uppercase and lowercase letters A-F.

✓ Converts hex strings (with or without 0x prefix) to base-10 numbers

✓ Supports case-insensitive input (a-f or A-F)

✓ Calculates positional weights of 16^n

✓ Instant output with 1-click clipboard copy

How It Works

  1. Enter a hexadecimal string (e.g. FF or 0x1A4).
  2. The parseInt(hex, 16) function calculates the total decimal sum.
  3. Copy the output number.

Frequently Asked Questions

What does FF mean in decimal?

FF equals (15 * 16^1) + (15 * 16^0) = 240 + 15 = 255.