Cumulative Frequency
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.
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
Suppose a dataset of observations is sorted into ordered classes (or distinct values) with upper boundaries and corresponding frequencies . The cumulative frequency up to the -th class is the total number of observations falling at or below :
Derivation hint: it is a definition — read it as "add up all frequencies from the first class through the -th". Here is the frequency of the -th class, and the symbols are:
- = total number of observations,
- = number of classes,
- = upper boundary of the -th class,
- = cumulative frequency to class .
The final cumulative frequency equals the total:
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:
Derivation hint: split the sum in [1] into the first terms (which equal ) plus the last term .
Dividing by the total gives the relative cumulative frequency, an estimate of the proportion of data at or below :
Derivation hint: divide [1] by ; since , the largest value is . Multiplying by 100 yields the percentage cumulative frequency , the basis of percentiles.
For grouped data, the median lies in the class where the cumulative frequency first reaches or exceeds . It is estimated by linear interpolation within that class:
Derivation hint: assume observations are uniformly spread across the median class of width ; the fraction of that class needed to reach the -th observation is . where = lower boundary of the median class, = cumulative frequency before the median class, = frequency of the median class, = class width.
Why It Holds / Derivation
We derive equation [5] step by step. 1. Locate the median position. With ordered observations, the median sits at position along the cumulative count. We find the class whose cumulative frequency first reaches ; call it the median class with lower boundary , frequency , width . 2. Count what lies below. Let be the cumulative frequency of all classes before the median class. Then the median observation is the -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 . Then observations occupy width . 4. Find the fractional position. The -th of the observations sits at a fraction
of the way across the interval. 5. Convert fraction to value. Multiply by width and add the lower boundary , giving equation [5].
∎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 up to .
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
The ogive above is the visual heart of this topic. Reading horizontally from the cumulative frequency axis at across to the curve, then down to the value axis, gives the median. The same trick at and gives the lower and upper quartiles.
Worked Examples
Given: Test scores of 40 students grouped as follows.
| Class | Frequency |
|---|---|
| 0–20 | 4 |
| 20–40 | 11 |
| 40–60 | 13 |
| 60–80 | 8 |
| 80–100 | 4 |
Steps: Apply the recursive rule [3], .
- Up to 20:
- Up to 40:
- Up to 60:
- Up to 80:
- Up to 100:
Check with [2]: . ✓
| Mark ≤ | Cumulative frequency |
|---|---|
| 20 | 4 |
| 40 | 15 |
| 60 | 28 |
| 80 | 36 |
| 100 | 40 |
Given: Use the table above. , so .
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: , , , . 3. Apply equation [5]:
4. Compute: . 5. Median .
Common Misconceptions
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.
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 : the cumulative values are . Even when a class has frequency , the cumulative frequency stays flat (5 → 5); it does not drop. Any "falling" cumulative frequency table contains an arithmetic error.
Connections
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
Historical Development
Subtleties & Limits
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