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.

The cumulative frequency of a value (or class boundary) is the sum of all frequencies of observations less than or equal to that value. Where an ordinary frequency table answers "how many are exactly here?", a cumulative frequency table answers "how many are here or below?" — converting a distribution into a running total. This matters because it lets us read off positional statistics (median, quartiles, percentiles) directly, and because plotting cumulative frequency against value gives the ogive, a smooth S-shaped curve that approximates the continuous distribution of the data. A surprising fact: the final cumulative frequency always equals the total number of observations , so every cumulative frequency curve ends at the same height regardless of the data's shape.

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

Cumulative Frequency

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 :

1
⟳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:

2
⟳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
⟳split the sum in [1] into the first terms (which equal ) plus the last term .

Relative and Percentage Cumulative Frequency

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

4
⟳divide [1] by ; since , the largest value is .

Multiplying by 100 yields the percentage cumulative frequency , the basis of percentiles.

Median from Cumulative Frequency

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:

5
⟳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

Interpolation Formula for the Median

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 .
  1. 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.
  1. 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 .
  1. Find the fractional position. The -th of the observations sits at a fraction
of the way across the interval.
  1. 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 .

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

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 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

Building a Cumulative Frequency Table

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 |

Estimating the Median by Interpolation

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]:
  1. Compute: .
  2. 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

  1. Examination grading — boards set grade boundaries by finding the mark below which a target percentage of candidates fall (a percentile read straight off the cumulative curve).
  2. Medical growth charts — a child's height or weight is reported as a percentile (e.g. "75th percentile"), derived from cumulative frequencies of reference populations.
  3. Quality control — manufacturers use cumulative frequency of defect sizes to specify tolerances and reject limits.
  4. Income and wealth economics — the Lorenz curve and Gini coefficient are built from cumulative frequencies (and cumulative income shares) to measure inequality.
  5. Hydrology and flood planning — cumulative frequency of annual peak river flows gives return periods (e.g. the "1-in-100-year flood").
  6. Reliability engineering — cumulative failure counts over time estimate the probability a component survives to a given age.
  7. Sports and fitness testing — bleep-test or fitness scores are ranked into percentiles using cumulative frequency of a cohort.

Historical Development

  • 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

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

Before this

Where this leads