EN
My tools

Frequency Analysis Tool (Letters, Bigrams, IoC)

Count letter frequencies and compare them with English, with chi-squared, index of coincidence, top bigrams and trigrams, doubled letters and a chart.

Letters
188
Most common letter
E
Its share
12.77%
Index of coincidence
0.0608
English ≈ 0.066, random letters ≈ 0.038
χ² against English
37.45
25 degrees of freedom; English text is usually well under 113
Letters by frequency
ETISNOAHRLCPUWDMYBFKQGJXZ
English: ETAOINSHRDLCUMWFGYPBVKJXQZ

English percentages are the usual reference values for English text (Wikipedia, "Letter frequency"). Short texts vary a lot from them.

Letter frequencies
  • Percent
  • English %
Letter frequencies: Percent, English %051015ABCDEFGHIJKLMNOPQRSTUVWXYZLetter
Letter frequencies
LetterCountPercentEnglish %Difference
A126.388.2-1.82
B31.61.50.1
C73.722.80.92
D42.134.3-2.17
E2412.7712.70.07
F31.62.2-0.6
G10.532-1.47
H115.856.1-0.25
I157.9870.98
J10.530.150.38
K21.060.770.29
L84.2640.26
M42.132.4-0.27
N147.456.70.75
O147.457.5-0.05
P52.661.90.76
Q21.060.0950.97
R115.856-0.15
S157.986.31.68
T168.519.1-0.59
U52.662.8-0.14
V000.98-0.98
W52.662.40.26
X10.530.150.38
Y42.1320.13
Z10.530.0740.46
Top bigrams (letter pairs within words)
BigramCountPercent
IS53.55
AR42.84
EN42.84
HE42.84
LE42.84
AN32.13
CO32.13
ER32.13
OW32.13
RE32.13
TE32.13
TH32.13
CH21.42
EA21.42
ET21.42
Top trigrams
TrigramCountPercent
THE32.86
AND21.9
ARE21.9
COU21.9
ETT21.9
HOW21.9
LET21.9
NTS21.9
OUN21.9
TER21.9
TTE21.9
UNT21.9
WHI21.9
ACH10.95
ALY10.95
Doubled letters
PairCount
TT2
EE1
LL1
MM1
PP1
My tools →
Advertisement

Frequency analysis is the oldest code-breaking method: count how often each letter appears and compare the counts with normal English, where E, T, A, O, I and N dominate. It breaks Caesar and substitution ciphers, tells transposition from substitution, and shows whether a text is English at all. This tool counts letters (or every character), compares them with English, and adds χ², the index of coincidence, top bigrams, trigrams and doubled letters.

How to use this tool

  1. Paste the text or ciphertext.
  2. Choose letters only, or every character for encodings and symbols.
  3. Sort the table alphabetically or by frequency, and set how many bigrams and trigrams to list.
  4. Compare the chart and the "letters by frequency" line with English.

Formula

share = count ÷ N × 100% IoC = Σ nᵢ(nᵢ − 1) / (N(N − 1)) χ² = Σ (nᵢ − N·pᵢ)² / (N·pᵢ)

N is the number of letters, nᵢ the count of letter i and pᵢ its English share. The index of coincidence is the chance that two letters picked at random are equal: about 0.066 for English, 0.038 for random letters. χ² measures the distance from English; it grows with text length, so compare it with the letter count.

Example

For AAB, A appears twice out of three letters: 66.67%. For AABB the index of coincidence is (2·1 + 2·1) / (4·3) = 0.3333. A pangram such as "The quick brown fox jumps over the lazy dog" has 35 letters, and O is the most common with 4 (11.43%).

Frequently asked questions

How long must a text be for frequency analysis?

Patterns start to show at about 100 letters and are reliable from a few hundred. Below 50 letters the counts can differ a lot from English even for normal text.

What does a high index of coincidence mean?

That the text uses one alphabet: plain English, a transposition or a simple substitution all score near 0.066. Polyalphabetic ciphers such as Vigenère score lower, closer to 0.038.

Where do the English percentages come from?

They are the commonly cited letter frequencies of English text (E 12.7%, T 9.1%, A 8.2% …). Every corpus differs slightly, so treat small differences as noise.

Sources

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). Frequency Analysis Tool (Letters, Bigrams, IoC). https://kakao.mobile/tools/frequency-analysis-tool/

MLA

“Frequency Analysis Tool (Letters, Bigrams, IoC).” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/frequency-analysis-tool/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement