HomeCalculatorsMathStatistics Calculator

Statistics Calculator

Math

Calculate mean, median, mode, range, and standard deviation for up to 10 numbers. Essential for students, data analysts, and researchers.

4
8
15
16
23

Mean (Average)

0
Median
0
Mode (most frequent)
0
Range (max − min)
0
Standard Deviation
0
Variance
0

What is a Statistics?

A Statistics Calculator computes the five fundamental descriptive statistics — mean, median, mode, range, and standard deviation — for a set of up to 10 numbers. These measures describe the central tendency (where data clusters) and dispersion (how spread out data is) of any dataset.

Descriptive statistics are foundational in:

  • School maths (NCERT Classes 7–10, CBSE and state boards)
  • Data science and analytics — summarising datasets before deeper analysis
  • Finance — average returns, volatility (standard deviation of returns)
  • Quality control — measuring process consistency in Indian manufacturing
  • Research — presenting survey and experimental data

Enter up to 10 values, select how many you are using, and the calculator returns all six measures instantly with step-by-step working showing the sorted dataset, sum, median identification, and standard deviation computation.

See the Average Calculator for a focused mean calculator, and the Percentage Calculator for converting statistical results to percentages.

How to use this Statistics calculator

  1. Select the Number of Values (2–10) from the dropdown. Only this many inputs will be used.
  2. Enter your data values in Value 1 through the number you selected.
  3. Results update instantly: Mean (highlighted), Median, Mode, Range, Standard Deviation, and Variance.
  4. Open the Steps panel to see the sorted dataset, sum calculation, and step-by-step working.
  5. The Bar chart shows your input values to visualise the data distribution.

Formula & Methodology

Given dataset of n values {x₁, x₂, ..., xₙ}:

Mean: μ = (x₁ + x₂ + ... + xₙ) / n

Median: Sort the values. If n is odd: median = middle value. If n is even: median = average of two middle values.

Mode: Most frequently occurring value. If all values are unique, mode = first value.

Range: Max(x) − Min(x)

Variance (population): σ² = Σ(xᵢ − μ)² / n

Standard Deviation (population): σ = √(σ²)

Worked example — {4, 8, 15, 16, 23} (n = 5):
Mean     = (4+8+15+16+23) / 5 = 66 / 5 = 13.2 Sorted   = {4, 8, 15, 16, 23} Median   = 15 (middle of 5 values) Mode     = none (all unique) — returns 4 Range    = 23 − 4 = 19 Variance = [(4−13.2)² + (8−13.2)² + (15−13.2)² + (16−13.2)² + (23−13.2)²] / 5          = [84.64 + 27.04 + 3.24 + 7.84 + 96.04] / 5          = 218.8 / 5 = 43.76 Std Dev  = √43.76 = 6.615
Frequently Asked Questions
What is the mean and how is it calculated?
The mean (also called the arithmetic average) is calculated by adding all values in a dataset and dividing by the count of values. For the dataset {4, 8, 15, 16, 23}: Sum = 66, Mean = 66 ÷ 5 = 13.2. The mean is sensitive to outliers — a single very large or very small value can pull the mean significantly away from the centre of most values, which is why median is often preferred for skewed data.
What is the median and when should it be used?
The median is the middle value when data is sorted in order. For an odd count of values, it is the exact middle value. For an even count, it is the average of the two middle values. For example, sorted {4, 8, 15, 16, 23}: median = 15 (the 3rd of 5 values). The median is resistant to outliers and is preferred for skewed distributions — for example, median household income in India is more representative than mean income because a few very high earners pull the mean up.
What is the mode and when does it apply?
The mode is the most frequently occurring value in a dataset. For {3, 5, 5, 7, 9}: mode = 5 (appears twice). A dataset with no repeating values has no mode; a dataset with two equally frequent values is bimodal. Mode is most useful for categorical data (e.g., most common shoe size, most frequent exam score) and for understanding which value dominates a distribution. If all values are unique, the calculator returns the first value as mode.
What is the range and what does it tell you?
Range = maximum value − minimum value. It measures the total spread of the dataset. For {4, 8, 15, 16, 23}: Range = 23 − 4 = 19. Range is easy to compute but highly sensitive to outliers — a single extreme value makes the range large even if most values are clustered together. Standard deviation is a better measure of typical spread because it accounts for all values.
What is standard deviation and how is it different from variance?
Standard deviation measures the average distance of each value from the mean, giving a sense of how 'spread out' the data is. Variance is standard deviation squared (σ²). This calculator uses population standard deviation (σ = √(Σ(x−μ)² / n)), which is appropriate when your dataset is the entire population. For a sample (a subset of a larger population), use sample standard deviation (divide by n−1 instead of n), which gives a slightly larger value.
What is the difference between population and sample standard deviation?
Population standard deviation (σ) divides by n and is used when you have data for the entire group. Sample standard deviation (s) divides by n−1 and is used when your dataset is a sample from a larger population — the n−1 correction (Bessel's correction) makes the estimate unbiased. For example, if you have marks of all 40 students in one class, use population σ. If you surveyed 40 students out of 10,000, use sample s. This calculator computes population standard deviation.
How do I use the Statistics Calculator?
Select the number of values (2–10) from the 'Number of Values' dropdown. Enter your data values in the Value 1 through Value N fields. Only the values up to your selected count are used — extras are ignored. The results update instantly showing mean, median, mode, range, standard deviation, and variance. The Steps panel shows the sorted dataset, sum, and calculation steps.
What are these statistics used for in real life?
Mean is used for averages everywhere: average temperature, average sales, average exam marks. Median is used in economics (median income, median home price in cities like Mumbai or Bengaluru). Mode identifies the most popular choice (most common dress size in retail, most frequent defect in manufacturing quality control). Standard deviation is used in finance (volatility of stock returns), quality control (six-sigma process control), and education (standardising test scores).
How do mean, median, and mode relate to each other?
In a perfectly symmetrical (normal) distribution, mean = median = mode. When data is right-skewed (tail on the right, like income distributions in India), mean > median > mode. When left-skewed (tail on the left), mean < median < mode. This relationship tells you the shape of your data: if mean and median are similar, the data is roughly symmetric; a large gap between them indicates skewness.
What statistical topics are covered in Indian school curricula?
Mean, median, mode, and range are introduced in Class 7–8 under the NCERT Statistics chapter and are core topics through Classes 9–10. Class 9 introduces frequency distribution tables, cumulative frequency, and graphical methods (histograms, frequency polygons, ogives). Class 10 covers mean from grouped data (assumed mean method), median from ogive, and mode from histogram. Class 11–12 introduces standard deviation, variance, and coefficient of variation.
Can I calculate these statistics for a larger dataset?
This calculator supports up to 10 values. For larger datasets, use spreadsheet tools: in Microsoft Excel or Google Sheets, use =AVERAGE(), =MEDIAN(), =MODE(), =STDEV() (sample) or =STDEVP() (population), and =VAR() or =VARP() for variance. For data science and research in India, Python libraries (NumPy, Pandas) are widely used: np.mean(), np.median(), np.std(), and scipy.stats.mode() handle datasets of any size.
What is coefficient of variation and how is it related to standard deviation?
Coefficient of Variation (CV) = (Standard Deviation / Mean) × 100%. It expresses standard deviation as a percentage of the mean, making it useful for comparing variability across datasets with different units or scales. For example, a CV of 15% means the data points are typically 15% of the mean away from the average. CV is used in finance (risk per unit of return), agriculture (crop yield variability), and quality control (comparing consistency across production lines).