An ogive (said “oh-jive”) is a graph that shows a running total: how many data values fall below each point along a scale, instead of how many fall in each group.1Mathematics LibreTexts. Histograms Because totals only grow, the line only ever climbs, rising steeply where data bunch together and flattening where they thin out. Its main job is answering “how many are below this value?” at a glance, which is why it is the standard tool for finding the median and other middle points of grouped data. The odd name comes from architecture: the S-shaped curve reminded the scientist Francis Galton of a pointed Gothic arch.2Encyclopedia of Measurement and Statistics. Ogive
What an Ogive Graph Shows
Cumulative frequency is a running total: you add each class’s frequency to all the frequencies before it.3BYJUS. What Is an Ogive Graph? Definition and Uses The last number in the running total always equals the total number of data values.3BYJUS. What Is an Ogive Graph? Definition and Uses The graph then plots these running totals on the vertical axis against the top edges of the classes on the horizontal axis.3BYJUS. What Is an Ogive Graph? Definition and Uses Each point counts every value less than or equal to that top edge.4CSECHub.com. Cumulative Frequency Curves (Ogive)
Take 40 students’ test scores grouped into bands: 0–10, 10–20, and so on up to 100. Start with a frequency table where each row is a class and the number of students who scored in it. The first running total is just the first class’s frequency, because nothing comes before it. Each later running total is the previous running total plus the current class’s frequency, so you never re-add everything from scratch. By the last band the column should reach 40. If it doesn’t match the number of students you started with, you made an addition slip somewhere along the column.
Now read one point aloud. A point such as (60, 28) says that 28 students scored 60 or less, counting all the bands below as well. It does not say that 28 students scored in the 50–60 band. To find how many fall inside one band, subtract the running total at its bottom edge from the running total at its top edge. That subtraction also recovers the original frequency table from an ogive, which exam questions sometimes ask for.
Because totals can only grow, the line never dips. It starts at zero and finishes at the full count.1Mathematics LibreTexts. Histograms With data clustered in the middle, the line rises slowly, then steeply, then levels off, giving an S-shape. The vertical axis can show counts or proportions from 0 to 1, called relative cumulative frequency.5Statistics LibreTexts. What Is an Ogive Graph? Definition and Uses
How to Draw an Ogive Step by Step
- Make a cumulative frequency table by adding up the frequencies class by class.6CBSE Learning. What Is an Ogive Graph? Definition and Uses
- Mark the top edges of the classes (upper class boundaries) along the horizontal axis.6CBSE Learning. What Is an Ogive Graph? Definition and Uses
- Mark the running totals on the vertical axis, with a scale that fits the full count.1Mathematics LibreTexts. Histograms
- Plot a starting point at the lowest class boundary with a running total of zero.1Mathematics LibreTexts. Histograms
- Plot each class’s top edge against its running total.6CBSE Learning. What Is an Ogive Graph? Definition and Uses
- Check that the last point is the final class’s top edge and the total number of values.1Mathematics LibreTexts. Histograms
- Join the points with a smooth freehand curve, or with straight segments for a cumulative frequency polygon.6CBSE Learning. What Is an Ogive Graph? Definition and Uses
Suppose heights are grouped as 140–150, 150–160 and 160–170, with frequencies of 5, 12 and 8. The running totals are 5, 17 and 25. The plotted points are then (140, 0), (150, 5), (160, 17) and (170, 25). The zero point uses the lower boundary of the first class, because no values fall below it. Writing the points as pairs before drawing helps you catch a wrong top edge or total before it becomes a wrong curve.
The running total includes every value up to the end of a class, so it belongs at that class’s top edge.4CSECHub.com. Cumulative Frequency Curves (Ogive) Plotting at the midpoint, as you would for a frequency polygon, shifts the whole curve and gives wrong medians.
Class labels can complicate this. Classes written as 10–19, 20–29 leave gaps between them. The true top edge is halfway into the gap, so it is 19.5 rather than 19. Put the boundary on the axis so the curve has no gaps, and check whether your textbook expects limits or boundaries in exams.
Scales matter too. If your ogive looks squashed or hard to read, a poor scale is often the cause, though not every data set gives an S-shape. Stretch the vertical axis to use most of the page up to the total count, and use even steps on the horizontal axis even if the classes start far from zero. Label both axes with what they measure.
Finding the Median, Quartiles and Percentiles
For the median, draw a horizontal line from half the total count across to the curve, then drop down to the horizontal axis to read the value.7statisticsfundamentals.com. Ogive Graph Maker — Free Cumulative Frequency Graph Generator Quartiles are the values a quarter, half, and three quarters of the way through the ordered data.8Siyavula. Mathematics Grade 10: 11.3 Ogives So you use a quarter of the total for the lower quartile and three quarters for the upper quartile.7statisticsfundamentals.com. Ogive Graph Maker — Free Cumulative Frequency Graph Generator With 40 values, you read across from counts of 10, 20 and 30.8Siyavula. Mathematics Grade 10: 11.3 Ogives On a 0-to-1 scale, read across from 0.25, 0.50 and 0.75 instead.5Statistics LibreTexts. What Is an Ogive Graph? Definition and Uses
A percentile is the same idea cut into hundredths, so the 90th percentile has 90% of the values at or below it. The median is therefore the 50th percentile and the second quartile, three names for one point.
Here is a full median reading on 40 values. Find 20 on the vertical axis and draw a light horizontal line across until it meets the curve. At the meeting point, draw a vertical line straight down to the horizontal axis. If it lands at 54, the median is 54 marks, meaning about half the students scored below that mark and half above. Repeat from 10 and 30 to get the lower and upper quarter points, and mark all three readings on the graph so a marker can see your method.
The most common mistake is reporting the median’s position as the answer. Many students write 20 because that is where they started.9The Da Vinci Institute for Technology Management. STATISTICS EDUCATION FOR SOUTH AFRICA: LITERACY TO REASONING AND THINKING INTERVENTION But 20 is only the count you start from on the vertical axis. The median is the value you read on the horizontal axis, and the answer should carry the data’s units, like minutes or marks.
For any percentile, start from that percentage of the total count. For the 90th percentile of 200 values, start at 180. Going the other way, find a score on the horizontal axis and read up and across to see its percentile rank.10Pearson. Interpreting Percentiles In Exercises 29–32, use the ogive This answers questions like how many students pay less than a certain rent, or what rent a given number of students stay under.1Mathematics LibreTexts. Histograms
The same graph also gives the interquartile range. Subtract the lower quartile from the upper quartile to get the spread of the middle half of the data. A narrow range means values cluster tightly.
All these answers are estimates. Grouping hides the exact values within each class, and the curve only guesses how values spread inside a class. Two students’ readings may differ slightly, which examiners usually allow. A sharp pencil and careful lines keep errors small.
Ogive vs Histogram
A histogram draws touching bars whose heights are each class’s frequency.1Mathematics LibreTexts. Histograms An ogive, by contrast, plots running totals as points joined by a line.1Mathematics LibreTexts. Histograms Both start from the same frequency table, and the ogive simply needs the extra running-total column.
The shapes line up. The histogram’s tallest bar matches the ogive’s steepest stretch, since many values are being added at once. Where the bars are short, the ogive flattens.
Use a histogram to see where the peak is and the data’s overall shape. Use an ogive for medians, quartiles, and “how many below” questions. An ogive also makes comparing two groups easier, because both curves can share the same axes.
A frequency polygon is a different graph again. It plots class counts at midpoints and rises and falls, while an ogive plots running totals at top edges and only rises. Mixing the two up is a frequent exam slip.
Where Ogives Are Used Beyond the Classroom
Galton first used the name for the cumulative curve of the bell-shaped normal distribution, and it is now used more broadly.11The Math Doctors. What Is an Ogive Graph? Definition and Uses A classroom ogive is built from counted data in classes and has visible corner points or steps. A normal ogive is a smooth mathematical curve calculated from a bell-shaped distribution, with no data table behind it.
In test design, the normal ogive is a natural way to model the chance that someone answers a question correctly.12Taylor & Francis. Normal-Ogive Multidimensional Models The curve links a person’s ability to that chance, so higher ability gives a higher chance. It is S-shaped because very weak test takers almost always miss a question and very strong ones almost always get it right, with change happening in between. Some computer-adaptive tests use it to pick how hard the next question should be.13Psychometrika. Optimal Item Difficulty for the Three-Parameter Normal Ogive Response Model A question where the chance of success is moderate tells the test the most about the person.
You have probably met ogives already. Growth charts show what share of children are below a given height. Exam reports giving percentile ranks are reading an ogive, and income tables saying “X% earn less than” describe the same curve.
A river’s flow-duration curve is a flipped running-total curve showing how often flow exceeds each level.14Cartography and Geographic Information Science. Ogive-based Legends for Choropleth Mapping15Journal of Water Resources Planning and Management. Flow‐Duration Curves. I: New Interpretation and Confidence Intervals It puts river flow on one axis and the percentage of time that flow is equalled or exceeded on the other. Because it counts time above each level rather than below, it slopes downward. A planner can read off how often a river runs high enough to drive a turbine, or how often it falls too low for fish, which helps with hydropower planning, water quality, and protecting habitats.15Journal of Water Resources Planning and Management. Flow‐Duration Curves. I: New Interpretation and Confidence Intervals
Making an Ogive in Excel, Python or R
In a spreadsheet, list class top edges in one column and frequencies in the next. Make a running-total column by adding each frequency to the row above. Add a first row with the lowest boundary and zero. Then insert a line chart with markers, using the top edges as the horizontal axis.
In Python, NumPy’s histogram function counts values per class, and cumsum turns the counts into running totals to plot.16GeeksforGeeks. How to Create an Ogive Graph in Python? In order: count the values per class, which returns the counts and the class edges. Apply cumsum to the counts. Plot the running totals against the edges after the first one, which are the top edges of the classes. Then add a starting point of zero at the first edge so the curve begins at the bottom, as it would on paper.
In R, the agricolae package’s graph.freq and ogive.freq functions build the curve.17Statology. What Is an Ogive Graph? Definition and Uses Install and load the package, store your data in a vector, and use graph.freq to create the grouped frequency object, choosing how classes are made. Pass that object to ogive.freq. R’s version plots relative running totals, from 0 to 1.18R-bloggers. Ogive curve in R Because the vertical axis runs from 0 to 1, multiply a reading by your total count if you need the number of values.
Check any software output: confirm points sit at top edges, not midpoints, and that the last value equals your total count.

