Skip to content
LoveToCalc

Definition — what does that mean?

Maximum difference in cumulative percentage

A measure of how different two groups' distributions are: the largest vertical gap between their cumulative frequency curves.

In Swedish: Största skillnad i kumulativ procent

Maximum difference in cumulative percentage

The relation

D=max(|Ai−Bi|)

The largest gap between two groups' cumulative percentages, class by class — a rule-of-thumb measure of how different two distributions are, read off two cumulative frequency columns.

Separate the numbers with spaces, commas or semicolons, for example 2.5, 4, 7

Separate the numbers with spaces, commas or semicolons, for example 2.5, 4, 7

D=22

D equals the largest of the absolute value of ((8 minus 3)), the absolute value of ((25 minus 12)), the absolute value of ((52 minus 30)), the absolute value of ((81 minus 62)), the absolute value of ((100 minus 100)), equals the largest of the absolute value of (5), the absolute value of (13), the absolute value of (22), the absolute value of (19), the absolute value of (0), equals the largest of 5, 13, 22, 19, 0, equals 22

Working4 steps

What the definition says

Sort both groups into the same classes and work out the cumulative percentage for each class: the share of the group in that class or in any lower one. Aᵢ and Bᵢ are the two groups’ cumulative percentages in class i. D is the largest difference between them, in percentage points, ignoring the sign.

On a cumulative frequency graph, D is the largest vertical distance between the two curves.

Worked example

Two classes have taken the same test, and the scores are grouped into five intervals:

Score A cumulative % B cumulative % Difference
0–9 8 3 5
10–19 25 12 13
20–29 52 30 22
30–39 81 62 19
40–50 100 100 0

The largest difference is 22 percentage points, in the middle class. So D = 22.

The rule of thumb

The Dutch havo mathematics A exam prints this measure with a rule of thumb beside it, for two groups of more than 100 each (CvTE, wiskunde A havo 2026 syllabus, appendix 5), where it is written max V_cp:

D The difference is called
above 40 large
above 20, up to 40 medium
20 or less small

The example above, with D = 22, falls in the middle band. Two school classes usually have fewer than 100 students each, so there the rule is only a rough guide. The same list has matching rules of thumb for the phi coefficient and the effect size.

Common mistakes

Common questions

Is this the Kolmogorov–Smirnov test? The measure is the same as D in the two-sample Kolmogorov–Smirnov test, written in percentage points rather than as a proportion. The test compares D with a critical value that depends on the sample sizes, while the rule of thumb here uses only the fixed limits 20 and 40.

How do I get the cumulative percentages? Add up the frequencies class by class and divide by the size of the group. If a group has 40 students, 10 of whom scored 0–9 and 12 of whom scored 10–19, the cumulative percentage is 25% for the first class and 55% for the second.

Are there other ways to compare two groups? Yes. A box plot for each group shows the medians and quartiles side by side, and the effect size compares the means relative to the spread.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
Dmax(|Ai−Bi|)max(|8−3|, |25−12|, |52−30|, |81−62|, |100−100|)22

Last reviewed October 8, 2026 ·How pages are reviewed

Statistics and probabilityAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.