Hexadecimal to Decimal Converter

Convert between hexadecimal (base-16) and decimal (base-10) numbers

How to Convert Hexadecimal to Decimal

  1. Enter a hexadecimal number (0-9, A-F)
  2. Click "Convert to Decimal"
  3. View the decimal equivalent
  4. Or enter a decimal number to convert to hexadecimal

Hexadecimal Number System Basics

Hexadecimal is a base-16 number system using digits 0-9 and letters A-F (where A=10, B=11, ..., F=15). Each digit represents a power of 16.

Common Hexadecimal Conversions

0x1

= 1

0xA

= 10

0x10

= 16

0xFF

= 255

0x100

= 256

0x3E8

= 1000

Practical Applications

  • Computer programming and memory addressing
  • Digital electronics and microcontroller programming
  • Web design (color codes)
  • Debugging and low-level programming
  • Network protocol analysis

Conversion Formula

decimal = d0×160 + d1×161 + d2×162 + ...

Where dn is the hex digit at position n (A=10, B=11, ..., F=15)

Hexadecimal Characteristics

  • Compact representation of binary data (1 hex digit = 4 bits)
  • Commonly used in memory addresses and machine code
  • Base-16 number system
  • Prefix often shown as "0x" in programming languages