A worked example
1A (26) plus F (15) equals 29 in hex — 41 in decimal.
Frequently asked questions
Why does hex use letters A-F?
Hexadecimal is base-16, needing 16 distinct digits — after 0-9 runs out, A through F stand in for 10 through 15, so each position can still represent a single digit even past the value 9.
Where is hex actually used?
Commonly in programming and web design — color codes (#FF5733), memory addresses, and byte values are almost always written in hex, since two hex digits map cleanly onto exactly one byte (8 bits).