Hex to Decimal Conversion


This converter allows you to convert hexadecimal (base-16) values into decimal (base-10) numbers, and vice versa.

How to Use This Converter

  • Enter a hexadecimal number like 1A3 to convert it to decimal
  • Or input a decimal number to see its hex equivalent

Understanding the Conversion

Hexadecimal is a base-16 system, which means it uses 16 symbols: 0-9 and A-F. Each digit represents a power of 16.

To convert from hex to decimal, multiply each digit by 16 raised to the power of its position (right to left, starting at 0).

Example: Convert 1A316 to decimal:

  • 1 × 16² = 256
  • A × 16¹ = 10 × 16 = 160
  • 3 × 16⁰ = 3

Result: 256 + 160 + 3 = 419

Hex to Decimal Table (0-15)

HexadecimalDecimal
00
11
22
33
44
55
66
77
88
99
A10
B11
C12
D13
E14
F15

Applications of Hex to Decimal

Hexadecimal is frequently used in:

  • Programming and debugging (memory addresses, error codes)
  • Color codes in HTML/CSS (e.g., #FF5733)
  • Data encoding and machine-level computation