Grouped Data Mean Calculator
Enter class midpoints and frequencies to find the grouped mean.
Result
How it is calculated
When data are only available as classes, each class is represented by its midpoint m, the value halfway between its lower and upper boundary. The estimated mean is mean = Σ(f × m) ÷ Σf, where f is the frequency of the class. The tool multiplies each midpoint by its frequency, adds the products and divides by the total frequency. Midpoints and frequencies are two lists, separated by commas or spaces, with the same number of entries in the same order. Frequencies are counts of observations, so each must be a whole number of zero or more; a fractional or negative frequency, mismatched lists or a total frequency of zero shows no result. Midpoints may be any numbers. Use a dot for decimals, since a comma separates entries. The answer is an estimate and will differ a little from the mean of the raw data.
Worked example
Ages are grouped into the classes 0–10, 10–20, 20–30 and 30–40, with midpoints 5, 15, 25 and 35 and frequencies 4, 10, 8 and 3. Multiply each midpoint by its frequency: 5 × 4 = 20, 15 × 10 = 150, 25 × 8 = 200, 35 × 3 = 105. Sum of products: 20 + 150 + 200 + 105 = 475. Total frequency: 4 + 10 + 8 + 3 = 25. Grouped mean: 475 ÷ 25 = 19.00. The estimated mean age is 19.00.
Common mistakes
- Entering the class boundaries instead of the midpoints. For a class 10–20 enter 15, not 10 or 20, otherwise the mean is biased up or down.
- Giving the lists different lengths, for example four midpoints and five frequencies. The counts must match or there is no result.
- Entering a percentage or relative frequency such as 10.5 or 0.25 as a frequency. Frequencies are whole counts, so a fractional value shows no result; enter the actual number of observations.
- Typing the classes in a different order in the two lists, so that a midpoint is paired with the wrong frequency.
- Entering cumulative frequencies instead of the class frequencies. The formula needs the count in each class alone, not the running totals.
About this calculator
When raw data points are not available — only a frequency table grouping values into class intervals, as is common with census brackets, income surveys or exam score ranges — you cannot compute an ordinary mean directly. Instead, statisticians estimate it using the grouped mean formula, Σ(f·m) / Σf, where m is each class's midpoint (standing in for every value inside that class) and f is that class's frequency.
This is an approximation, since it assumes values are evenly spread around each class's midpoint, but it is the standard method for summarizing tabulated data in introductory statistics, and it is exactly how organizations that only publish age brackets or income brackets, rather than individual respondent data, still report an average.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Be the first to comment.