Skip to main content
AtoolinHex to Decimal Converter
Skip to main content

Hex to Decimal Converter

Enter a hex number to see conversions

Hex to Decimal Conversion Table

HexadecimalDecimalBinary
000
111
2210
3311
44100
55101
66110
77111
881000
991001
A101010
B111011
C121100
D131101
E141110
F151111
101610000
111710001
121810010
131910011
142010100
152110101
162210110
172310111
182411000
192511001
1A2611010
1B2711011
1C2811100
1D2911101
1E3011110
1F3111111
2032100000
2133100001
2234100010
2335100011
2436100100
2537100101
2638100110
2739100111
2840101000
2941101001
2A42101010
2B43101011
2C44101100
2D45101101
2E46101110
2F47101111
3048110000
3149110001
3250110010
3351110011
3452110100
3553110101
3654110110
3755110111
3856111000
3957111001
3A58111010
3B59111011
3C60111100
3D61111101
3E62111110
3F63111111
40641000000
41651000001
42661000010
43671000011
44681000100
45691000101
46701000110
47711000111
48721001000
49731001001
4A741001010
4B751001011
4C761001100
4D771001101
4E781001110
4F791001111
50801010000
51811010001
52821010010
53831010011
54841010100
55851010101
56861010110
57871010111
58881011000
59891011001
5A901011010
5B911011011
5C921011100
5D931011101
5E941011110
5F951011111
60961100000
61971100001
62981100010
63991100011
641001100100
651011100101
661021100110
671031100111
681041101000
691051101001
6A1061101010
6B1071101011
6C1081101100
6D1091101101
6E1101101110
6F1111101111
701121110000
711131110001
721141110010
731151110011
741161110100
751171110101
761181110110
771191110111
781201111000
791211111001
7A1221111010
7B1231111011
7C1241111100
7D1251111101
7E1261111110
7F1271111111
8012810000000
8112910000001
8213010000010
8313110000011
8413210000100
8513310000101
8613410000110
8713510000111
8813610001000
8913710001001
8A13810001010
8B13910001011
8C14010001100
8D14110001101
8E14210001110
8F14310001111
9014410010000
9114510010001
9214610010010
9314710010011
9414810010100
9514910010101
9615010010110
9715110010111
9815210011000
9915310011001
9A15410011010
9B15510011011
9C15610011100
9D15710011101
9E15810011110
9F15910011111
A016010100000
A116110100001
A216210100010
A316310100011
A416410100100
A516510100101
A616610100110
A716710100111
A816810101000
A916910101001
AA17010101010
AB17110101011
AC17210101100
AD17310101101
AE17410101110
AF17510101111
B017610110000
B117710110001
B217810110010
B317910110011
B418010110100
B518110110101
B618210110110
B718310110111
B818410111000
B918510111001
BA18610111010
BB18710111011
BC18810111100
BD18910111101
BE19010111110
BF19110111111
C019211000000
C119311000001
C219411000010
C319511000011
C419611000100
C519711000101
C619811000110
C719911000111
C820011001000
C920111001001
CA20211001010
CB20311001011
CC20411001100
CD20511001101
CE20611001110
CF20711001111
D020811010000
D120911010001
D221011010010
D321111010011
D421211010100
D521311010101
D621411010110
D721511010111
D821611011000
D921711011001
DA21811011010
DB21911011011
DC22011011100
DD22111011101
DE22211011110
DF22311011111
E022411100000
E122511100001
E222611100010
E322711100011
E422811100100
E522911100101
E623011100110
E723111100111
E823211101000
E923311101001
EA23411101010
EB23511101011
EC23611101100
ED23711101101
EE23811101110
EF23911101111
F024011110000
F124111110001
F224211110010
F324311110011
F424411110100
F524511110101
F624611110110
F724711110111
F824811111000
F924911111001
FA25011111010
FB25111111011
FC25211111100
FD25311111101
FE25411111110
FF25511111111

What is Hexadecimal to Decimal Conversion?

Hexadecimal (base-16) uses digits 0–9 and letters A–F, while decimal (base-10) is the standard number system for everyday counting. Converting hex to decimal means translating a base-16 value into its base-10 equivalent using positional notation. This conversion is essential in programming for reading memory addresses, debugging binary data, decoding hex color codes like #FF5733 into RGB values, and interpreting MAC addresses. The MDN Hexadecimal reference covers the bit-grouping mechanics in depth. Each hex digit maps to exactly 4 binary bits, making hex a compact way to represent binary data.

How to Convert Hex to Decimal

Multiply each hexadecimal digit by 16 raised to the power of its position, counting from 0 on the right, then sum all products. Replace letters with decimal equivalents: A=10, B=11, C=12, D=13, E=14, F=15.

Example: Convert 2AF to decimal: write each digit with its position — 2 is position 2, A (10) is position 1, F (15) is position 0. Compute: (2 × 16²) + (10 × 16¹) + (15 × 16⁰) = 512 + 160 + 15 = 687. The atoolin Hex to Decimal Converter shows each multiplication step interactively so you can verify the work.

Common Use Cases

Programming & debugging: Memory addresses and register values appear in hex — 0x7FFFFFFF is 2,147,483,647, the max 32-bit signed integer. Developers convert these to decimal for readability.

Web development: Hex CSS color codes like #FF5733 split into channel pairs: FF=255 (red), 57=87 (green), 33=51 (blue).

Networking: MAC addresses and IPv6 headers use hex notation. Engineers decode byte-by-byte values into decimal for configuration and troubleshooting.

Cryptography: Hash digests like SHA-256 are displayed in hex — each pair of hex characters represents one byte.

Frequently Asked Questions

How do you convert hex to decimal?
Multiply each hexadecimal digit by 16 raised to the power of its position (starting from 0 on the right), then sum all the products. For example, to convert 1A3 to decimal: (1 × 16²) + (10 × 16¹) + (3 × 16⁰) = 256 + 160 + 3 = 419. The Hex to Decimal Converter on atoolin performs this calculation automatically.
What is FF in decimal?
The hexadecimal value FF equals 255 in decimal. This is because F = 15 in decimal, so FF = (15 × 16) + (15 × 1) = 240 + 15 = 255. FF is the maximum value for a single byte and appears frequently in hex color codes (e.g., #FFFFFF for white). Use the Hex to Decimal Converter on atoolin to verify any hex value.
What is the difference between hexadecimal and decimal?
Decimal (base-10) uses digits 0 through 9 and is the standard number system for everyday counting. Hexadecimal (base-16) uses digits 0-9 plus letters A-F (where A=10, B=11, C=12, D=13, E=14, F=15). Hexadecimal is widely used in computing because each hex digit maps exactly to 4 binary bits, making it a compact way to represent binary data.
How do you convert hex color codes to decimal?
A hex color code like #FF5733 contains three pairs of hex digits representing red, green, and blue channels. Convert each pair separately: FF = 255 (red), 57 = 87 (green), 33 = 51 (blue). The result is RGB(255, 87, 51). The Hex to Decimal Converter on atoolin can convert each hex pair to its decimal value individually.
Why is hexadecimal used in computing?
Hexadecimal is used in computing because it provides a compact, human-readable representation of binary data. One hex digit represents exactly 4 bits, so a byte (8 bits) can be written as just 2 hex digits instead of 8 binary digits. This makes hex ideal for memory addresses, MAC addresses, color codes, and debugging binary data.
Is the Hex to Decimal Converter free?
Yes. The Hex to Decimal Converter on atoolin is completely free to use. No account, no download, and no install required. It works directly in your browser on any device.

All processing happens in your browser. No data is sent to any server.