Hex to Decimal Converter

26

Understanding Hex to Decimal Conversion

Hexadecimal (hex) is a base-16 number system commonly used in computing and digital systems. It uses 16 digits:

  • 0-9: Representing values 0 to 9
  • A-F: Representing values 10 to 15

Conversion Formula

For a hex number with digits d₁d₂...dₙ:

decimal = d₁ × 16ⁿ⁻¹ + d₂ × 16ⁿ⁻² + ... + dₙ × 16⁰