Quick Answer: Statistics formulas turn a list of numbers into a few useful figures. The core set is mean (sum divided by n), weighted mean, variance (average squared distance from the mean), standard deviation (its square root) and coefficient of variation (SD divided by mean). This guide explains each with Indian examples.
Key takeaways:
- Mean = sum of values / number of values.
- Variance uses squared deviations; standard deviation is its square root.
- Samples divide by n-1, populations divide by n.
- Grouped data uses class mid-points and frequencies.
- Coefficient of variation compares spread across different units or scales.
Formulas scare many learners, yet the ones used in everyday statistics are short. Most of them are only addition, subtraction, squaring and division. The trouble starts when symbols such as sigma, x-bar and mu appear without a plain explanation. This guide removes that fear by writing every formula in words first and then in simple text symbols.
We use examples close to Indian life: marks with different weightage, household electricity units in a mohalla, and the return swing of two mutual funds. These match the style of questions in NCERT Class 11 statistics and the type of data MoSPI and the NSO release. After each formula you can test your answer on the free statistics calculator to see whether your working is right.
The Basic Notation in Plain English
Before the formulas, you need five symbols. Once you know them, every formula reads like a short sentence.
- x is one value in your data, such as one student’s mark.
- n (or N) is how many values you have.
- Sum (the Greek sigma) means add everything that follows.
- x-bar is the mean of a sample, while mu is the mean of a whole population.
- s is the sample standard deviation, while sigma is the population standard deviation.
The difference between sample and population shows up again and again. A population covers every item you care about. A sample is a part of it. Surveys by the NSO use samples, because asking every household in India is impossible. The Census, on the other hand, aims to count everyone.
Formula 1: Mean and Weighted Mean
The simple mean formula is: mean = (x1 + x2 + … + xn) / n. You add the values and divide by the count. It treats every value as equally important.
Sometimes values are not equally important. Your final result in a course may count the annual exam more than a unit test. In that case use the weighted mean: weighted mean = sum of (weight x value) / sum of weights. A weighted average multiplies each value by its importance before adding.
Worked Example 1: Weighted marks
A Class 12 student scores 78 in unit tests (weight 30 percent), 70 in the half-yearly exam (weight 30 percent) and 64 in the annual exam (weight 40 percent).
- Multiply: 78 x 0.30 = 23.4; 70 x 0.30 = 21.0; 64 x 0.40 = 25.6.
- Add: 23.4 + 21.0 + 25.6 = 70.0.
- The weights add up to 1.00, so no further division is needed.
The weighted mean is 70. A plain mean of 78, 70 and 64 would be 70.67, which overstates the result because it gives the weak annual score too little say. For quick checks you can use a weighted average calculator.
Formula 2: Variance and Standard Deviation
Variance measures how far values lie from the mean, on average, using squares so that negative and positive gaps do not cancel out. The two versions are:
- Population variance = sum of (x – mu)^2 / N
- Sample variance = sum of (x – x-bar)^2 / (n – 1)
Standard deviation is simply the square root of variance. It brings the answer back to the original unit. If your data is in rupees, variance is in rupees squared, which is hard to picture, while standard deviation is in rupees.
Why n-1 for samples? A sample tends to sit closer to its own mean than to the true population mean, so dividing by n would understate the spread. Dividing by n-1 corrects that small bias. When n is large, the difference between n and n-1 becomes tiny.
| Measure | Formula in words | Unit |
|---|---|---|
| Mean | Sum of values / n | Same as data |
| Population variance | Sum of squared deviations / N | Unit squared |
| Sample variance | Sum of squared deviations / (n-1) | Unit squared |
| Standard deviation | Square root of variance | Same as data |
| Coefficient of variation | (SD / mean) x 100 | Percent |
If you want to practise variance on its own, a variance calculator lets you see each step of the result.
Formula 3: Grouped Data
When data is large, it is shown in a frequency table with classes such as 0-100 and 100-200. You no longer know the exact values, so you use the class mid-point as a stand-in. The formulas are:
- Mean = sum of (f x mid-point) / sum of f
- Median = L + ((N/2 – cf) / f) x h
- Mode = L + ((f1 – f0) / (2 x f1 – f0 – f2)) x h
Here L is the lower limit of the median or modal class, cf is the cumulative frequency before that class, f is the frequency of the class, h is the class width, f1 is the modal class frequency, f0 is the frequency before it and f2 is the frequency after it.
Worked Example 2: Electricity units in 50 households
A housing society records monthly electricity use (in units, where one unit is one kWh) for 50 flats:
| Class (units) | Frequency f | Mid-point x | f x x |
|---|---|---|---|
| 0-100 | 8 | 50 | 400 |
| 100-200 | 14 | 150 | 2,100 |
| 200-300 | 18 | 250 | 4,500 |
| 300-400 | 10 | 350 | 3,500 |
| Total | 50 | 10,500 |
Mean: 10,500 / 50 = 210 units.
Median: N/2 = 25. The cumulative frequencies are 8, 22, 40, 50, so the median class is 200-300 with cf = 22 before it. Median = 200 + ((25 – 22) / 18) x 100 = 216.67 units.
Mode: The modal class is 200-300 (f1 = 18, f0 = 14, f2 = 10). Mode = 200 + ((18 – 14) / (36 – 14 – 10)) x 100 = 200 + 33.33 = 233.33 units.
Standard deviation: The gaps of the mid-points from 210 are -160, -60, 40 and 140. Squares are 25,600; 3,600; 1,600; 19,600. Multiply by f: 204,800; 50,400; 28,800; 196,000. Their sum is 480,000. Divide by 50 to get 9,600, and the square root is about 97.98 units.
At a tariff of Rs 7 per unit (an illustrative rate), the mean bill is about Rs 1,470 and the typical gap from it is about Rs 686. The society can plan its common-area budget around those figures.
Formula 4: Coefficient of Variation
Standard deviation alone cannot compare two data sets with different means or units. A spread of 5 means a lot when the mean is 10, and almost nothing when the mean is 1,000. The coefficient of variation (CV) fixes this: CV = (standard deviation / mean) x 100.
For the electricity data, CV = 97.98 / 210 x 100 = 46.66 percent. This is a large spread, which means usage differs a great deal from flat to flat.
Worked Example 3: Comparing two mutual funds
Over several years, Fund A in an equity scheme has a mean annual return of 14 percent with SD 7 percent. Fund B, a hybrid scheme, has a mean of 11 percent with SD 3.3 percent. These are illustrative numbers, not real schemes.
- CV of Fund A = 7 / 14 x 100 = 50 percent.
- CV of Fund B = 3.3 / 11 x 100 = 30 percent.
- Fund B has less risk for each unit of return.
An investor who dislikes ups and downs may prefer Fund B, even though Fund A has the higher average. Always check the risk offered in the SEBI-mandated scheme documents before investing, because past returns do not guarantee future ones.
Key takeaway: Use the mean for the level, the standard deviation for the spread, and the coefficient of variation to compare spreads on a fair basis.
Other Useful Formulas
A few more formulas appear often in school and college work. The range is the largest value minus the smallest. The interquartile range is Q3 minus Q1, and it shows the spread of the middle half of the data. The z-score is (x – mean) / SD, and it tells you how many standard deviations a value sits from the mean. If a student scores 82 in a test with mean 70 and SD 8, the z-score is 1.5, which is well above average.
Quartiles divide sorted data into four equal parts. The median is Q2. Percentiles do the same in 100 parts. Boards and entrance exam bodies often report scores as percentiles, so this idea is worth knowing.
Benefits of Knowing the Formulas
- Deeper understanding: You know what a tool is doing instead of trusting a black box.
- Error detection: If a spreadsheet shows SD larger than the range, you will know something is wrong.
- Exam readiness: Grouped data formulas are a regular feature of board and entrance papers.
- Fair comparison: CV and z-scores let you compare things measured on different scales.
- Better reporting: You can describe your own business or study data with proper measures.
Challenges and Limitations
Formulas assume clean data. If your list has typing errors or mixed units, the formula will still give an answer, but a wrong one. Grouped data formulas are only estimates, because they replace real values with mid-points. The median and mode formulas for grouped data also assume values are spread evenly within a class, which may not be true.
The mean and standard deviation are pulled strongly by outliers. For data like household income or property prices, where a few huge values exist, the interquartile range and median are safer. Also remember that a formula describes the data you have; it does not prove anything about the data you do not have.
Common Mistakes to Avoid
- Using n for a sample. This gives a spread that is a little too small.
- Forgetting to square deviations. Without squaring, positive and negative gaps cancel to zero.
- Using class limits instead of mid-points. Grouped mean needs the mid-point of each class.
- Weights that do not add up. If weights are percentages, check they total 100.
- Comparing SDs of different scales. Use CV when the means differ widely.
- Mixing up variance and SD. Report the square root if you want the original unit.
Best Practices
- Write each formula in words before putting numbers into it.
- Build a small working table with columns for x, deviation and squared deviation.
- Keep four decimal places until the final answer, then round.
- State clearly whether you treated the data as sample or population.
- Cross-check hand results with a calculator tool.
- Look at a quick list or chart of your data to catch outliers before applying formulas.
Conclusion
Statistics formulas are tools with clear jobs. The mean gives the centre, weighted mean handles unequal importance, variance and standard deviation show the spread, and the coefficient of variation puts different data sets on one scale. Our marks, electricity and mutual fund examples show that each formula is just a few steps of arithmetic. Practise with small tables, and use technology to confirm your work and save time on large data.
- Try the free Statistics Calculator →
- How to Calculate Mean, Median, Mode and Standard Deviation
- What Is a Statistics Calculator? A Simple Guide
- Statistics Calculator: Free Online Tool and Guide
- Statistics Examples for Beginners with Indian Data
- Range Calculation Examples for Beginners with Indian Data
- How to Calculate Range in Statistics: Step by Step with Examples
- More Statistics & Data guides
FAQs
What is the formula for standard deviation?
Standard deviation is the square root of variance. Variance is the sum of squared deviations from the mean, divided by n for a population or by n-1 for a sample.
What is the difference between population and sample variance?
Population variance divides by N because you have every value. Sample variance divides by n-1 to correct for the fact that a sample usually understates the true spread.
How do I find the mean of grouped data?
Find the mid-point of each class, multiply it by the class frequency, add the products and divide by the total frequency. This gives an estimate of the mean, not the exact value.
When should I use the coefficient of variation?
Use it when you want to compare the spread of two data sets with different means or units, such as returns of two funds. A lower CV means less variation for each unit of average.
What does a z-score of 2 mean?
It means the value sits two standard deviations above the mean. In many bell-shaped data sets, only about 2.5 percent of values lie that high.
Can I trust a calculator for these formulas?
Yes, as long as you enter clean data and pick the right option for sample or population. Check one small example by hand to be sure the tool matches your method.