Full Statistics Suite 🇺🇸 USA🇬🇧 UK Live ResultsDescriptive + Regression
Calculate

Statistics Calculator

Complete descriptive statistics, linear regression, and Pearson correlation. Enter a dataset to instantly get mean, median, mode, variance, SD, skewness, kurtosis, percentiles, regression line, and R².

Statistics Inputs

Live
Enter your dataset X as comma-separated numbers for full descriptive statistics including mean, median, mode, variance, SD, skewness, kurtosis, and percentiles.
Separate values with commas or spaces

Statistics Results

Mean
Enter data above to calculate
Data Distribution
Frequency Histogram

Statistics Calculator Guide

Guide

Descriptive vs Inferential Statistics

Descriptive statistics summarise and describe the features of a dataset. They answer: "What does my data look like?" Tools include mean, median, mode, range, variance, standard deviation, skewness, and kurtosis.

Inferential statistics use sample data to make conclusions about a larger population. Tools include confidence intervals, hypothesis tests, regression analysis, and ANOVA.

This calculator focuses on descriptive statistics and two key inferential techniques — linear regression and Pearson correlation — which are foundational in both UK A-level and US AP Statistics curricula.

Measures of Central Tendency

Mean

The arithmetic mean (x̄) is the sum of all values divided by n: x̄ = Σx / n. It is sensitive to outliers — a single extreme value can shift the mean significantly.

Median

The median is the middle value when data is sorted. For even n, it is the average of the two middle values. The median is robust to outliers — one extreme value does not change it (unless there are very few values).

Mode

The mode is the most frequently occurring value. A dataset can have no mode, one mode (unimodal), or multiple modes (bimodal/multimodal). The mode is the only average that can be used for categorical (non-numeric) data.

When to use which: Mean for symmetric, normal distributions. Median for skewed distributions or data with outliers (income, house prices). Mode for categorical data (most popular product).

Measures of Dispersion

Variance and Standard Deviation

The variance (s²) measures the average squared deviation from the mean: s² = Σ(xᵢ − x̄)² / (n−1) for a sample. The standard deviation (s) is the square root of the variance — in the same units as the data, making it more interpretable.

Population variance uses n in the denominator; sample variance uses n−1 (Bessel's correction) to get an unbiased estimate. This calculator uses sample statistics (n−1).

Shape: Skewness and Kurtosis

Skewness measures the asymmetry of the distribution. Positive skew = tail to the right (most data is left). Negative skew = tail to the left. A normal distribution has skewness = 0.

Kurtosis measures the "tailedness" or "peakedness" relative to a normal distribution. Excess kurtosis = 0 for a normal distribution; positive = heavy tails (leptokurtic); negative = light tails (platykurtic). Financial returns often have positive excess kurtosis (fat tails).

Linear Regression

Simple linear regression models the relationship between two variables as a straight line: ŷ = mx + b, where m is the slope and b is the y-intercept.

  • Slope (m) = Σ(xᵢ−x̄)(yᵢ−ȳ) / Σ(xᵢ−x̄)² — how much y changes per unit of x
  • Intercept (b) = ȳ − m×x̄ — the value of y when x = 0
  • R² (coefficient of determination) = r² — the proportion of variance in y explained by x

An R² of 0.85 means that 85% of the variation in Y is explained by the linear relationship with X. The remaining 15% is unexplained (residual).

Pearson Correlation Coefficient

The Pearson correlation coefficient r measures the strength and direction of a linear relationship between two variables. It ranges from −1 (perfect negative) to +1 (perfect positive), with 0 indicating no linear relationship.

|r| valueStrengthInterpretation
0.00 – 0.19NegligibleNo meaningful linear relationship
0.20 – 0.39WeakSmall but detectable relationship
0.40 – 0.59ModerateMeaningful relationship
0.60 – 0.79StrongSubstantial linear relationship
0.80 – 1.00Very StrongNear-perfect linear relationship

Correlation vs Causation

A classic warning in statistics: correlation does not imply causation. Two variables can be strongly correlated because they share a common cause (confounding), because the relationship is coincidental (spurious), or because one truly causes the other. Only carefully designed experiments with random assignment can establish causality.

Famous examples of spurious correlations: the number of Nicolas Cage films released per year correlates with swimming pool drowning rates. Ice cream sales correlate with shark attacks — both caused by hot weather (the confounder).

Statistics in UK A-Level and US AP Statistics

In the UK, A-level Statistics (within Mathematics or as a standalone) covers descriptive statistics, probability, binomial and normal distributions, hypothesis testing, and regression. The AQA, Edexcel, and OCR specifications all require students to interpret regression lines and correlation coefficients.

In the US, AP Statistics is one of the most popular Advanced Placement courses, covering exploratory data analysis, sampling, probability, statistical inference, and regression. The AP exam requires students to interpret context-specific results, not just compute them.

Comparing Statistics Software: Excel vs SPSS vs R

FeatureExcelSPSSRThis Calculator
Descriptive statsYes (Analysis ToolPak)YesYes (summary())Yes
Linear regressionYes (LINEST)YesYes (lm())Yes
Pearson rYes (CORREL)YesYes (cor())Yes
CostPaidPaidFreeFree

Frequently Asked Questions

FAQ
What is the difference between mean and median?

The mean is the arithmetic average (sum ÷ n). The median is the middle value. For symmetric distributions they are similar. For skewed distributions (like income), the median is more representative because it is not pulled by extreme values.

What does standard deviation tell you?

Standard deviation measures how spread out data is around the mean. A low SD means values cluster near the mean; a high SD means values are more dispersed. In a normal distribution, 68% of data falls within ±1 SD, 95% within ±2 SD.

What is R² in linear regression?

R² (coefficient of determination) measures the proportion of variance in Y explained by the linear model. R²=0.85 means 85% of Y's variation is explained by X. R²=1.00 is a perfect fit; R²=0 means no linear relationship.

What does Pearson's r measure?

Pearson's r measures the strength and direction of the linear relationship between two variables. r=+1 is perfect positive correlation, r=-1 is perfect negative, r=0 is no linear correlation. It is sensitive to outliers.

What is skewness and how do I interpret it?

Skewness measures asymmetry. Positive skewness: right tail is longer (e.g., income distributions). Negative skewness: left tail is longer. Rule of thumb: |skewness| > 1 indicates substantially skewed data.

What is kurtosis and why does it matter?

Kurtosis measures "tailedness." Excess kurtosis > 0 means heavier tails (more outliers) than a normal distribution. This matters in finance — heavy-tailed return distributions mean extreme events (crashes) are more likely than normal distribution models predict.

How do I calculate percentiles?

The P-th percentile is the value below which P% of data falls. Sort the data; P25 = Q1 (25th percentile), P50 = median, P75 = Q3. The IQR (interquartile range) = Q3 − Q1, used to detect outliers (values beyond Q3 + 1.5×IQR).

Does correlation imply causation?

No. Two variables can correlate for many reasons: common cause (confounding), reverse causation, coincidence, or direct causation. Only randomised controlled experiments can establish causation. Always consider the plausibility of the mechanism before inferring causation.

Disclaimer

Results are for educational purposes. Sample statistics (n−1 denominator) are used. For research publications, use validated statistical software and consult a statistician to verify assumptions.

Mean