Ogive and Cumulative Frequency Graph Maker
Type class intervals with their frequencies, or paste raw values and group them, and get both ogives on one graph, the cumulative table, and any percentile with the interpolation shown.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Enter the classes
Type one class per line as lower-upper, frequency, import a CSV or pick a sample.
- 2Or group raw data
Switch to raw values, paste the numbers and choose a start and width.
- 3Check the table
Read the boundaries and both cumulative columns in the table tab.
- 4Read the graph
See both ogives, the crossing median and the dashed quartile lines.
- 5Find percentiles
List any percentiles and follow the interpolation working for each one.
- 6Export
Download the table as CSV or the graph as SVG, or print the full report.
About this tool
An ogive is the graph of a cumulative frequency distribution. When data arrive as a frequency table, such as marks grouped into 0-10, 10-20 and so on, the individual values are lost, but the running total still tells you how many observations fall below any boundary. Plotting that running total against the upper class boundaries gives the less-than ogive, a rising curve. Plotting the number of observations at or above each lower boundary gives the more-than ogive, a falling curve. The two always cross at half the total frequency, and the horizontal position of that crossing is the median. This maker draws both curves as a clean SVG graph you can title, label and download, marks the crossing point, and draws dashed read-off lines for the first and third quartiles exactly as a teacher would on graph paper. Behind the graph it builds the full cumulative frequency table with class boundaries, midpoints, relative and cumulative percentages. Inclusive classes written as 10-19, 20-29 are spotted automatically and turned into true boundaries 9.5-19.5, a step students often forget. You can also paste raw numbers, let Sturges' rule suggest a class width, and then edit the generated class table by hand. Every quantile comes with the interpolation formula filled in, so the working can be copied into homework or a report.
How the values are read off
The median, quartiles, deciles and percentiles all use one formula: value = L + (pN − cf) ÷ f × h. Here p is the share you want (0.25 for the first quartile), N the total frequency, L the lower boundary of the class that contains position pN, cf the cumulative frequency of the classes before it, f the frequency of that class and h its width. This is the same straight-line interpolation you perform when you read a value off a hand-drawn ogive, so the graph and the table always agree. The percentile rank box does the reverse: give it a value and it tells you what share of the observations lie below it.
Worked example
The first sample holds the marks of 50 students in six classes of width 10 with frequencies 6, 9, 14, 11, 7 and 3. The less-than cumulative frequencies are 6, 15, 29, 40, 47 and 50, and the more-than column runs 50, 44, 35, 21, 10 and 3. The median sits at position 25, inside the class 20-30, so median = 20 + (25 − 15) ÷ 14 × 10 = 27.14. The first quartile is at position 12.5 in the class 10-20, giving 10 + (12.5 − 6) ÷ 9 × 10 = 17.22, and the third quartile at position 37.5 gives 30 + (37.5 − 29) ÷ 11 × 10 = 37.73. The interquartile range is 20.51, the quartile deviation 10.25 and Bowley's skewness 0.032, so the middle half is almost symmetric. The two ogives cross at (27.14, 25), and a mark of 35 has a percentile rank of 69%.
Limits
Grouped quantiles assume the values are spread evenly inside each class, so they are estimates, not the exact median of the raw data. Open-ended classes such as "60 and above" need a closing boundary before they can be plotted. The tool does not smooth the curve; a freehand ogive will look rounder but gives the same readings.
Worked example
50 students in classes 0-10 to 50-60: median 27.14, Q1 17.22, Q3 37.73, ogives cross at (27.14, 25).
Quick facts
- Category: Math & Science
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: NCERT Class 10 Mathematics, Chapter 13 Statistics
Frequently asked questions
What is the difference between a less-than and a more-than ogive?
The less-than ogive plots how many observations are below each upper class boundary and rises from zero to N. The more-than ogive plots how many are at or above each lower boundary and falls from N to zero.
Why do the two ogives meet at the median?
At the crossing point the number below a value equals the number above it, so each side holds N/2 observations. That is the definition of the median.
How are inclusive classes like 10-19 and 20-29 handled?
There is a gap of 1 between 19 and 20, so the tool moves each limit out by half the gap. The class 10-19 becomes 9.5-19.5, which closes the gaps and gives the correct horizontal positions.
Can I start from raw data instead of a frequency table?
Yes. Choose raw values, paste the numbers and set a start and class width, or press Suggest classes. The tool counts the frequencies, and you can then switch to the class table to edit it.
Do the classes have to be the same width?
No. Ogives and interpolated quantiles work with unequal widths because each class uses its own width h. The tool warns you, because a histogram of such data would need frequency densities.
How do I get the graph into my assignment?
Download it as an SVG file, which stays sharp at any size, or print the report, which contains the table, the quartile summary and the graph on one page.
