GALAXY OF TOOLS

SCIENCE SECTOR

Statistics Calculator

Mean, median, mode, SD, quartiles, IQR, outliers, skewness, kurtosis, histogram and box plot from pasted numbers.

All statistics
Frequency table
Value / classCount%Cumulative %

Sample statistics use n − 1 (Bessel's correction); population statistics use n. Skewness and kurtosis are the sample-adjusted G1 and G2 (Excel SKEW and KURT). Everything runs in your browser.

Runs entirely in your browser. Nothing you enter or upload is sent to a server.

Statistics calculator: every descriptive statistic from one paste

This statistics calculator takes a list of numbers in any format — copied from a spreadsheet column, typed with commas, or pasted one per line — and returns the complete descriptive summary: count, sum, mean, median, mode, minimum, maximum, range, sample and population variance and standard deviation, standard error, coefficient of variation, quartiles, interquartile range, outliers by the 1.5 × IQR rule, skewness, kurtosis, mean and median absolute deviation, and geometric and harmonic means.

Because quartiles are defined differently by different textbooks and programs, you can choose the method: linear interpolation (R type 7 and Excel QUARTILE.INC, the default), the Minitab/SPSS/QUARTILE.EXC method (type 6), or the median-of-halves rule used by TI-83 calculators. A histogram with automatic class widths and a box-and-whisker plot are drawn as SVG, and a frequency table lists each value or class with its percentage and cumulative percentage.

The data stay in your browser. The statistics table can be copied as tab-separated text straight into a report or spreadsheet.

How to use the Statistics Calculator

  1. Paste or type your numbers into the data box. Spaces, commas, semicolons, tabs and new lines all work as separators; anything that is not a number is ignored and listed in a warning.
  2. Choose a quartile method if your course or software uses a specific one. The default is linear interpolation (type 7).
  3. Read the headline figures (mean, median, mode, sample SD, count) and the full table grouped into centre, spread, quartiles and shape.
  4. Look at the histogram and box plot; hover a bar, the box or an outlier dot to see its value.
  5. Open the frequency table for per-value counts, or press Copy table to export the statistics.

Statistics Calculator features

Robust parsing

Negative numbers with a Unicode minus, scientific notation such as 1.2e3 and mixed separators are all read correctly.

Sample and population formulas side by side

Variance and standard deviation are shown both with n − 1 (sample) and n (population), with the standard error of the mean and the coefficient of variation.

Three quartile conventions

Type 7 interpolation, type 6 (Minitab, SPSS, Excel QUARTILE.EXC) and the TI-83 median-of-halves method, with the fences and outliers recomputed for each.

Shape statistics

Sample-adjusted skewness G1 and excess kurtosis G2 (matching Excel SKEW and KURT) alongside the population versions g1 and g2.

Charts and frequency table

A histogram with nice class boundaries chosen by Sturges' rule, a box plot with 1.5 × IQR whiskers and outlier dots, and a frequency table that switches to classes for large data sets.

Worked example: 2, 4, 4, 4, 5, 5, 7, 9

Eight values sum to 40, so the mean is 5. Sorted, the two middle values are 4 and 5, so the median is 4.5, and 4 appears three times, so it is the mode. The squared deviations from the mean are 9, 1, 1, 1, 0, 0, 4 and 16, totalling 32: the population variance is 32 ÷ 8 = 4 (σ = 2) and the sample variance is 32 ÷ 7 = 4.571 (s = 2.138). With type 7 quartiles Q1 = 4 and Q3 = 5.5, so the IQR is 1.5 and the fences are 1.75 and 7.75 — the 9 lies above the upper fence and is flagged as a mild outlier. The sample skewness G1 is 0.82 (a right tail, pulled by that 9) and the excess kurtosis G2 is 0.94.

StatisticFormulaValue
MeanΣx ÷ n5
Sample varianceΣ(x − x̄)² ÷ (n − 1)4.571
Population SD√(Σ(x − x̄)² ÷ n)2
Standard errors ÷ √n0.756
Geometric mean(Πx)^(1/n)4.603
Harmonic meann ÷ Σ(1/x)4.202

Why quartiles differ between calculators

There is no single definition of the 25th percentile for a finite sample. The type 7 method places Q1 at position (n − 1) × 0.25 + 1 in the sorted list and interpolates; type 6 uses (n + 1) × 0.25; the TI-83 method takes the median of the lower half of the data (excluding the overall median when n is odd). For the example above these give Q3 = 5.5, 6.5 and 6 respectively. All are legitimate — just use the one your course or software expects, and say which you used when you report IQR or outliers.

Reading skewness and kurtosis

When you need the next step, the z score calculator converts a value into standard deviations from the mean and the t test calculator compares two samples. The simpler standard deviation calculator shows the step-by-step deviation table.

  • Skewness near 0 means a symmetric distribution; positive values indicate a longer right tail (incomes, waiting times), negative a longer left tail. Values beyond ±1 are usually called strongly skewed.
  • Excess kurtosis compares tail weight with the normal distribution, which has 0. Positive values mean heavier tails and more outliers; negative values mean a flatter, lighter-tailed shape.
  • Sample vs population versions: G1 and G2 include small-sample corrections and are what Excel, SPSS and most textbooks report; g1 and g2 are the plain moment ratios.
  • MAD (median absolute deviation) is a robust spread measure: multiply by 1.4826 to estimate σ for roughly normal data without outliers dragging it.

Statistics Calculator FAQ

What is the difference between sample and population standard deviation?

The population formula divides the sum of squared deviations by n and describes a complete data set. The sample formula divides by n − 1 (Bessel's correction) and estimates the spread of a larger population from which the data were drawn. For most survey or experimental data, use the sample version.

How does the statistics calculator find outliers?

It uses the Tukey rule: any value below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR is flagged and drawn as a separate dot on the box plot. The result depends on the quartile method chosen.

Which quartile method should I use?

Follow your course or software. Excel QUARTILE.INC and R default to type 7 (the default here), Minitab and SPSS to type 6, and many school courses and TI-83/84 calculators to the median-of-halves method.

Can I paste a column from Excel or Google Sheets?

Yes. Copy the cells and paste; each line becomes one value. Headers or text cells are ignored and reported in the warning line.

Why is the geometric mean missing?

It is only defined when every value is positive, because it multiplies the values together. The same applies to the harmonic mean.

How many numbers can it handle?

Tens of thousands of values are fine in a modern browser. Above 40 distinct values the frequency table switches from individual values to classes.

You might also need