Blog
Custom Print on Demand Apparel — Free Storefront for Your Business
Wild & Free Tools

Hex to Decimal Converter — Convert Hexadecimal Numbers Instantly (With Chart)

Last updated: April 20267 min readConverter Tools

To convert hex to decimal, multiply each digit by its power of 16. For example, hex 1A3 = (1 x 256) + (10 x 16) + (3 x 1) = 419. Remember: A=10, B=11, C=12, D=13, E=14, F=15. Or use our converter for instant results.

Hexadecimal shows up everywhere — CSS colors, memory addresses, MAC addresses, error codes, hash values. If you work with computers at any level, you will run into hex. This guide teaches you the conversion method, gives you a reference chart, and points you to a free tool that does the work instantly.

Hex Digit Values

Hexadecimal is base-16, which means it needs 16 digits. The first ten are familiar (0-9), and the remaining six use letters:

Hex DigitDecimal ValueBinary (4 bits)
000000
110001
220010
330011
440100
550101
660110
770111
881000
991001
A101010
B111011
C121100
D131101
E141110
F151111

Hex to Decimal Reference Chart

Key hex values every developer encounters, with their decimal equivalents:

HexDecimalWhere You See It
0x0A10Newline character (ASCII LF)
0x0D13Carriage return (ASCII CR)
0x2032Space character (ASCII)
0x4165Letter A (ASCII uppercase)
0x6197Letter a (ASCII lowercase)
0x7F127DEL character / signed byte max
0x80128Start of extended ASCII
0xFF255Max value for one byte (8 bits)
0x100256One byte overflow point
0x200512
0x4001,0241 KB boundary
0x3E81,000
0xFFFF65,535Max unsigned 16-bit value
0x1000065,536Unicode BMP boundary
0xFFFFFF16,777,215Total RGB colors (24-bit)
0x7FFFFFFF2,147,483,647Max signed 32-bit integer

The Conversion Method

Hex to decimal conversion follows the same pattern as binary to decimal, but with base 16 instead of base 2.

  1. Write out the hex number and label each digit position from right to left, starting at 0
  2. Convert any letters to their decimal values (A=10, B=11, C=12, D=13, E=14, F=15)
  3. Multiply each digit by 16 raised to its position number
  4. Add all the results together

Example 1: Convert hex 2F to decimal

Positions: digit 0 = F (15), digit 1 = 2

32 + 15 = 47. Hex 2F = decimal 47.

Example 2: Convert hex 1A3 to decimal

256 + 160 + 3 = 419. Hex 1A3 = decimal 419.

Example 3: Convert hex FF5733 to decimal

This is a CSS color code. Breaking it into RGB bytes is more practical:

As a single number: FF5733 = 16,733,491. But in practice, you convert CSS hex colors byte-by-byte into their RGB values: rgb(255, 87, 51).

Where You See Hex Every Day

Hexadecimal is not some academic oddity. If you touch code, networks, or design, you use it constantly:

Decimal to Hex — The Reverse Method

To convert decimal to hex, repeatedly divide by 16:

  1. Divide the decimal number by 16
  2. Write down the remainder (convert 10-15 to A-F)
  3. Take the quotient and divide by 16 again
  4. Repeat until the quotient is 0
  5. Read the remainders from bottom to top

Example: Convert 500 to hex

Reading bottom to top: 1F4. Decimal 500 = hex 1F4.

Hex in Web Development

The most common place non-programmers encounter hex is CSS colors. Here is how the #RRGGBB format works:

Modern CSS supports rgba() with decimal values and an alpha channel, but hex remains the most widely used format because it is compact and universally supported.

Hex in Debugging

When debugging crashes, memory corruption, or binary protocols, hex is your lens into raw data:

Convert Hex Values Instantly

Paste any hex value and get the decimal, binary, and octal equivalents instantly.

Open Number Base Converter
Launch Your Own Clothing Brand — No Inventory, No Risk