BY: Statistics Fundamentals Team
Reviewed By: Minsa A (Senior Statistics Editor)

Ogive (Cumulative Frequency) Graph Maker

Build less than and more than ogive graphs from any frequency table — no spreadsheet required. Enter your class intervals and frequencies, and this tool calculates cumulative frequencies, plots both curves, and estimates the median, Q1, Q3, and percentiles from the graph. Download a publication-ready SVG when you're done.

Ogive Graph Maker

Cumulative Frequency CF_i = f_1 + f_2 + … + f_i Median from Ogive Locate N/2 on CF axis → drop to x-axis

Quick-load sample data:

# Lower Limit Upper Limit Frequency Cumul. Freq. Lower Boundary Upper Boundary
50th → estimated value:
CSV Format lower,upper,frequency (one row per class)
Format: lower bound, upper bound, frequency — one row per class. Headers optional.

Ogive Graph Examples

Click any example to load it into the graph maker above

What Is an Ogive?

An ogive (pronounced oh-jive) is a graph that plots cumulative frequencies against class boundaries. It shows how data accumulates across class intervals, making it possible to read the median, quartiles, and any percentile directly from the graph — without calculating them from a formula. The word comes from architecture, where an ogive is the diagonal rib of a Gothic vault, reflecting the S-shaped curve these graphs typically produce.

Two types are used in practice. A less than ogive starts at zero and rises to the total frequency N, with each point showing how many observations fall below that class boundary. A more than ogive starts at N and falls to zero, with each point showing how many observations are at or above that boundary. When plotted together, the two curves cross exactly at the median of the distribution.

What Is Cumulative Frequency?

Cumulative frequency is the running total of frequencies. For each class in a grouped frequency table, you add that class's frequency to the sum of all frequencies before it. The result for any given class tells you how many observations fall at or below that point. By the final class, the cumulative frequency always equals N, the total number of data points.

Cumulative Frequency Formula CF_k = f_1 + f_2 + f_3 + … + f_k
More Than Cumulative Frequency CF_more_k = N − CF_(k−1) = f_k + f_(k+1) + … + f_last

Less Than vs. More Than Ogive

FeatureLess Than OgiveMore Than Ogive
Plotted againstUpper class boundariesLower class boundaries
Starts at0 (before first class)N (total frequency)
Ends atN (after last class)0
ShapeRises left-to-right (S-curve)Falls left-to-right (reverse S-curve)
Reading the medianFind N/2 on y-axis, read x-valueFind N/2 on y-axis, read x-value
Intersection pointBoth curves meet at the median on the x-axis

How to Draw an Ogive

These six steps apply whether you are drawing by hand or using this tool. Working through them manually at least once builds genuine understanding of what the curve represents.

1
Set up a grouped frequency distribution table.

Arrange your raw data into equal-width class intervals. Record the frequency (count of observations) for each class. The class width should be consistent throughout — unequal widths make the ogive misleading.

2
Calculate cumulative frequencies.

For the first class, the cumulative frequency equals its frequency. For each subsequent class, add the class frequency to the previous cumulative frequency. The last cumulative frequency should equal N.

3
Find the class boundaries.

Class boundaries are not the same as class limits. For whole-number data, subtract 0.5 from each lower limit to get the lower boundary, and add 0.5 to each upper limit to get the upper boundary. This closes the gaps between adjacent classes. The tool does this automatically using the boundary offset you set.

4
Plot the points.

For a less than ogive, plot each cumulative frequency against its upper class boundary. Also plot the point (lower boundary of first class, 0) to anchor the curve. For a more than ogive, plot each more-than cumulative frequency against its lower class boundary, starting with the point (lower boundary of first class, N).

5
Connect the points with a smooth curve.

Join the points freehand with a smooth S-shaped line. Do not connect them with straight line segments as you would in a frequency polygon — the ogive is drawn as a continuous curve to represent the underlying continuous distribution of the data.

6
Read off the median, quartiles, and percentiles.

Draw a horizontal line from the value N/2 on the cumulative frequency axis across to the less than ogive curve. From that intersection point, drop a vertical line to the x-axis. That x-value is the estimated median. Repeat with N/4 for Q1 and 3N/4 for Q3. For any percentile P, use P×N/100 as your starting y-value.

Worked Example: Exam Scores

Consider the following grouped frequency distribution of exam scores for 60 students.

Class IntervalFrequencyUpper BoundaryCumul. Freq. (Less Than)Lower BoundaryCumul. Freq. (More Than)
40 – 50450.5439.560
50 – 60860.51249.556
60 – 701470.52659.548
70 – 801880.54469.534
80 – 901090.55479.516
90 – 1006100.56089.56

With N = 60, the median is read at cumulative frequency 30 (N/2). Tracing across from 30 on the less than ogive gives an x-value of approximately 73 — so the estimated median exam score is 73. Q1 is read at cumulative frequency 15 (N/4), giving approximately 62. Q3 is read at cumulative frequency 45 (3N/4), giving approximately 82. The interquartile range is therefore approximately 82 − 62 = 20 marks.

How to Interpret an Ogive

Steep sections: A steep rise in the less than ogive means many observations are concentrated in that class interval. A flat section means few observations fall there. This tells you where the data is densest.
Distribution shape: An ogive that is symmetric about the midpoint of its rise suggests a roughly symmetric distribution. A curve that rises quickly on the left and flattens on the right indicates right-skew in the underlying data.
Comparing ogives: When two ogives for different groups are plotted on the same axes, the group whose curve lies to the right has generally higher values. Where the curves are close together, the groups have similar proportions in that range.
Intersection of the two curves: The point where the less than and more than ogives cross corresponds to the median on the x-axis. This is a reliable visual check on your median calculation.

Ogive vs. Other Statistical Graphs

GraphShowsUse instead of ogive when…
HistogramFrequency in each class interval as barsYou want to see the shape of a distribution at a glance
Frequency polygonFrequency (not cumulative) connected by straight linesYou want to compare class frequencies directly
Scatter plotRelationship between two continuous variablesYou have two variables and want to examine correlation
Box plotFive-number summary (min, Q1, median, Q3, max)You want a compact summary of spread and symmetry
OgiveCumulative frequencies across class boundariesYou need to read off medians, quartiles, or percentiles from grouped data

Applications of Ogive Graphs

Education: Estimating the median mark and grade cut-off percentiles in a class. A teacher with frequency data on 200 exam scripts can use an ogive to find the 60th percentile mark without listing every score individually.
Healthcare and research: Clinical reference ranges are often reported at the 5th and 95th percentiles for measurements such as birth weight or blood pressure. An ogive built from population survey data makes these boundaries easy to read.
Manufacturing and quality control: In Six Sigma and process improvement, ogives help locate the proportion of units that fall below a specification limit. A process engineer can read off what percentage of output exceeds a tolerance directly from the graph.
Economics and social science: Cumulative frequency curves for income, household size, or survey responses let analysts compare distributions across groups and identify where differences concentrate.

Sample Datasets to Practice With

Use the buttons in the tool above to load any of these datasets instantly. Each one illustrates a slightly different distribution shape in the resulting ogive.

DatasetVariableClassesNWhat to notice in the ogive
Exam ScoresMarks (/100)40–100 in 10s60Ogive rises steeply in the 60–80 range — most students scored here
Heights (cm)Adult height150–195 in 5s80Symmetric S-curve centered around 170 cm
Weights (kg)Body weight50–90 in 5s70Slight right skew — tail extends toward higher weights
Monthly SalesUnits sold0–300 in 50s50Flatter at the high end — fewer months with very high sales
Rainfall (mm)Monthly rainfall0–200 in 25s48Right-skewed — most months have low rainfall with a few very wet months

Common Mistakes When Drawing an Ogive

  • Plotting against class limits instead of class boundaries. Using 50 instead of 49.5 as the upper boundary shifts every point slightly and leads to a less accurate median estimate.
  • Plotting frequencies instead of cumulative frequencies. Cumulative frequency must be a non-decreasing sequence. If any value is smaller than the one before it, you are plotting raw frequencies by mistake.
  • Not starting at (lower boundary of first class, 0). Missing this anchor point makes the curve end before reaching N and results in an incorrect shape.
  • Connecting points with straight lines instead of a smooth curve. The ogive represents an assumed continuous distribution, so a smooth S-curve is always more appropriate than a straight-line frequency polygon style.
  • Using unequal class widths. Cumulative frequency ogives assume equal class widths. Unequal widths distort the visual spacing and the percentile readings will not be reliable.

Related Topics on Statistics Fundamentals

Sources & further reading:

  • Spiegel, M.R. & Stephens, L.J. (2007). Schaum's Outline of Statistics, 4th ed. McGraw-Hill. [Chapter 2: Frequency distributions and graphs]
  • NIST/SEMATECH — Engineering Statistics Handbook — Cumulative frequency plots
  • Khan Academy — Statistics and Probability
  • Triola, M.F. (2018). Elementary Statistics, 13th ed. Pearson. [Section 2-3: Histograms and ogives]
  • OpenStax — Introductory Statistics (open educational resource)

Frequently Asked Questions

An ogive is a graph that plots cumulative frequencies against class boundaries to show how data accumulates across intervals. A less than ogive starts at 0 and rises to the total frequency N, while a more than ogive starts at N and falls to 0. Both are used in descriptive statistics to estimate the median, quartiles, and any percentile from grouped data without needing to work through a formula. The point where the two curves cross is the median of the distribution.

A less than ogive is plotted using upper class boundaries on the x-axis and less-than cumulative frequencies on the y-axis. It rises from left to right, starting at 0 and ending at N. A more than ogive is plotted using lower class boundaries and more-than cumulative frequencies. It falls from left to right, starting at N and ending at 0. Both curves represent the same distribution from opposite perspectives, and they cross at the median.

On a less than ogive, locate the value N/2 on the cumulative frequency (y) axis. Draw a horizontal line from that point until it meets the ogive curve, then drop a vertical line from the intersection point to the x-axis. The x-value you land on is the estimated median. This works because the median is the value that splits the distribution exactly in half — exactly N/2 observations fall below it.

Cumulative frequency is a running total. Start with the frequency of the first class — that is the first cumulative frequency. For each subsequent class, add that class's frequency to the previous cumulative frequency. The last cumulative frequency must equal N, the total number of observations. For a more than ogive, the more-than cumulative frequency for each class is N minus the less-than cumulative frequency of the class before it.

Class boundaries are the true limits between adjacent class intervals. For discrete whole-number data, they are found by subtracting 0.5 from the lower class limit and adding 0.5 to the upper class limit. Boundaries matter because class limits often have gaps between them (e.g., 40–49 and 50–59), while boundaries close those gaps (e.g., 39.5 to 49.5 and 49.5 to 59.5). Using the correct boundaries gives a more accurate ogive and more reliable percentile estimates.

Use a histogram when you want to visualize the shape of a distribution — where the data is concentrated, whether it is skewed, and so on. Use an ogive when you need to estimate percentiles or medians from grouped data, compare what proportion of observations fall below a specific value, or find where two distributions diverge. The ogive is a cumulative tool; the histogram is a frequency tool. Both come from the same frequency table.