Cumulative Frequency

⚡ Key Takeaways

Cumulative frequency is the running total of frequencies up to and including a given value or class in a dataset. In words: it tells you how many observations fall at or below a certain point. It applies anywhere data is grouped or ordered — statistics, quality control, exam grading, demographics. Formalised through the development of descriptive statistics in the 19th–20th centuries, it underpins medians, quartiles, and percentiles.

💡 The Core Insight

A frequency distribution describes data locally (how much sits in each bin). Taking a running sum converts it into a global, positional description: at every value you instantly know what fraction of the data lies below. This single transformation turns counting into ranking, and ranking is exactly what medians, quartiles and percentiles require.

Formal Statement

DefinitionCumulative Frequency

Suppose a dataset of nn observations is sorted into ordered classes (or distinct values) with upper boundaries x1<x2<⋯<xkx_1 < x_2 < \dots < x_k and corresponding frequencies f1,f2,…,fkf_1, f_2, \dots, f_k. The cumulative frequency FjF_j up to the jj-th class is the total number of observations falling at or below xjx_j:

1
Fj=∑i=1jfi\quad F_j = \sum_{i=1}^{j} f_i

Derivation hint: it is a definition — read it as "add up all frequencies from the first class through the jj-th". Here fif_i is the frequency of the ii-th class, and the symbols are:

  • nn = total number of observations,
  • kk = number of classes,
  • xjx_j = upper boundary of the jj-th class,
  • FjF_j = cumulative frequency to class jj.

The final cumulative frequency equals the total:

2
Fk=∑i=1kfi=n\quad F_k = \sum_{i=1}^{k} f_i = n

Derivation hint: every observation belongs to exactly one class, so summing all frequencies counts each observation once. A useful recursive form lets you build the table one step at a time:

3
Fj=Fj−1+fj,F0=0\quad F_j = F_{j-1} + f_j, \qquad F_0 = 0

Derivation hint: split the sum in [1] into the first j−1j-1 terms (which equal Fj−1F_{j-1}) plus the last term fjf_j.

DefinitionRelative and Percentage Cumulative Frequency

Dividing by the total gives the relative cumulative frequency, an estimate of the proportion of data at or below xjx_j:

4
Gj=Fjn,0≤Gj≤1\quad G_j = \frac{F_j}{n}, \qquad 0 \le G_j \le 1

Derivation hint: divide [1] by nn; since Fk=nF_k = n, the largest value is Gk=1G_k = 1. Multiplying by 100 yields the percentage cumulative frequency Pj=100 GjP_j = 100\,G_j, the basis of percentiles.

TheoremMedian from Cumulative Frequency

For grouped data, the median lies in the class where the cumulative frequency first reaches or exceeds n/2n/2. It is estimated by linear interpolation within that class:

5
Median=L+(n2−F<fm)h\quad \text{Median} = L + \left(\frac{\tfrac{n}{2} - F_{<}}{f_m}\right) h

Derivation hint: assume observations are uniformly spread across the median class of width hh; the fraction of that class needed to reach the n/2n/2-th observation is (n2−F<)/fm(\tfrac{n}{2}-F_{<})/f_m. where LL = lower boundary of the median class, F<F_{<} = cumulative frequency before the median class, fmf_m = frequency of the median class, hh = class width.

Why It Holds / Derivation

ProofInterpolation Formula for the Median

We derive equation [5] step by step. 1. Locate the median position. With nn ordered observations, the median sits at position n/2n/2 along the cumulative count. We find the class whose cumulative frequency first reaches n/2n/2; call it the median class with lower boundary LL, frequency fmf_m, width hh. 2. Count what lies below. Let F<F_{<} be the cumulative frequency of all classes before the median class. Then the median observation is the (n2−F<)(\tfrac{n}{2} - F_{<})-th observation within the median class. 3. Assume uniform spread. We cannot see individual values inside a grouped class, so we assume they are evenly distributed across the interval [L,L+h][L, L+h]. Then fmf_m observations occupy width hh. 4. Find the fractional position. The (n2−F<)(\tfrac{n}{2}-F_{<})-th of the fmf_m observations sits at a fraction

n2−F<fm\frac{\tfrac{n}{2}-F_{<}}{f_m}

of the way across the interval. 5. Convert fraction to value. Multiply by width hh and add the lower boundary LL, giving equation [5]. ■\blacksquare

∎
🧠 Intuition

Think of the cumulative frequency curve as a "filling tank". As you scan rightward through the data, the tank fills: each class pours in its frequency, and the curve rises by that much. It never falls — cumulative frequency is monotonically non-decreasing, because you can only add, never subtract, observations. The steepness of the curve at any point reflects how densely packed the data is there: a steep rise means many observations in a small range; a flat stretch means a gap. The whole curve always climbs from 00 up to nn.

mathematician · Francis Galton | 1822–1911

Galton, a Victorian polymath and cousin of Charles Darwin, pioneered the graphical and quantitative study of distributions. He coined the term ogive for the cumulative curve (borrowing from the S-shaped architectural arch), introduced percentiles and the median as practical summaries, and used cumulative methods to study human variation. His work, alongside that of Karl Pearson, turned the cumulative frequency curve from a curiosity into a standard statistical tool.

Building Intuition

Figure
An ogive (cumulative frequency curve) for exam marks, showing how the median and quartiles are read off
0 10 20 30 40 0 20 40 60 80 100 Mark Cumulative frequency median ≈ 40

The ogive above is the visual heart of this topic. Reading horizontally from the cumulative frequency axis at n/2n/2 across to the curve, then down to the value axis, gives the median. The same trick at n/4n/4 and 3n/43n/4 gives the lower and upper quartiles.

Worked Examples

ExampleBuilding a Cumulative Frequency Table

Given: Test scores of 40 students grouped as follows.

ClassFrequency ff
0–204
20–4011
40–6013
60–808
80–1004

Steps: Apply the recursive rule [3], Fj=Fj−1+fjF_j = F_{j-1} + f_j.

  • Up to 20: F=4F = 4
  • Up to 40: F=4+11=15F = 4 + 11 = 15
  • Up to 60: F=15+13=28F = 15 + 13 = 28
  • Up to 80: F=28+8=36F = 28 + 8 = 36
  • Up to 100: F=36+4=40F = 36 + 4 = 40

Check with [2]: F5=40=nF_5 = 40 = n. ✓

Mark ≤Cumulative frequency
204
4015
6028
8036
10040
Cumulative frequencies: 4, 15, 28, 36, 40 students\boxed{\text{Cumulative frequencies: } 4,\ 15,\ 28,\ 36,\ 40 \text{ students}}
ExampleEstimating the Median by Interpolation

Given: Use the table above. n=40n = 40, so n/2=20n/2 = 20.

Steps: 1. The cumulative frequency first reaches or exceeds 20 in the class 40–60 (cf jumps from 15 to 28). This is the median class. 2. Identify quantities: L=40L = 40, F<=15F_{<} = 15, fm=13f_m = 13, h=20h = 20. 3. Apply equation [5]:

Median=40+(20−1513)×20=40+513×20\text{Median} = 40 + \left(\frac{20 - 15}{13}\right)\times 20 = 40 + \frac{5}{13}\times 20

4. Compute: 513×20=10013≈7.69\frac{5}{13}\times 20 = \frac{100}{13} \approx 7.69. 5. Median ≈40+7.69=47.69\approx 40 + 7.69 = 47.69.

Median≈47.7 marks\boxed{\text{Median} \approx 47.7 \text{ marks}}

Common Misconceptions

⚠️ Common mistake

Plot at the upper class boundary, not the midpoint. A "less than" cumulative frequency table counts everything up to and including the upper boundary of each class. So when drawing an ogive, each cumulative frequency must be plotted against the class's upper boundary (e.g. 20, 40, 60...), not its midpoint. Plotting at midpoints shifts the entire curve and corrupts every median and quartile read off it. Also remember to start the curve at the lower boundary of the first class with cumulative frequency 0.

Counterexample

A student claims "cumulative frequency can go up or down depending on the data." This is false. Because each step adds a non-negative frequency (equation [3]), the cumulative frequency can never decrease — it is monotonically non-decreasing. Consider frequencies 5,0,35, 0, 3: the cumulative values are 5,5,85, 5, 8. Even when a class has frequency 00, the cumulative frequency stays flat (5 → 5); it does not drop. Any "falling" cumulative frequency table contains an arithmetic error.

Connections

connection

Cumulative frequency sits at the crossroads of several ideas. It is the discrete analogue of the Cumulative Distribution Function in probability, where the running sum becomes a running integral. The reading-off of Quartiles and Percentiles from an ogive directly generalises the Median construction. It complements the ordinary Frequency Distribution (the two are linked by Finite Differences: differencing the cumulative table recovers the frequencies). The S-shaped ogive previews the Normal Distribution's cumulative curve, and the spread read from quartiles feeds into the Interquartile Range and Box Plot.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1654 — Pascal and Fermat lay groundwork for probability; the idea of accumulating outcomes appears implicitly.
- 1662 — John Graunt's Natural and Political Observations on the London Bills of Mortality builds early life tables, effectively cumulative survival counts.
- 1693 — Edmond Halley constructs a more rigorous life table from Breslau data, summing deaths cumulatively by age.
- 1830s–40s — Adolphe Quetelet promotes the statistical study of the "average man", popularising frequency distributions.
- 1875 — Francis Galton introduces the ogive and the use of the median and quartiles read graphically.
- 1885 — Galton formalises percentiles and uses cumulative curves to study human stature and inheritance.
- 1895 — Karl Pearson systematises descriptive statistics, including cumulative frequency methods, in his lectures and papers.
- 1905 — Max Lorenz introduces the Lorenz curve, a cumulative-frequency tool for inequality.
- 20th century — Cumulative frequency tables and ogives become standard in school and university statistics curricula worldwide.

Subtleties & Limits

open-problem

The interpolation formula [5] rests on the uniform-distribution-within-class assumption, which is rarely exactly true. If data clusters near one end of a class, interpolated medians and percentiles carry systematic error — yet there is no universal "best" interpolation rule for grouped data; competing conventions (linear, quantile types) yield slightly different answers, and statistical software offers up to nine definitions. A related practical subtlety is bin-width choice: too wide and you lose resolution, too narrow and the curve becomes jagged and unstable. How to choose optimal class boundaries from raw data, balancing smoothness against fidelity, remains a genuine question in nonparametric statistics (kernel density estimation is the modern continuous successor).

See Also

Frequency Distribution · The Median · Quartiles and Percentiles · Cumulative Distribution Function · Box Plot · Interquartile Range · Normal Distribution · Lorenz Curve