Skip to content

Statistical calculator

CalculateExperimentalLimited support. Verify anything critical.

A descriptive statistical calculator summarizes a pasted series of finite numbers without fitting a model or making an inferential claim. It reports count, sum, mean, median, repeated modes, minimum, maximum, range, population variance and standard deviation, plus sample variance and standard deviation when at least two observations exist. Values are parsed from commas, semicolons, spaces, or lines and calculated entirely in the current browser tab.

Skip to the tool

This tool processes the values or files you choose on your device. They are not uploaded.

Output

Limits

  • Only finite numeric values are accepted
  • no weighted or grouped observations.

Warnings

  • There is no sample-or-population chooser; every run reports both population and sample measures when the series is long enough.

Steps

Paste the series

Enter finite numbers separated by commas, semicolons, spaces, or line breaks.

Run locally

The calculator parses every token and returns both population and sample variance measures in one JSON result.

Read mean, median, and both variances

Use population figures when the series is the whole population; use sample figures when it estimates a larger set.

How to use Statistical calculator

Paste a clean numeric column

Separators may be commas, semicolons, spaces, or line breaks. Any non-numeric token stops the calculation rather than being silently ignored.

Interpret both denominators

There is no chooser. Each run reports population measures (divide by n) and, when at least two values exist, sample measures (divide by n−1). Pick the pair that matches how the observations were collected.

How it works

  1. Enter what you haveType or pick your numeric series. Nothing is submitted anywhere.
  2. It runs in this tabThe calculation happens on your device, using your browser's own data.
  3. Take the resultRead the descriptive statistics, then copy or download.

Worked example

Given: 12, 14, 14, 18, 22

Result: count 5, mean 16, median 14, modes [14], range 10, populationVariance 12.8, sampleVariance 16

Mode is 14 because it appears twice; all other values appear once. Sample variance uses n−1; population variance uses n.

Formula

Mean = sum / n. Population variance = sum of squared deviations from the mean, divided by n. Sample variance = the same sum of squares divided by n−1 (null when n < 2). Standard deviations are the square roots of those variances. Median is the middle value of the sorted series, or the average of the two middle values when n is even.

Outputs

mean
Arithmetic average of every finite token in the series.
median
Middle value after sorting; for even n, the mean of the two central values.
modes
Values that share the highest frequency. Empty when every value appears exactly once (no mode).
range
Maximum minus minimum of the sorted series.

Assumptions

  • Tokens are split on commas, semicolons, spaces, or newlines.
  • A thousands separator such as 1,234 is two tokens (1 and 234) and fails unless you remove the comma grouping.
  • Any non-numeric token stops the run with an error; nothing is silently skipped.

Rounding

Full IEEE-754 float precision; the tool does not round displayed results.

Implements standard descriptive-statistics formulas directly with explicit sample and population denominators.

Basis
independent
Licence
MIT
Last reviewed

Frequently asked questions

Why are there two variance values?

Population variance divides by n; sample variance uses the n−1 correction when observations estimate a wider population. The tool always returns both when n ≥ 2.

Why is modes an empty array?

When every value appears exactly once, there is no repeated mode, so modes is []. A value appears in modes only when its frequency is greater than 1 and tied for highest.

Why does 1,234 fail?

Commas are separators. 1,234 is parsed as the tokens 1 and 234, not one thousand two hundred thirty-four. Remove grouping commas before running.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close