0xCONVERTER-HEX

Guide

What Do A–F Mean in Hexadecimal?

Six letters standing in for six numbers — why they exist and what each is worth.

The direct answer

LetterValueIn binary
A101010
B111011
C121100
D131101
E141110
F151111

They are digits, not abbreviations. A means the quantity ten in the same way 7 means the quantity seven — there is nothing more to decode.

Why letters were needed at all

A base-16 system needs sixteen distinct single symbols, one per value from zero to fifteen. The decimal system supplies ten. Six more had to come from somewhere.

Using 10 for ten would be fatal, because in hex 10 already means sixteen — one full group of the base. Every value below the base needs its own single character, so new symbols were required. The first six letters were already ordered, already on every keyboard and visually distinct from digits, which made them the obvious choice.

The alternative that was tried

Early computing used other schemes, including u v w x y z and even a set of invented glyphs. A to F won because it needed no new typefaces and no explanation to anyone who already knew the alphabet.

Memorising them

Two anchors and a count cover all six.

  1. A is 10. The letters begin exactly where decimal digits stop.
  2. F is 15. The last letter is the last value before rollover — and in binary it is all four bits set.
  3. Count between them. B, C, D, E fill in 11, 12, 13, 14 in alphabetical order.

F is worth learning first. It appears constantly as a full nibble, in masks like 0F and FF, and knowing it is 15 makes most byte values readable.

Where the letters show up

You seeIt means
FFEvery bit in a byte set — 255
0FThe low four bits only — 15
F0The high four bits only — 240
#FFFFFFWhite — all three color channels at maximum
#FF0000Pure red — one channel full, two empty
7F127 — the largest signed byte
DEADBEEFA real number, used as a memory marker

The mistakes the letters cause

  • Reading A as "the letter A". It is the digit ten. In A0 it contributes 10 × 16, not a letter.
  • Assuming case matters. ff and FF are the same value. Case is a formatting convention only.
  • Using G or beyond. Hex stops at F. A G in what looks like hex means the value is not hex, or a character has been corrupted.
  • Confusing 0 and O. Zero is a digit; the letter O is not a hex character at all. In a poor typeface this causes real errors, which is why hex is nearly always set in a monospace font.
  • Confusing B and 8. Same problem, same solution.

Words you can spell in hex

Six letters is enough for a small vocabulary, and programmers have used these as recognisable markers in memory for decades. Each is a perfectly ordinary number.

WordDecimalTraditionally means
DEAD57,005Freed or invalid memory
BEEF48,879Filler, often paired with DEAD
CAFE51,966A marker, often a file signature
FACE64,206A marker
C0DE49,374Code section marker, using 0 for O
DEADBEEF3,735,928,559Uninitialised memory — the classic

Spotting DEADBEEF in a debugger is genuinely useful information: it almost always means you are reading memory that was never initialised.

See them in action

The hex converter shows each digit's four-bit pattern as you type, so you can watch A become 1010 and F become 1111 directly.

Frequently asked questions

What does A mean in hexadecimal?

The number ten. It is a digit, not an abbreviation.

What does F mean in hexadecimal?

Fifteen, the largest single hex digit. In binary it is 1111, all four bits set.

Why does hexadecimal stop at F?

Base 16 needs exactly sixteen symbols, 0 to F. Sixteen itself rolls over to 10, so no seventeenth symbol is needed.

Does case matter in hexadecimal?

No. FF and ff are the same value. Upper case is conventional in hardware documentation, lower case in CSS and hashes.

Why is there no G in hexadecimal?

Because sixteen symbols is all base 16 requires. A G means the value is not valid hex.

What does DEADBEEF mean?

It is the number 3,735,928,559, used as a recognisable marker for uninitialised memory. The letters A to F make a few English words spellable as valid hex.