Skip to content
OverCalculator
  1. Home
  2. Math & Scientific
  3. Statistics Calculator
Math & Scientific

Statistics Calculator

Summarize a numeric data set with mean, median, mode, range, sample variance, sample standard deviation, sum, minimum, and maximum.

Published

Statistics
Mean
2.0000
Median
2.0000
Mode
No mode
Range
2.0000
Sample standard deviation
1.0000
Sample variance
1.0000
Sample size
3
Sum
6.0000
Minimum
1.0000
Maximum
3.0000

Sample variance and sample standard deviation use n − 1 in the denominator.

Summary preset
The percentage preset preserves percent-specific labels for 2–5 equally weighted values.
Value
Value 1
Value 2
Value 3

Results update as you type.

Statistics Calculator

This statistics calculator turns a list of numbers into a descriptive statistical summary: mean, median, mode, range, sample variance, sample standard deviation, sample size, sum, minimum, and maximum. It is designed for small data checks, classroom problems, lab observations, business metrics, and any situation where you need to understand center and spread before drawing a conclusion.

What descriptive statistics tell you

Descriptive statistics do not prove a theory or predict the future by themselves. They compress a data set into interpretable landmarks. Measures of center tell you where the data tend to sit. Measures of spread tell you whether observations cluster tightly or vary widely. Extremes show the observed limits. Frequency-based measures identify repeated values.

The calculator accepts 1 to 100 valid numeric values. Each number should represent the same kind of measurement: scores, times, prices, lengths, counts, or another consistent variable. The tool does not ask for units, so the units live in your interpretation: a mean of 8 minutes, a median of 6 dollars, or a standard deviation of 4 centimeters. If the values are generated randomly for practice, the random number generator can create inputs. If values have different importance, use the weighted average calculator rather than treating every row equally.

For a percent-specific result, select Average percentages. That preset accepts 2 to 5 equally weighted values and reports Average percentage, Number of values, Sum, and every included percentage with two-decimal percent formatting. For 10%, 20%, and 30%, the sum is 60.00% and the arithmetic average is 20.00%. Percentages outside 0–100 remain valid because changes and relative comparisons may exceed that interval.

Formulas used by the calculator

For a data set with nn values x1,x2,,xnx_1, x_2, \ldots, x_n, the arithmetic mean is:

mean=x1+x2++xnn\text{mean} = \frac{x_1 + x_2 + \cdots + x_n}{n}

The sample variance is calculated from deviations around the mean:

s2=i=1n(xixˉ)2n1s^2 = \frac{\sum_{i=1}^{n}(x_i - \bar{x})^2}{n - 1}

The sample standard deviation is the square root of the sample variance:

s=s2s = \sqrt{s^2}

where:

  • xix_i is one observed value.
  • nn is the number of values.
  • xˉ\bar{x} is the sample mean.
  • s2s^2 is sample variance, in squared units.
  • ss is sample standard deviation, in the original units.

The median is found after sorting the values. The mode is any value with the highest repeat count, provided it repeats at least twice. Range is maximum minus minimum.

Checked example

Suppose the values are 4, 6, 6, 10, and 14. The sample size is 5 and the sum is 40.

mean=405=8\text{mean} = \frac{40}{5} = 8

Sorted order is already 4, 6, 6, 10, 14, so the median is the middle value, 6. The value 6 appears twice while the others appear once, so the mode is 6. The range is:

range=144=10\text{range} = 14 - 4 = 10

For sample variance, subtract the mean from each value and square the deviations:

(4)2+(2)2+(2)2+22+62=16+4+4+4+36=64(-4)^2 + (-2)^2 + (-2)^2 + 2^2 + 6^2 = 16 + 4 + 4 + 4 + 36 = 64

Because this is a sample calculation, divide by n1=4n - 1 = 4:

s2=644=16s^2 = \frac{64}{4} = 16

Then the sample standard deviation is:

s=16=4s = \sqrt{16} = 4

The calculator displays mean 8.0000, median 6.0000, mode 6.0000, range 10.0000, sample variance 16.0000, and sample standard deviation 4.0000, matching its four-decimal formatting.

Choosing the right summary

The mean uses every value, which is a strength when the data are roughly balanced and a weakness when outliers dominate. A single unusually large salary, invoice, or wait time can pull the mean far above a typical observation. The median is more resistant to extremes because it depends on position after sorting. The mode is useful for categories encoded as numbers or repeated exact measurements, but continuous measurements often have no mode because every value differs slightly.

Sample standard deviation is most meaningful when the data represent a sample from a larger process. It estimates how far observations typically fall from the mean in the same units as the data. Variance is mathematically central but uses squared units, so it is often less intuitive. For percentage summaries, the average percentage calculator is a better fit than mixing percent values into an unrelated data list. For percent-of-total questions, use the percentage calculator.

Domain, edge cases, and mistakes

A single value has a mean, median, sum, minimum, and maximum equal to that value; its range is zero. But the sample variance and sample standard deviation are not available because dividing by n1n - 1 would divide by zero. Negative numbers and decimals are valid. The calculator does not remove outliers or missing values automatically; blank or nonnumeric entries make the input invalid.

Avoid mixing units in one data set. Do not combine seconds and minutes, dollars and thousands of dollars, or percentages and raw counts unless you first convert them to a common scale. Also avoid rounding intermediate values before calculating spread, because squared deviations can amplify small rounding differences. Finally, remember that this is descriptive analysis. A small sample can have a neat-looking mean and standard deviation while still being too limited for a strong statistical claim.

Sources

Frequently asked questions

Which statistics are included in the results?
The results include the mean, median, mode, range, sample standard deviation, sample variance, sample size, sum, minimum, and maximum. Together those values describe the center of the data, the spread around that center, repeated values, and the endpoints of the observed data set.
Does it use sample or population standard deviation?
It uses sample variance and sample standard deviation whenever there is more than one value. That means it divides squared deviations by one less than the sample size. With exactly one value, sample variance and sample standard deviation are reported as not available.
How is the median calculated?
The calculator sorts the values from smallest to largest. If the count is odd, the median is the middle sorted value. If the count is even, the median is the average of the two middle sorted values, which can produce a value not originally in the data.
What happens when there are several modes?
If multiple values tie for the highest frequency and that frequency is greater than one, the calculator lists all of them. If every value occurs only once, it reports no mode because no value is more common than the others.
Can I enter negative numbers or decimals?
Yes. Any valid numbers are accepted, including negative values and decimals. The results keep the same measurement context as the input data. For example, if values are temperatures in degrees Celsius, the mean, median, minimum, and maximum are also degrees Celsius.
Can I average percentages here?
Yes. Select Average percentages and enter 2 to 5 equally weighted percentage values. The preset preserves percentage-specific labels, displays the sum and every included value, and does not restrict entries to the 0–100 range.
When should I avoid relying on the mean alone?
Avoid relying only on the mean when the data are skewed or contain extreme outliers. In those cases, compare the median and range, and look at the sample standard deviation. The mean is still useful, but it may not represent a typical observation.

Related calculators

Statistics Calculator updated at