Count equal values, then divide by the total
For observations, each entered row contributes one count to its value. For explicit frequency pairs, each value contributes its supplied exact nonnegative count. Equal values are combined and displayed in ascending order. A zero count contributes nothing, while its original input row stays identifiable in the steps.
For each distinct value, relative frequency is its count divided by the total count W. Cumulative frequency includes that value and all smaller values, then divides by W. The final cumulative fraction is 1. The number of entered rows and the total frequency are separate quantities.
Worked example: 3, 1, 3, 2, 1, 3
There are six observations. In ascending order the distinct values 1, 2 and 3 have counts 2, 1 and 3. Their relative frequencies are 1/3, 1/6 and 1/2.
The cumulative fractions are 2/6 = 1/3, 3/6 = 1/2 and 6/6 = 1. Entering the three value/count pairs (1,2), (2,1), (3,3) gives the same frequency table from three physical input rows.
Load example fills the form without calculating. Choose its primary action to work it out.
Sources and related calculators
- OpenStax Introductory Statistics: frequencies and proportions — checked 1 November 2026.
- NumPy covariance: frequency weights as repetition counts — checked 1 November 2026.
The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.