Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Hexadecimal to Decimal

Hexadecimal to Decimal

Convert hexadecimal numbers to decimal. Essential for web developers working with colors, programmers reading memory addresses, and IT professionals.

What is the Hexadecimal to Decimal Converter?

This tool converts hexadecimal numbers (base-16) to decimal numbers (base-10), making hex values human-readable.

How it works: each hex digit holds 4 bits, where A=10, B=11, C=12, D=13, E=14, F=15. Multiply each digit by its power of 16 and add.

Why Convert Hex to Decimal?

Web Development

Understand color codes — #FFFFFF equals 16,777,215.

Programming

Read memory addresses and pointers in everyday numbers.

Networking

Interpret MAC addresses and IPv6 segments.

Digital Forensics

Analyze binary files and raw byte values.

The Conversion Method

Multiply each hex digit by its place value (a power of 16) and add the results together.

Example: 2A = 2×16 + 10×1 = 32 + 10 = 42.

How to Use

1

Enter the Hex Number

Use the digits 0–9 and the letters A–F. Uppercase and lowercase are both accepted.

2

View the Decimal Result

The conversion is instant and appears in the second field as you type.

3

Copy the Value

Copy the decimal value for calculations or your code.

Bidirectional: both fields are editable. Type a decimal value in the result field to convert it back to hexadecimal, or use the swap button to flip the direction.

Common Hex Values

HexDecimalMeaning
FF255maximum byte value
100256one byte overflow
FFFF65,535maximum 16-bit value
FFFFFF16,777,215white color

Frequently Asked Questions

What do the letters A to F mean?

They represent the values 10 to 15: A=10, B=11, C=12, D=13, E=14, F=15. Hexadecimal needs these extra symbols because it has 16 digits.

Is the input case sensitive?

No. Both uppercase (FF) and lowercase (ff) are accepted and produce the same decimal result.

Why does FF equal 255?

FF = 15×16 + 15 = 240 + 15 = 255. It is the largest value a single 8-bit byte can store.

How do color codes relate to decimal?

A color like #FF0000 is three hex pairs for red, green, and blue. Convert each pair to decimal to get the RGB channel values — FF, 00, 00 becomes 255, 0, 0.

0123456789ABCDEFabcdef
0x
0123456789

Common Conversions

A = 10
F = 15
10 = 16
FF = 255
100 = 256
FFFF = 65535

Hexadecimal (Base-16)

Uses 0-9 and A-F. Compact way to represent binary data. Common in colors (#FF0000), memory addresses, and MAC addresses.

Decimal (Base-10)

Standard human-readable number system. Each digit position represents a power of 10.

Enter hex digits (0-9 and A-F)
FF in hex = 255 in decimal
Common in CSS colors and memory addresses
Letters A-F represent values 10-15
Want to learn more? Read documentation →
1/5
Start typing to search...
Searching...
No results found
Try searching with different keywords