Frequency analysis uses letter patterns to break many historical ciphers. Discover how to count, compare, and apply this technique to secret messages.
Frequency analysis is the art of counting how often each letter appears in a piece of text, then comparing that pattern to what you would expect from normal language. In English, some letters are workhorses: E is the most common, followed closely by T and A. Others, like Z, Q, and X, are rare. When you encrypt a message with a simple substitution cipher — where each letter is consistently replaced by another — those frequencies do not disappear. They are merely disguised. If the original message had lots of E's, the ciphertext will have lots of whatever letter replaced E. That is the crack in the armour.
Before you can break anything, you need a rough mental map of English letter frequencies. For everyday prose, a reliable guide is:
These percentages shift slightly depending on the text. A short message about quizzes might be full of Z's and Q's; a passage from a thriller might have more action words. But for a paragraph or more of ordinary English, these figures are a dependable starting point. You will also want to note common pairs (digraphs) like TH, HE, IN, ER, AN, and RE, and common triplets such as THE, AND, ING.
You do not need fancy software. Grab a pencil and a sheet of paper. Write out the ciphertext in groups of five letters (this makes counting easier and avoids mistakes). Then create a tally table for A to Z. Go through the text one letter at a time, marking a stroke for each occurrence. When you have finished, total the tallies. You can also count digraphs: look for repeated two-letter combinations and note them down. If you prefer, a simple spreadsheet works, but the physical act of tallying builds intuition. You will start to feel which letters are unusually common. As a beginner, aim for at least 100–150 letters of ciphertext before trusting the counts. Shorter messages are noisier and harder to break.
Once you have your frequency table, compare it to the English one. The most frequent ciphertext letter is a strong candidate for E. The next few might be T, A, or O. But do not stop there. Look at the structure. A single-letter word in the ciphertext is almost certainly A or I (or O in older poetry). A three-letter word that appears often is likely THE or AND. If you see a repeated pattern like XYYX, it might be THAT, SEES, or ELLE in French. This is where puzzle solving becomes a detective game. You form a hypothesis, test it against the ciphertext, and revise. The technique is called using cribs — guessed words or phrases that give you a foothold.
Suppose you intercept this ciphertext: WKLV LV D WHVW PHVVDJH. First, count the letters. V appears four times, L three times, W twice, and H twice. The most frequent letter is V. If V is E, then the cipher might be a Caesar shift. Look at the word WKLV. If V is E, then the shift is three places backwards? Let us check: W→T, K→H, L→I, V→S. That gives THIS. Yes! The next word LV becomes IS. D becomes A. WHVW becomes TEST. PHVVDJH becomes MESSAGE. The plaintext is "THIS IS A TEST MESSAGE". You have just used frequency analysis (plus a little Caesar logic) to crack a message. For a general substitution cipher, where letters are not shifted uniformly, you would rely more heavily on digraphs and cribs, but the principle is identical.
Frequency analysis is powerful, but it is not magic. Here are a few traps for new codebreakers:
The best way to improve is to practise. Start with Caesar ciphers, then move to simple substitution. You will soon find that your eye catches odd patterns automatically. Frequency analysis is not just a historical curiosity — it is a foundation for understanding why modern cryptography needs to be so much more complex. But for a curious beginner, there is no better place to start than counting letters and letting the patterns speak.
Provide clear contact information, including phone number, email, and address.
This post covers tips on color schemes, fonts, and visuals to keep your profile visually appealing and cohesive.
Gen Z is reshaping digital interaction. Learn what matters to this generation and how to create authentic, meaningful content.
Gen Z is reshaping digital interaction. Learn what matters to this generation and how to create authentic, meaningful content.
Unlock the tools and insights you need to thrive on social media with Cypheus. Join our community for expert tips, trending strategies, and resources that empower you to stand out and succeed.
Tags
Matthew Kuhnemann
8/2/2024
“I love how this breaks down the importance of consistency and authenticity. It's easy to get caught up in trends, but staying true to yourself really is key. Great read!"