How to Increase IQ
Brain Exercises

Benefits of Meditation
Mental Math

Riddles and Puzzles
Lateral Thinking

The Basics of Code Breaking

Have you ever tried code breaking? How about code making? Either is a good activity for stimulating the brain. Breaking a secret code starts with an understanding of how often certain letters normally appear in written language, also known as "letter frequency."

Letter frequency varies by language, of course. It also varies according to topic. If you're speaking about jail and jokes told in jail, you'll use the letter "j" far more often than it is normally used. There are some differences between dialects, due to different word frequency and spellings. For example, the ending "ise" is more common in British English, while "ize" is used more in American English. As a result, the use of "z" is more common in American English.

Letter Frequency in English

a 8.167%
b 1.492%
c 2.782%
d 4.253%
e 12.702%
f 2.228%
g 2.015%
h 6.094%
i 6.966%
j 0.153%
k 0.772%
l 4.025%
m 2.406%
n 6.749%
o 7.507%
p 1.929%
q 0.095%
r 5.987%
s 6.327%
t 9.056%
u 2.758%
v 0.978%
w 2.360%
x 0.150%
y 1.974%
z 0.074%

Source: Wikipedia

Finally, everyone writes differently, a fact sometimes used to prove or disprove authorship, since the average sentence length, word length, and letter frequencies can be determined for each author. A forger can rarely forge an authors "style," as determined in part by these measurements. Interestingly, during World War Two, British code breakers used this kind of analysis to identify not just what a secret message said, but who was sending it.

Simple Code Breaking

Below are the letters of the English alphabet, arranged in order of prevalence (on average). Using a frequency table like this is the first step in code breaking.


The simplest secret codes simply replace a letter with another (w = a, x = b, d = c, ...). Periods and other punctuation may or may not be used. Simple code breaking then, begins with identifying the most common letter in a message and replacing each of these with an "e", since that is the most common and therefore most likely letter. If that doesn't seem to work, a "t" or "a" would be tried next.

There are other ways to speed up the process. As you look at the coded message below, for example, you can see a few words that are just one letter. The obvious candidate is "a", although it could be the letter "i". A three-letter word starting several sentences is likely to be "the", in which case you would know three more of the letters. Starting with these simple code breaking guidelines, see how quickly you can break the code and read the message below.

A Secret Message

lbyeavb ha hpb lagyc at eacb sgbxzqwr. hpb zbm, xi mak vxm pxjb wahqebc, qi ha ihxgh lqhp hpb iqvdyb gkybi xsakh ybhhbg tgbfkbwem, xwc hgm wbl xddgaxepbi awym lpbw hpbib txqy. qw ahpbg lagci, mak dyxm hpb acci ha ihxgh, xwc hpbw xcukih makg ihgxhbrm xi wbbcbc.

hpqi qi x rgbxh sgxqw bnbgeqib. egbxhqwr makg alw, daiiqsym kwsgbxzxsyb eacb qi xyia x tkw lxm ha bnbgeqib makg sgxqw. hpbgb lqyy sbe vagb aw hpxh qw xw kdeavqwr qiikb at hpb sgxqwdalbg wbliybhhbg. hpb iksiegqdhqaw tagv qi aw hpb pavb dxrb. lpm wah ra iqrw kd wal?

Of course no good code creator would make such a simple code, so don't get too excited if you figured this one out. Breaking a tough code requires a bit more knowledge than than the simple rules laid out here.

I'll have more on that, and how to create your own "unbreakable" codes, in a future article on code breaking.

In the meantime, if you want to see the decoded message and a few more tips on how to decode secret messages, go to the page, How to Break Codes. You will also find a little history of secrets codes on the page Cryptograms.

All the pages on codes, ciphers and cryptograms are listed on the page: Secret Codes.

Try my newsletter. It's free and comes with the ebook, How to Have New Ideas. Subscribe right now...

(Sorry, but the newsletter has been discontinued.)

Like what you see here? Please let others know...

Riddles and Puzzles Index


Increase Brainpower Homepage | Code Breaking