Almost every data tool shows the same handful of numbers for a column: count, mean, median, minimum, maximum, standard deviation and a few percentiles. They are called descriptive statistics, and together they tell you what is typical, how spread out the values are and whether something odd is going on. This guide explains each one in plain language with a single worked example, and shows when each can mislead you.

The example

Here are the monthly salaries of ten people in a small team, in thousands of rupees. Nine are ordinary; one is the founder.

22, 25, 25, 28, 30, 32, 35, 38, 40, 250

Load a column like this into the CSV Analyzer and it shows most of the statistics below; the rest are one line of SQL away. We will go through them one by one.

StatisticAll 10 peopleWithout the founder
Count109
Mean (average)52.530.6
Median3130
Mode2525
Standard deviation69.66.2
Q1 (25th percentile)25.7525
Q3 (75th percentile)37.2535
Min – max22 – 25022 – 40

Mean: the balance point

The mean is the total divided by the count: 525 ÷ 10 = 52.5. It is what most people mean by “average”, and it is the right number when totals matter — if you want to know the monthly salary bill, mean × count gives it exactly.

Its weakness is that every value pulls on it in proportion to its size. One salary of 250 lifts the mean from 30.6 to 52.5, a figure that describes nobody in the team: nine of the ten people earn less than it. Averages of income, house prices, order values, response times and website visits are all pulled up like this by a few very large values.

Median: the middle value

Sort the values and take the one in the middle. With an even count, take the halfway point between the two middle values: here, (30 + 32) ÷ 2 = 31. Half the values are below the median and half above.

The median barely moves when the founder is added (30 → 31) because it only cares about order, not size. That makes it the better “typical value” for skewed data. A useful habit: always look at the mean and the median together. If they are close, the data is roughly symmetrical. If the mean is much larger than the median, a few large values are pulling it up; if it is much smaller, a few small ones are dragging it down.

Mode: the most common value

The mode is the value that appears most often — 25 here, which appears twice. For measurements such as salaries it is rarely useful, because exact repeats are a matter of chance. It comes into its own for categories and whole numbers: the most common shoe size, product, city or rating. A dataset can have several modes, or none at all.

Range, minimum and maximum

The minimum and maximum are the quickest data-quality check there is. A negative age, a date in 1900, a price of 0 or a temperature of 999 jumps out immediately. The range (maximum minus minimum) tells you the full spread, but because it depends on only the two most extreme values, a single odd row changes it completely: 18 without the founder, 228 with.

Standard deviation: the typical distance from the mean

Standard deviation measures how far values usually are from the mean. Without the founder it is 6.2: most salaries sit within about 6 thousand of the mean of 30.6. Add the founder and it jumps to 69.6 — larger than almost every salary in the team — which is a sign that one value dominates.

It is calculated by taking each value’s distance from the mean, squaring it, averaging the squares, and taking the square root. There are two versions:

  • Sample standard deviation divides by n − 1. Use it when your rows are a sample of a bigger population — which is nearly always. Spreadsheet STDEV.S, SQL STDDEV and the CSV Analyzer use this one.
  • Population standard deviation divides by n. Use it when you truly have every member of the group. It is slightly smaller (66.1 instead of 69.6 here).

For data that is roughly bell-shaped, about two-thirds of values fall within one standard deviation of the mean and about 95% within two. For skewed data that rule of thumb breaks down, which is another reason to look at percentiles.

Percentiles, quartiles and the IQR

The pth percentile is the value below which p% of the data falls. The median is the 50th percentile; the first and third quartiles (Q1 and Q3) are the 25th and 75th. Between Q1 and Q3 sits the middle half of your data, and the width of that band is the interquartile range: 37.25 − 25.75 = 11.5.

Percentiles are the language of performance and service levels. “The 90th-percentile delivery time is 3 days” means 9 in 10 orders arrive within 3 days — far more useful than an average dragged up by a few lost parcels. You may see slightly different quartiles from different tools for small datasets, because there are several standard ways to interpolate between values; with a few hundred rows they agree closely.

Outliers

A common rule flags a value as an outlier when it is more than 1.5 × IQR below Q1 or above Q3. Here that upper fence is 37.25 + 1.5 × 11.5 = 54.5, so 250 is an outlier and everything else is not. A stricter rule uses 3 × IQR (an upper fence of 71.75) to flag only extreme values; the Data Insights tool uses that one so it reports only values that really stand out.

An outlier is a question, not a verdict. It might be a typo (25,000 typed instead of 25), a unit mix-up (rupees instead of thousands), a test record — or the most important row in the file. Check it before you delete it, and if you leave it in, prefer the median and percentiles when you describe the data.

Skew: which way the tail points

Skewness summarises the shape. Positive (right) skew means a long tail of large values, as with salaries, prices and city populations; the mean sits above the median. Negative (left) skew means a tail of small values, as with exam scores on an easy test; the mean sits below the median. A histogram shows the shape at a glance — make one with CSV to Chart.

Which number should you report?

You want to sayUse
What is typical, when data is skewed (income, prices, times)Median, with Q1–Q3
What is typical, when data is roughly symmetrical (heights, test scores)Mean, with standard deviation
A total, or something you will multiply back up (cost per order × orders)Mean
The most common category or ratingMode
A service level or worst-case experience90th, 95th or 99th percentile
How consistent something isStandard deviation or IQR

Compute them yourself

The CSV Analyzer shows these statistics for every numeric column as soon as you load a file. To compare groups — the median salary per department, say — use SQL Query on CSV:

SELECT department,
       COUNT(*)                 AS people,
       AVG(salary)              AS mean,
       MEDIAN(salary)           AS median,
       STDDEV(salary)           AS sd,
       PERCENTILE(salary, 0.9)  AS p90
FROM staff
GROUP BY department
ORDER BY median DESC;

Or build a quick summary table with Excel Calculator (see How to Make a Pivot Table Without Excel). Whichever you use, report the count alongside every statistic — and run through How to Analyze a CSV File before trusting any average.