Skip to content
Statistics Calculator
Tools

Statistics Calculator

Yeni

Calculate mean, median, mode, standard deviation, variance and more from a data set.

Numbers separated by commas, spaces, or new lines — results update instantly

Runs entirely in your browser. Nothing is uploaded.

What a descriptive statistics calculator actually does

A descriptive statistics calculator takes a set of raw numerical data and automatically computes the key summary measures that describe its central tendency, spread, and shape. Rather than manually sorting values, summing squares, and applying formulas, you paste your numbers and instantly get mean, median, mode, standard deviation, variance, quartiles, skewness, kurtosis, confidence intervals, and more. Descriptive statistics are the foundation of any data analysis: they tell you what your data looks like before you run any inferential tests.

This free online statistics calculator handles datasets of any size, accepts numbers separated by commas, spaces, or newlines, and updates results in real time as you edit the data. It computes both population and sample statistics, displays a frequency distribution histogram for visual shape analysis, and shows the sorted dataset so you can verify the input was parsed correctly. No account, download, or installation required — all computation runs locally in your browser.

How to use the statistics calculator

Enter your dataset in the text area — type or paste numbers separated by commas, spaces, or new lines. The calculator parses the input on every keystroke and displays all results immediately. The results grid shows every statistic labeled clearly. Start with count (n) to verify all values were parsed, then check mean vs median to gauge skewness, then review the standard deviation to understand spread, and finally check the confidence interval to see how precisely the mean was estimated.

The frequency histogram below the grid shows the distribution shape at a glance: a symmetric bell curve suggests normality; a one-tailed histogram suggests skewness; a bimodal (two-hump) shape suggests the data comes from two different subgroups. The sorted data list at the bottom lets you quickly spot the minimum, maximum, and any suspicious values or duplicate entries.

Why use this over Excel, SPSS, or other online tools?

Compared to spreadsheet formulas, this calculator requires no setup, no function syntax to remember, and no risk of using the wrong formula for population vs sample variance. In Excel, you'd need separate cells for STDEV.S, QUARTILE.INC, SKEW, and KURT — and each formula needs to be pointed at the right range. SPSS solves the formula problem but requires installation and a licence starting at around $99/year for individuals. R is free but has a learning curve that is overkill for a quick descriptive summary.

Compared to other free online calculators, this one computes a much more complete suite in one place. Most free tools stop at mean, median, and SD — this one adds skewness, kurtosis, seven percentiles, two confidence intervals, and a histogram. All computation is client-side — your data never leaves your browser and is never sent to a server. Results work on mobile and desktop. The tool is completely free, requires no signup, and has no usage limits.

Key statistical concepts explained

Central tendency: The mean is the balance point of the data — every value pulls it in proportion to its distance. The median is the physical midpoint — half the values lie below, half above. The mode is the most frequent value; datasets can be bimodal or multimodal. When mean and median are equal, the data is symmetric. When mean > median, the distribution is right-skewed. When mean < median, the distribution is left-skewed.

Spread: Range (max − min) is the simplest measure but is sensitive to outliers. IQR (Q3 − Q1) measures the middle 50% robustly. Variance and standard deviation account for every value's deviation from the mean — the SD is the 'typical' distance from the mean. Shape: Skewness quantifies left-right asymmetry; kurtosis quantifies how heavy the tails are relative to a normal curve. Both matter when choosing statistical tests — many tests assume normality, and high skewness or kurtosis may require data transformation or non-parametric alternatives.

Practical uses: QC, grading, research and finance

For comparing two groups, compute the mean and SD for each group separately, then check whether the means differ by more than two SDs — a rough indicator of a meaningful difference. For checking normality, look at skewness and excess kurtosis: values between −0.5 and +0.5 for skewness suggest near-normality; values beyond ±2 signal strong non-normality. The histogram provides a visual check.

For quality control, the mean ± 3 SD range defines the control limits used in Six Sigma and process monitoring. For grading on a curve, compute the class mean and SD, then calculate each student's z-score = (value − mean) / SD to see how many standard deviations above or below average they scored. For financial data, a high coefficient of variation (SD/mean) signals high relative volatility. The confidence interval shows how much your estimated mean might shift if you collected more data from the same source.

The normal distribution and the empirical rule

The normal distribution — also called the Gaussian distribution after mathematician Johann Carl Friedrich Gauss, who formalized it in 1809 — is the most important probability distribution in statistics. It produces the familiar bell-shaped curve, symmetric about its center, and is fully described by just two parameters: the mean (μ), which controls where the peak sits, and the standard deviation (σ), which controls how wide or narrow the bell is. A smaller σ produces a taller, tighter peak; a larger σ produces a shorter, wider spread. The normal distribution arises naturally wherever a measured quantity is the sum or average of many independent random influences — which is why it appears so often in biology, engineering, and the social sciences.

The empirical rule (also called the 68-95-99.7 rule) gives an immediate, practical way to interpret any standard deviation from a normal distribution: approximately 68% of values fall within 1σ of the mean, 95% within 2σ, and 99.7% within 3σ. In practice this means a value more than 3 standard deviations from the mean is genuinely rare — it occurs in roughly 3 of every 1,000 observations — making it a natural threshold for flagging outliers or manufacturing defects. Classic examples include IQ scores (mean = 100, SD = 15, so 95% of the population scores between 70 and 130) and adult human height (roughly mean = 175 cm for men, SD ≈ 7 cm). Standardized test designers use this property deliberately: if raw scores are normally distributed, the empirical rule predicts exactly how many test-takers will score in each band.

When you convert individual values to Z-scores using the formula z = (x − μ) / σ, you shift the distribution to the standard normal distribution (Z-distribution: μ = 0, σ = 1). A Z-score tells you how many standard deviations a value sits above or below the mean — a Z-score of +2.0 means the value is two standard deviations above average, placing it at roughly the 97.7th percentile. The central limit theorem extends the reach of the normal distribution further: even when individual data points follow a non-normal distribution, the distribution of sample means converges to a normal distribution as sample size grows. This is why confidence intervals, t-tests, and ANOVA remain valid in many real-world analyses even when the raw data is not perfectly bell-shaped.

Variance, standard deviation, and the coefficient of variation

Variance is defined as the average of the squared deviations from the mean: for each data point, subtract the mean, square the result, and then average all those squared differences. Squaring serves two purposes: it makes every deviation positive (so negative and positive deviations cannot cancel each other out) and it penalizes large deviations more heavily than small ones, giving a measure that is sensitive to extreme values. The drawback is that variance is expressed in squared units — if your data is in kilograms, variance is in kg². That unit mismatch makes variance hard to interpret directly, which is why most analysis reports the standard deviation instead.

Standard deviation is simply the square root of variance, returning the spread measure to the same units as the original data. The population variance formula divides by n (the full population size), while the sample variance formula divides by n − 1. That subtracted 1 is called Bessel's correction, named after the German mathematician Friedrich Bessel. The reason: a sample's values naturally cluster slightly closer to their own mean than to the true population mean, which means dividing by n systematically underestimates the population spread. Dividing by n − 1 corrects for this bias, making the sample variance an unbiased estimator of σ². The correction matters most for small samples (n < 30) and becomes negligible for large datasets.

When you need to compare spread across datasets measured in different units — or with very different means — neither variance nor SD is directly comparable. The coefficient of variation (CV = SD ÷ mean × 100%) solves this by expressing spread as a percentage of the mean. Consider two stocks: a $10 stock with a daily SD of $2.00, and a $100 stock with a daily SD of $5.00. In absolute terms the second stock fluctuates more. But CV of the first stock is 20% while the second is only 5% — so relative to its price, the $10 stock is four times more volatile. CV is widely used in analytical chemistry (to compare repeatability of measurement methods), manufacturing quality control (to benchmark process variability across product lines), and finance (to compare the risk-per-unit-return across assets of different price levels).

Skewness, kurtosis, and non-normal distributions

Skewness measures the asymmetry of a distribution around its mean. In a positively skewed (right-skewed) distribution, the tail extends to the right while most values cluster on the left — and the mean is pulled above the median: mean > median > mode. Income and wealth distributions are the canonical examples: most people earn close to the median, but a small number of very high earners stretch the mean upward. In a negatively skewed (left-skewed) distribution the pattern reverses — a few very low values drag the mean below the median. Age at retirement in countries with mandatory early-retirement schemes is often left-skewed. A skewness magnitude beyond ±1 is generally considered substantial; beyond ±2 it often indicates the data needs transformation (such as a log transform) before applying tests that assume normality.

Kurtosis measures the weight of a distribution's tails relative to a normal distribution. Leptokurtic distributions (positive excess kurtosis) have a sharper central peak and heavier tails — extreme values occur more often than the normal model predicts. Platykurtic distributions (negative excess kurtosis) have lighter tails and a flatter, broader peak. The most consequential real-world example is stock market returns: empirically, daily equity returns are leptokurtic — large crashes and large rallies happen far more often than a normal distribution would suggest. This is why risk models that assume normality (such as older Value-at-Risk formulations) systematically underestimate the probability of extreme losses, a failure that contributed to the 2008 financial crisis. A mesokurtic distribution has excess kurtosis near 0, matching the normal curve's tails.

Many natural and human-generated processes produce distributions that are fundamentally non-normal. Website traffic and file sizes often follow a log-normal distribution — the logarithm of the values is normally distributed, which creates a right-skewed shape with a long upper tail. Earthquake magnitudes and city population sizes follow a power-law distribution, where extremely large events are rare but far more common than a normal model would predict. When you suspect non-normality, two formal tests are commonly used: the Shapiro-Wilk test (reliable for small samples, n < 50) and visual inspection of a Q-Q plot (quantile-quantile plot), which compares observed quantiles against the theoretical quantiles of a normal distribution — straight-line alignment indicates normality, while S-curves or bent ends indicate skewness or heavy tails. Applying t-tests or ANOVA to severely non-normal data without checking these diagnostics risks invalid p-values.

Descriptive vs. inferential statistics: knowing what your numbers claim

Descriptive statistics summarize the data you actually have, without making any claim about a wider population. Mean, median, mode, range, variance, standard deviation, quartiles, skewness, and kurtosis are all descriptive — they describe this dataset. If you have the heights of every player on a single basketball team, then the mean height you compute is the population mean for that team; no inference is needed. Descriptive statistics answer the question: 'What does this data look like?'

Inferential statistics use a sample to draw conclusions about a population that was not fully measured. A t-test asks whether the sample mean is far enough from a hypothesized population mean (or from another sample mean) that the difference is unlikely to be due to chance. ANOVA extends this to three or more groups. Chi-squared tests examine whether observed frequencies match expected frequencies. Regression models the relationship between variables. All of these rely on the sample vs. population distinction: the population mean is denoted μ, the sample mean x̄; the population standard deviation is σ, the sample SD is s. Because samples vary randomly, every inferential result carries uncertainty — quantified as a p-value or confidence interval.

The p-value is one of the most misunderstood numbers in science. A p-value < 0.05 does not mean the result is important, large, or practically meaningful — it means only that, if the null hypothesis were true, data at least as extreme as yours would occur less than 5% of the time by chance alone. That 0.05 threshold is entirely arbitrary (Ronald Fisher chose it as a convenient round number in 1925) and has no special claim to truth. A study with n = 10,000 can produce p = 0.001 for a difference so tiny it has no real-world consequence. This is why statisticians emphasize effect size (e.g., Cohen's d for comparing means) alongside p-values: effect size answers 'How large is the difference?' while p answers only 'How surprised should I be if the difference were zero?' Understanding both is essential for drawing sound conclusions from data.

Frequently asked questions

What is the difference between mean and median?

The mean is the arithmetic average: sum all values and divide by the count. The median is the middle value when data is sorted; for an even count it is the average of the two middle values. The mean incorporates every value and is sensitive to outliers — a single very large value can pull it far from the center. The median is resistant to outliers and is usually a better measure of the 'typical' value for skewed distributions such as income, house prices, or reaction times.

What is standard deviation and how do I interpret it?

Standard deviation measures how spread out values are around the mean. A small standard deviation means values cluster tightly near the mean; a large one means they are widely dispersed. Roughly 68% of values in a normal distribution fall within 1 SD of the mean, 95% within 2 SDs, and 99.7% within 3 SDs (the empirical rule). If two datasets share the same mean but different SDs, the one with the larger SD is more variable and less predictable.

When should I use population vs sample standard deviation?

Use population standard deviation (σ, divides by n) when your dataset contains every member of the group you care about — for example, all test scores for a specific class. Use sample standard deviation (s, divides by n−1, Bessel's correction) when your dataset is a random sample from a larger population — for example, 50 test scores drawn from all students in a school. The n−1 correction makes the sample SD an unbiased estimator of the population SD. When in doubt, most research contexts use sample statistics.

What are quartiles and the IQR?

Quartiles divide sorted data into four equal parts. Q1 (the 25th percentile) is the median of the lower half of the data; Q3 (the 75th percentile) is the median of the upper half. The Interquartile Range (IQR) = Q3 − Q1 spans the middle 50% of the data. Because it ignores the top and bottom 25%, the IQR is resistant to extreme values and is the standard measure of spread used in box plots. Data points more than 1.5 × IQR beyond Q1 or Q3 are conventionally flagged as outliers.

What does skewness tell me about my data?

Skewness measures the asymmetry of the distribution around the mean. A value close to 0 indicates roughly symmetric data. Positive skewness (right skew) means a longer tail on the right — a few very large values pull the mean to the right of the median. Negative skewness (left skew) means a longer tail on the left. Many real-world distributions are positively skewed (income, wealth, reaction times). Skewness greater than ±1 is generally considered substantially skewed; beyond ±2 is highly skewed.

What is excess kurtosis and why does it matter?

Excess kurtosis measures the 'tailedness' of the distribution relative to a normal distribution (which has excess kurtosis = 0). Positive excess kurtosis (leptokurtic) means heavier tails and a sharper central peak — more extreme outliers than a normal distribution predicts. Negative excess kurtosis (platykurtic) means lighter tails and a flatter peak. Kurtosis matters for risk: a financial return distribution with high kurtosis has more frequent extreme losses or gains than a normal model would suggest.

How do confidence intervals work?

A 95% confidence interval (CI) means: if you repeatedly drew samples of the same size from the population and computed the CI each time, 95% of those intervals would contain the true population mean. It is computed as mean ± 1.96 × SE, where SE = s/√n is the standard error. A wider interval reflects either a small sample or high variance. To halve the CI width, you need to quadruple your sample size. The 99% CI uses ±2.576 × SE and is wider — trading precision for greater confidence.

How are percentiles calculated?

This calculator uses the linear interpolation method (identical to most statistical software including R and NumPy). For the p-th percentile, compute index = (p/100) × (n−1). The integer part of the index selects an element in the sorted array, and the fractional part interpolates linearly between that element and the next. For example, the 25th percentile of [1, 2, 3, 4] uses index = 0.75, giving 1 + 0.75×(2−1) = 1.75. This is why Q1 from the percentile method may differ slightly from the split-median quartile method.

What is the standard error (SE)?

The standard error SE = s/√n is the standard deviation of the sampling distribution of the mean. While standard deviation describes spread in your dataset, standard error describes how precisely your sample mean estimates the true population mean. A larger sample gives a smaller SE and a more precise estimate. SE appears in the formula for confidence intervals and in t-tests. It decreases proportionally to the square root of sample size — doubling sample size reduces SE by a factor of √2 ≈ 1.41.

How do I enter data into the statistics calculator?

Type or paste your numbers directly into the text area. Values can be separated by commas (e.g. 4, 7, 13, 2), spaces, or newline characters — all three separators are recognized automatically. You can mix separators in the same input. Non-numeric tokens are silently filtered out, so pasting a column from a spreadsheet with column headers is fine. The calculator re-runs instantly on every keystroke, so results update in real time as you edit the data.

What statistics does this calculator compute?

The calculator computes: count (n), sum, mean, median, mode(s), minimum, maximum, range, Q1, Q3, IQR, population variance (σ²), population standard deviation (σ), sample variance (s²), sample standard deviation (s), standard error (SE), skewness, excess kurtosis, 95% confidence interval, 99% confidence interval, and percentiles at P10, P25, P50, P75, P90, P95, and P99. It also renders a frequency distribution histogram and displays the sorted dataset — all in one place with no account required.

What is the five-number summary?

The five-number summary is a concise description of a dataset consisting of: minimum, Q1 (25th percentile), median (Q2, 50th percentile), Q3 (75th percentile), and maximum. This calculator displays all five values in its output grid. The five-number summary is the basis of box plots (box-and-whisker plots), which graphically show the spread and skewness of data. The box spans Q1 to Q3 (the IQR), the line inside the box is the median, and the whiskers extend to the min and max.

How do I detect outliers using this calculator?

The standard rule for outlier detection uses the IQR: any data point below Q1 − 1.5×IQR or above Q3 + 1.5×IQR is flagged as a mild outlier; points beyond Q1 − 3×IQR or Q3 + 3×IQR are extreme outliers. Compute these fence values manually from the Q1, Q3, and IQR values shown in the results grid. Outliers also show up as high skewness (they pull the distribution asymmetrically) and as large gaps in the sorted data list shown below the histogram.

What is the difference between variance and standard deviation?

Variance (s² or σ²) is the average squared deviation from the mean. Standard deviation (s or σ) is the square root of variance. Both measure spread, but standard deviation is expressed in the same units as the original data — making it far easier to interpret. For example, if heights are in cm, the SD is in cm but variance is in cm². Variance is mathematically convenient (it's additive for independent variables: Var(X+Y) = Var(X) + Var(Y)) while SD is interpretively convenient for reporting results.

What does the empirical rule (68-95-99.7) mean?

The empirical rule states that for a normally distributed dataset, approximately 68% of values fall within one standard deviation of the mean (μ ± σ), about 95% within two standard deviations (μ ± 2σ), and about 99.7% within three standard deviations (μ ± 3σ). This rule helps you quickly judge whether a value is unusual — a value beyond 3 SDs from the mean occurs in only about 0.3% of cases, making it a strong candidate for an outlier or data entry error.

How does this compare to using Excel, SPSS, or R?

Excel requires knowing the right function name for each statistic — STDEV.S vs STDEV.P, QUARTILE.INC vs QUARTILE.EXC — and you have to set up separate cells for each measure. SPSS and R produce the same numbers but need to be installed, and SPSS requires a licence that starts around $99/year for individuals. R is free but has a learning curve that's overkill for a quick summary. This calculator asks only for pasted numbers and returns all 25+ statistics in one page, with no install, no licence, no syntax, and no signup.