Skip to content

Statistics Calculator

Paste your data for a complete statistical summary, including quartiles with your choice of method, outlier detection and a histogram.

MathUpdated Free · No sign-up

How to use the Statistics Calculator

  1. Type or paste Data set (Separate numbers with commas, spaces or new lines).
  2. Choose Quartile method.
  3. Read your answer in the results panel. It updates as you type, and the breakdown, step-by-step working and any charts or tables appear below it.
  4. Use Share link to save or send the exact calculation, or Copy to paste the results elsewhere.

What the calculator reports

  • Centre: mean (arithmetic average), median (middle value), mode (most frequent value), and the geometric and harmonic means for positive data.
  • Spread: range, quartiles, interquartile range (IQR), variance and standard deviation in both sample and population form.
  • Shape: skewness (lopsidedness) and excess kurtosis (how heavy the tails are compared with a normal curve).
  • Distribution: a frequency table and histogram. With 12 or fewer distinct values each value gets its own bar; otherwise the data are grouped into bins using Sturges’ rule.

Quartiles: why methods differ

There is no single agreed definition of a quartile for a finite list, and different tools give slightly different answers. The calculator offers three common methods:

  1. Median of halves (default): split the sorted list at the median, leaving the median out when the count is odd, and take the median of each half. This is the method taught in most textbooks and used by TI graphing calculators.
  2. Tukey hinges: the same, but the median is included in both halves when the count is odd.
  3. Linear interpolation: the p-th quantile sits at position 1 + (n − 1)p in the sorted list, interpolating between neighbours. This matches Excel’s QUARTILE.INC and R’s default.

For large data sets the methods converge. For small ones, state which method you used.

Worked example

Data: 12, 15, 15, 18, 21, 22, 24, 30, 35, 41, 70 (n = 11).

  • Mean = 303 ÷ 11 ≈ 27.55; median = 22 (the 6th value); mode = 15.
  • Lower half 12, 15, 15, 18, 21 gives Q1 = 15; upper half 24, 30, 35, 41, 70 gives Q3 = 35; IQR = 20.
  • Outlier fences: 15 − 1.5 × 20 = −15 and 35 + 1.5 × 20 = 65. The value 70 lies above the upper fence, so it is flagged as an outlier.

Notice that the mean (27.55) sits well above the median (22). That gap, together with a positive skewness, shows the data are pulled to the right by the large value.

Reading skewness and kurtosis

Skewness near 0 suggests a symmetric distribution; positive values mean a long right tail, negative a long left tail. Excess kurtosis near 0 matches a normal curve; positive values mean more extreme values than a normal distribution would produce. Both are unreliable for small samples, so treat them as rough indicators below about 30 values. The formulas used are the adjusted sample versions found in Excel (SKEW and KURT).

Tips

  • An outlier is a prompt to investigate, not an instruction to delete. Check whether it is a typing error or a genuine extreme.
  • For skewed data such as incomes or house prices, the median and IQR describe a typical value better than the mean and SD.

Frequently asked questions

Why do different calculators give different quartiles?

There are several valid quartile definitions. This calculator lets you choose between median of halves, Tukey hinges and linear interpolation (Excel/R), and shows which one was used.

How are outliers identified?

Values more than 1.5 × IQR below Q1 or above Q3 are flagged. This is Tukey’s rule, the same one used to draw box plots.

What does positive skewness mean?

The distribution has a longer tail on the right, so the mean is usually larger than the median. Incomes and waiting times are typical examples.

When is the geometric mean useful?

For quantities that multiply rather than add, such as growth rates or ratios. It requires all values to be positive.