Toolvito

Calculates on this device. File exports run online.

Statistics Calculator

Paste your numbers to get the mean, median, mode, standard deviation, quartiles and more. Other modes give percentiles, weighted and grouped means, z-scores, normal probabilities and confidence intervals.

Enter your values

Paste a list of numbers to get the summary statistics of the whole list.

Your values

Type or paste numbers. Separate them with commas, spaces or new lines. Up to 100,000 numbers.

More options

Different books and programs use different quartile rules. The full report below shows them all.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

Full report with plots and tests

Full report with plots and tests

Uses the list of numbers in the calculator above (modes with a list of numbers). You get the report on this page and as CSV, JSON and picture files.

A share between 0.5 and 0.9999, for example 0.95 for 95%.

More options

More resamples give steadier intervals and take longer.

The same seed and data always give the same bootstrap intervals.

The calculator above works on your device. When you run a task in this section, Toolvito receives the values and result you submit to make the file or run the check. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

How to use the statistics calculator

  1. Choose what you want to work out, for example Mean, median, mode, standard deviation and more.
  2. Type or paste your numbers. Commas, spaces and new lines all work. You can also type 6.02e23 or 1.5 × 10^3.
  3. Press Calculate. The results, the working and a table of the values appear below the form.
  4. For a full report with plots, normality tests, outlier checks and bootstrap intervals, use the box under the result.

The formulas

  • Mean: x̄ = Σx ÷ n. Median: the middle value of the sorted list (the mean of the two middle values when n is even).
  • Sample standard deviation: s = √(Σ(x − x̄)² ÷ (n − 1)). Population standard deviation: σ = √(Σ(x − x̄)² ÷ n). Use s when your numbers are a sample of a larger group.
  • Standard error of the mean: s ÷ √n. Coefficient of variation (RSD): s ÷ |x̄| × 100%.
  • Interquartile range: IQR = Q3 − Q1. Programs differ in how they find Q1 and Q3: choose the inclusive method (Excel QUARTILE.INC), the exclusive method (Excel QUARTILE.EXC) or the median of the halves (TI-83/84) under More options.
  • z-score: z = (x − μ) ÷ σ. Weighted mean: Σ(value × weight) ÷ Σweight.
  • Grouped data: the mean uses class midpoints; the median is L + (n ÷ 2 − CF) ÷ f × h.

Worked example

For 2, 4, 4, 4, 5, 5, 7, 9: n = 8, the sum is 40 and the mean is 5. The median is 4.5 and the mode is 4.

The squared differences from the mean add up to 32. The population variance is 32 ÷ 8 = 4, so σ = 2. The sample variance is 32 ÷ 7 = 4.571, so s = 2.138.

With the inclusive method Q1 = 4 and Q3 = 5.5, so the IQR is 1.5. With the median of the halves Q1 = 4 and Q3 = 6.

Limits you should know

  • The calculator takes up to 100,000 numbers. Blank entries and text are refused, not read as zero.
  • z-scores, percentiles from a z-score and normal probabilities assume a normal distribution. Check the shape of your data first (the full report has normality tests and a Q-Q plot).
  • Hypothesis tests that compare groups (t tests, ANOVA) are on the Statistical Test Calculator. Growth-chart, exam and income percentiles need official reference tables and are not worked out here.

The full report

The report box sends only the list of numbers on screen to the Toolvito server. It gives every quartile method side by side, percentiles, the Shapiro-Wilk, D'Agostino and Anderson-Darling normality tests, Tukey fences and Grubbs' test for outliers, bootstrap confidence intervals for the mean, median and standard deviation (with a seed, so the same numbers give the same intervals), a frequency table, and a histogram, box plot and Q-Q plot, as CSV, JSON and SVG or PNG files.

Related tools