Alphabet Reference

What Number Is Z in the Alphabet? Z = 26

AlphaCoder Team|May 23, 2026|5 min read

Z is the 26th and last letter of the English alphabet. As the final letter, Z marks the endpoint of the A1Z26 cipher system where A = 1 and Z = 26. It also carries the highest single-letter value in word value calculations. To convert Z or any letter to its number, use our letters to numbers converter.

Z in Every Number System

SystemUppercase ZLowercase z
Alphabet Position (A1Z26)2626
ASCII Decimal90122
Hexadecimal0x5A0x7A
Binary0101101001111010
Octal132172
Unicode (UTF-8)U+005AU+007A

View all 26 letters with their encodings on our alphabet number chart.

Why the English Alphabet Has Exactly 26 Letters

The 26-letter count is not arbitrary. It is the result of thousands of years of evolution:

  • Phoenician origin (c. 1050 BC): The Phoenician alphabet had 22 consonant letters with no vowels. It was the ancestor of nearly all modern alphabets.
  • Greek adaptation (c. 800 BC): The Greeks added vowels (A, E, I, O, U) and modified some consonants, creating a 24-letter alphabet.
  • Latin adoption (c. 700 BC): The Romans adapted the Greek alphabet, initially with 21 letters. They did not include J, U, or W.
  • Medieval additions: J was split from I in the 16th century. U was split from V around the same period. W was added as a "double U" to represent the Germanic /w/ sound.
  • The lost 27th letter: The ampersand (&) was once recited as the 27th letter of the alphabet, said as "and per se and" (which is where the word "ampersand" comes from). It was dropped from the standard alphabet in the 19th century.

Z Was Not Always the Last Letter

Z has a turbulent history in the Latin alphabet:

  • Original position: In the early Latin alphabet (borrowed from Greek "zeta"), Z sat in the 7th position, right after F and before H.
  • Removed (c. 300 BC): The Roman censor Appius Claudius Caecus removed Z because the sound it represented (/z/) had shifted to /r/ in Latin (a process called rhotacism). The letter R replaced Z's function.
  • Reintroduced at the end (c. 1st century BC): When Rome conquered Greece, they needed Z again to transliterate Greek words. But its old slot was taken, so they appended it at the end of the alphabet.

This is why Z sits at position 26 instead of position 7. Its exile and return shaped the alphabet we use today.

Z in Codes and Symbols

  • Morse code: Z is — — . . (dash dash dot dot)
  • NATO phonetic alphabet: Z = "Zulu"
  • Mathematics: Z often represents the set of integers (from German "Zahlen" meaning "numbers")
  • Physics: Z is the symbol for atomic number
  • ROT13 cipher: Z (26) maps to M (13), since 26 - 13 = 13

Z in Programming

// JavaScript
"Z".charCodeAt(0)        // 90
"Z".charCodeAt(0) - 64   // 26

# Python
ord('Z')                  # 90
ord('Z') - 64             # 26

// Java / C#
(int) 'Z'                 // 90
'Z' - 'A' + 1             // 26

// Z marks the end of the letter range in validation:
// if (c >= 'A' && c <= 'Z')  — this checks for uppercase
// if (c >= 'a' && c <= 'z')  — this checks for lowercase

Explore ASCII values further with our A1Z26 cipher tool.

Z in Different Alphabets

LanguageLettersZ Position
English2626 (last)
Spanish2727 (last)
German3026 (not last)
French2626 (last)
Italian2121 (last)
Swedish2926 (not last)

Quick Reference: Letters Near Z

LetterPositionASCII
V2286
W2387
X2488
Y2589
Z2690

Full reference: See every letter's position on our Alphabet Number Chart.

Try it now →

Frequently Asked Questions

What number is Z in the alphabet?

Z is the 26th and last letter of the English alphabet. In the A1Z26 cipher, Z = 26. In ASCII, uppercase Z = 90 and lowercase z = 122. In hexadecimal, Z is 0x5A.

Why does the English alphabet have exactly 26 letters?

The 26 letters evolved from the Latin alphabet, which itself came from Greek and Phoenician scripts.The original Latin alphabet had 21 letters. J, U, and W were added during the Middle Ages. The ampersand (&) was once considered the 27th letter but was dropped in the 19th century.

What is the ASCII value of Z?

Uppercase Z has ASCII value 90, and lowercase z has ASCII value 122. In hexadecimal, Z is 0x5A and z is 0x7A. In binary, Z is 01011010. The uppercase range (65-90) and lowercase range (97-122) each span exactly 26 values.

Was Z always the last letter of the alphabet?

No. Z originally sat near position 7 in the early Latin alphabet. It was removed around 300 BC because the /z/ sound had changed to /r/ in spoken Latin. When the Romans later needed Z to spell Greek loanwords, they put it back at the end, giving it position 26.

Related Articles