Statistics Calculator

Mean

2.5

Sample standard deviation

1.291

All results
Calculator inputs
?

Enter 1–5,000 finite numbers separated by commas, spaces, semicolons or newlines. Use a dot for decimals and no thousands separators. Every entry has equal weight; magnitude is limited to 1e150.

Center and spread on one scale

The box spans Q1 to Q3. The vertical line marks the median; the teal dot marks the mean.

How often does each value occur?

Exact frequencies, not grouped histogram bins. Every distinct value is shown.

11
21
31
41

Frequency and relative frequency

Counts sum to n; percentage shares sum to 100% before rounding. No observations are discarded.

Frequency and relative frequency
ValueCountShare
1125 %
2125 %
3125 %
4125 %

Sorted data and squared deviations

Every observation appears, including duplicates. CSV and print retain the full list; use squared deviations for either variance denominator.

Sorted data and squared deviations
PositionValueValue − meanSquared deviation
11-1.52.25
22-0.50.25
330.50.25
441.52.25

Which denominator does this statistic use?

Outlier fences use the explicitly stated median-of-halves quartiles; they are not a normality test.

Which denominator does this statistic use?
StatisticNumeratorDenominatorResult
Mean1042.5
Population variance541.25
Sample variance531.67
Lower outlier fenceQ1 − 1.5 × IQRNot a division-1.5
Upper outlier fenceQ3 + 1.5 × IQRNot a division6.5

What changes when one large observation is added?

An independent worked example, not an edit to your input. The added value 30 changes the mean from 5 to 10 while the median stays 5.

What changes when one large observation is added?
Example dataMeanMedianRange
4, 5, 5, 6552
4, 5, 5, 6, 3010526

How to use the Statistics Calculator

Calculate descriptive statistics, sample and population variance, geometric mean and quartiles. Inspect a frequency chart, sorted data and the calculation ledger.

  1. 1. Enter your inputs

    Start with Numbers. Use the units shown beside each field and open the field help when you need its assumptions.

  2. 2. Read the results

    Results update as you enter valid values. Review Mean, Sample standard deviation, Population standard deviation. Keep the entered units and settings consistent when comparing scenarios.

  3. 3. Check the calculation

    Binary floating-point calculations; values must have magnitude at most 1e150. Quartiles can differ from spreadsheet interpolation methods. The 1.5 × IQR fences are descriptive flags, not grounds to delete observations.

    See the worked example and method

Understanding the Statistics Calculator: uses, inputs and results

The Statistics Calculator summarizes a list of observations through central tendency, spread and range in one consistent calculation.

What does a Statistics Calculator tell me?

A Statistics Calculator compresses a list into quantities that describe its size, center and spread. Count and sum establish how much data you entered. Mean, median and repeated modes summarize location; variance, standard deviation, range and quartiles describe different aspects of variability.

For the data 1, 2, 3 and 4, the sum is 10 and the mean is 2.5. The squared distances from that mean total 5. Population variance is therefore 5/4 = 1.25; sample variance is 5/3, approximately 1.666667. The ledger makes both denominators visible.

Should I use sample or population standard deviation?

Use the population formula to describe the entire finite set you intend to summarize: divide the squared-deviation total by n. The conventional sample variance uses n − 1 when estimating population variance from a sample. Take the square root of the chosen variance to return to the original measurement unit.

For 1, 2, 3 and 4, the population standard deviation is about 1.118034 and the sample standard deviation about 1.290994. A single observation has population spread zero, but sample variance is undefined because its denominator would be zero. The calculator keeps that distinction instead of returning a fabricated sample value.

Further reading: NIST: measures of location · NIST: measures of scale

What do the Statistics Calculator inputs mean?

Numbers
Enter 1–5,000 finite numbers separated by commas, spaces, semicolons or newlines. Use a dot for decimals and no thousands separators. Every entry has equal weight; magnitude is limited to 1e150.

When is the Statistics Calculator useful?

Describe numerical observations

Enter the dataset to review mean, median, modes and spread together.

Compare distributions

Try another dataset with a similar mean to see how its range or standard deviation can differ.

Statistics Calculator: a practical reference

The fixed “Known sample” example on this page produces the results below. It illustrates the stated model; your live results above use your current inputs.

Numbers
1, 2, 3, 4
Mean
2.5
Sample standard deviation
1.291
Review the example inputs and calculation

Use the result in context

Binary floating-point calculations; values must have magnitude at most 1e150. Quartiles can differ from spreadsheet interpolation methods. The 1.5 × IQR fences are descriptive flags, not grounds to delete observations.

Try the Statistics Calculator·Read the subject guide·Explore a related calculator

Worked example: Statistics Calculator

Known sample. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.

View the example inputs
Numbers
1, 2, 3, 4
Calculated results for the fixed example
Calculated quantityExample result
Mean2.5
Sample standard deviation1.291
Population standard deviation1.118
Median2.5
ModeNo repeated values
Count4
Sum10
Population variance1.25

Statistics Calculator: distinguish a data summary from a statistical conclusion

What does a Statistics Calculator tell me?

A Statistics Calculator compresses a list into quantities that describe its size, center and spread. Count and sum establish how much data you entered. Mean, median and repeated modes summarize location; variance, standard deviation, range and quartiles describe different aspects of variability.

For the data 1, 2, 3 and 4, the sum is 10 and the mean is 2.5. The squared distances from that mean total 5. Population variance is therefore 5/4 = 1.25; sample variance is 5/3, approximately 1.666667. The ledger makes both denominators visible.

NIST: measures of scale

Should I use sample or population standard deviation?

Use the population formula to describe the entire finite set you intend to summarize: divide the squared-deviation total by n. The conventional sample variance uses n − 1 when estimating population variance from a sample. Take the square root of the chosen variance to return to the original measurement unit.

For 1, 2, 3 and 4, the population standard deviation is about 1.118034 and the sample standard deviation about 1.290994. A single observation has population spread zero, but sample variance is undefined because its denominator would be zero. The calculator keeps that distinction instead of returning a fabricated sample value.

When should I calculate a geometric mean?

Use a geometric mean for meaningful positive ratios or multiplicative factors. It is the nth root of the product; this calculator evaluates the equivalent average of logarithms to avoid building an enormous intermediate product. For 2 and 8, the geometric mean is 4, while the arithmetic mean is 5.

Convert percentage changes into growth factors before averaging multiplicative changes. A 20% rise followed by a 20% fall means factors 1.2 and 0.8: their product is 0.96, not unchanged value. Zero or negative observations make the strictly positive geometric-mean model unavailable, while the other descriptive statistics remain usable.

What is the difference between sum of squares and squared deviations?

Sum of squares means adding x² for each original observation. The squared-deviation total instead adds (x − mean)². For 1, 2, 3 and 4, those totals are 30 and 5 respectively. Only the centered total of 5 is the numerator of the variance formulas shown here.

The full sorted-data ledger includes each observation, its signed distance from the mean and its squared distance. Summing the last column checks the variance numerator. Display rounding can create a small reconciliation difference; downloaded numeric data preserves calculation precision.

How do quartiles and a frequency table help?

Quartiles describe positions in the sorted data rather than distances from the mean. This tool takes the median of each half, excluding the center observation for odd-sized lists. Its interquartile range is Q3 − Q1. For a single value, both quartiles equal that value.

The 1.5 × IQR fences flag distances relative to that middle span. They are a descriptive convention, not proof that a measurement is wrong. The frequency table offers another view: identical values collapse into one row with their counts, while the full observation table retains every entry.

How can I use these statistics without overinterpreting them?

Compare like with like: the same measurement definition, units and collection period. A customer sample can summarize the customers measured, but descriptive results alone do not demonstrate that it represents every customer or establish a causal explanation for a change.

Use the Statistics Calculator to check a data import, compare spread across batches or explain why a mean is above a median. For uncertainty about an estimated mean, use an appropriate inference method and its assumptions; the standard deviation of observations is not automatically the uncertainty of their average.

Formula and calculation method

Arithmetic mean = sum ÷ count. Sort numbers before locating the median; an even count uses the average of its two middle values.

Modes are all values tied for the highest repeated frequency. If every value appears once, the display says no repeated values.

Population variance divides the squared-deviation total by n; sample variance divides by n−1 and needs at least two observations.

Quartiles use medians of the lower and upper halves, excluding the middle observation when n is odd. A singleton uses its only value for both quartiles.

The geometric mean is calculated from logarithms for strictly positive observations. An undefined geometric mean does not invalidate other statistics.

Scope and Limitations

  • Binary floating-point calculations; values must have magnitude at most 1e150. Quartiles can differ from spreadsheet interpolation methods. The 1.5 × IQR fences are descriptive flags, not grounds to delete observations.

Reference Sources

Frequently asked questions

Why are two variances shown?

Population variance divides by n; sample variance divides by n−1. The choice depends on the statistical question, not which result is smaller.

Why is sample standard deviation undefined for one value?

Its variance denominator n−1 is zero when n is one.

Why is geometric mean unavailable for my list?

This implementation requires strictly positive observations for its logarithmic geometric mean. Other descriptive statistics still calculate.

Are the quartiles spreadsheet-compatible?

They use the stated median-of-halves convention. Spreadsheet percentile interpolation can legitimately return different quartiles.

Does a small standard deviation prove accurate measurements?

No. Small spread can coexist with systematic bias; variability and agreement with a reference are different questions.