Source: https://goodhandover.co.uk/tools/descriptive-statistics-calculator/

[Computer science maths](https://goodhandover.co.uk/tools/computer-science-maths/#year-1) / Year 1

🔒 Files never leave your device

# Descriptive statistics calculator

Find mean, median, range endpoints, variance and standard deviation. Your inputs stay on your device.

## Set up your task

Ready. Processing stays in this browser.

Files and text stay on your device. [Privacy details](https://goodhandover.co.uk/privacy/).

 

## How to use Descriptive statistics calculator

Find mean, median, range endpoints, variance and standard deviation. The pre-filled problem gives you a worked starting point. Compare the response with your own working before trying the self-check below.

 

- Check the example inputs: Dataset.

- Change the inputs for your problem. Results update as you type, so finish entering the values before copying an answer.

- Use the working to check an intermediate value or assumption. Then change the example as suggested in the self-check and compare the result.

 

## Supported inputs and limits

Use up to 200 finite real observations. Keep repeated observations and separate values with spaces or commas.

 

## How it works

The mean spreads the total equally over the observations. The median is the middle of the sorted data, averaging the two centre values when there are an even number of observations. They can differ sharply when a small number of very large measurements pull the mean upwards.

Variance measures spread using squared deviations from the mean. For the supplied population divide their sum by its size. For a sample-based estimate divide by one less. Standard deviation takes the square root of variance and is expressed in the units of the original data.

 

## Example

Run the pre-filled example. Its first result is “Mean: 5 · Median: 4.5”.

Dataset

2 4 4 4 5 5 7 9

Mean: 5 · Median: 4.5
Count: 8 · Min: 2 · Max: 9
Population variance: 4 · SD: 2
Sample variance: 4.57142857 · SD: 2.13808994

 

## Questions about Descriptive statistics calculator

### Can I enter negative observations?

Yes. Variance still uses squared deviations, so the spread measures remain non-negative.

### Why is sample variance undefined for one value?

The sample formula divides by n−1, which would be zero for one measurement. The population variance of that one-value dataset is zero.

### Enter a dataset of 1, 1, 1 and 9.

Check that the median is one and the mean is three. The larger observation shifts the mean while leaving the middle of the sorted list unchanged.

 
 

## Related tools

[Year 1: Foundations](https://goodhandover.co.uk/tools/computer-science-maths/#year-1)

- [Vector dot product calculator](https://goodhandover.co.uk/tools/vector-dot-product-calculator/)

- [Polynomial derivative calculator](https://goodhandover.co.uk/tools/polynomial-derivative-calculator/)

- [Matrix multiplication calculator](https://goodhandover.co.uk/tools/matrix-multiplication-calculator/)

- [Polynomial integration calculator](https://goodhandover.co.uk/tools/polynomial-integral-calculator/)

 

Last updated 24 November 2026
