---
slug: mean-median-calculator
title: "Mean Median Calculator"
category: math
updated: 2026-11-17
canonical: https://calcseed.com/c/math/mean-median-calculator/
html: /c/math/mean-median-calculator/
---

# Mean Median Calculator

Calculate the mean, median and range of three numbers. Free and instant.

## Quick answer

**Quick answer:** with the default inputs (4, 8, 6), the mean is **6**. At these inputs: median = **6**, range = **4**. Change any input to update the result.

## Default calculation

Values computed by this calculator at exactly the default inputs listed below.

### Inputs (defaults)

| Input | Value | Unit |
| --- | --- | --- |
| First number | 4 |  |
| Second number | 8 |  |
| Third number | 6 |  |

### Outputs at these defaults

| Output | Value | Unit |
| --- | --- | --- |
| Mean | 6 |  |
| Median | 6 |  |
| Range | 4 |  |

## Formula

```text
mean = (x1 + x2 + x3) ÷ 3    range = max − min
```

## Inputs

| Variable | Type | Unit | Default |
| --- | --- | --- | --- |
| First number | number |  | 4 |
| Second number | number |  | 8 |
| Third number | number |  | 6 |

## Outputs

| Result | Format |
| --- | --- |
| Mean | primary |
| Mean | number |
| Median | number |
| Range | number |

## How it works

### What this calculator does

Enter three numbers and the calculator returns their mean, median and range. At the defaults of 4, 8 and 6 the mean is 6, the median is 6 and the range is 4. Three values is the smallest data set where the mean and median can genuinely disagree, which makes this the natural size for learning how the two summaries behave.

### The three measures

The mean adds everything and divides by the count, so every value pulls on it in proportion to its size. The median is the middle value once the data is sorted, so it only cares about rank and ignores how far apart the values are. The range is the gap between the largest and smallest values, a one-number measure of spread.

#### Worked example: 4, 8, 6

The mean is (4 + 8 + 6) ÷ 3 = 18 ÷ 3 = 6. To find the median, sort first: 4, 6, 8, and the middle entry is 6. The range is 8 − 4 = 4. Here the mean and median agree because the values are fairly balanced; nothing yanks the average away from the middle of the pack.

### The three measures side by side

| Numbers | Mean | Median | Range |
| --- | --- | --- | --- |
| 4, 8, 6 | 6 | 6 | 4 |
| 1, 2, 100 | 34.33 | 2 | 99 |
| 10, 20, 30 | 20 | 20 | 20 |
| 3, 3, 9 | 5 | 3 | 6 |
| −2, 0, 5 | 1 | 0 | 7 |

Scan the table for the pattern. Whenever the largest value towers over the other two, as in 1, 2, 100, the mean drifts toward it (34.33) while the median stays with the pack (2). When the values are evenly spaced, as in 10, 20, 30, all three measures line up neatly. Repeated values like 3, 3, 9 pull the mean to 5, double the median of 3.

### Mean versus median: which to report

#### When the median wins

The choice hinges on skew. With three test scores of 60, 65 and 95, the mean is 73.33 but the median is 65, and the median describes the typical score better because the 95 is an outlier. Income works the same way: if three households earn $40,000, $52,000 and $250,000, the mean of $114,000 describes none of them, while the median of $52,000 describes the middle household exactly. Symmetric data lets you use either; skewed data demands the median.

#### When the mean wins

The mean still wins in other situations. It uses every value&rsquo;s magnitude, so it is the right tool for totals — three delivery routes of 4, 8 and 6 miles average 6 miles per route, and three routes at the mean length would cover the same 18 miles total. Medians cannot be added or averaged across groups, which is why businesses and budgets report means even when medians would describe individuals better.

### What the range tells you

The range is the fastest spread check but the crudest. Sets of 4, 8, 6 and 4, 100, 6 both have a mean of 6, yet ranges of 4 and 96 tell opposite stories. In the second set the mean describes almost nobody. A wide range relative to the mean — more than about 1.5 times it, as with 99 spread against a mean of 34.33 — is a signal to report the median alongside, and to be suspicious of any average quoted on its own.

### Common mistakes

- Skipping the sort before picking the median: for 4, 8, 6 the middle entry as typed is 8, but the true median is 6
- Dividing by 2 instead of 3; three values always divide by 3 for the mean
- Reporting the range as the largest value alone; it is the difference, 8 − 4 = 4, not 8
- Letting an unentered zero drag the mean down; a missing third value is not the same as a value of 0
- Quoting the mean for heavily skewed data without the median as a companion

The zero-entry trap matters in grade books and expense trackers. If a third score simply was not recorded, entering 0 computes a mean of (4 + 8 + 0) ÷ 3 = 4 and a median of 4, understating both. Decide whether a blank means zero or means absent before you average, because the two answers differ by a full third here.

### Everyday uses in 2026

Three-value summaries show up wherever you compare a handful of options. Three job offers of $72,000, $80,000 and $145,000 have a mean of $99,000 — inflated by the top offer — and a median of $80,000, which is the realistic benchmark. Three commute times, three monthly utility bills, or three bids on a repair job all reward the same discipline: compute both, compare them, and let the gap between mean and median warn you when one unusual value is steering the average.

## FAQ

### How do I find the median of three numbers?

Sort them and take the second value. For 4, 8, 6 the sorted order is 4, 6, 8, so the median is 6 — not the 8 sitting in the middle as typed.

### What is the mean of 4, 8 and 6?

(4 + 8 + 6) ÷ 3 = 18 ÷ 3 = 6. The median is also 6 and the range is 8 − 4 = 4.

### Why can the mean and median disagree?

The mean responds to every value&rsquo;s size, while the median only responds to rank. In 1, 2, 100 the single large value drags the mean to 34.33 while the median stays at 2.

### Which should I use for income or house prices?

The median. Housing and income data are right-skewed, and medians such as $52,000 in a three-household example describe the typical case, while means get inflated by a few large values.

### What is the range and when is it misleading?

It is max minus min. It uses only two of the three values, so 4, 100, 6 has a mean of 6 but a range of 96, signaling that the mean describes almost nobody.

### How do negative numbers affect the median?

Not at all, beyond sorting order. For −2, 0, 5 the median is 0 and the mean is 1, since (−2 + 0 + 5) ÷ 3 = 3 ÷ 3 = 1.

### Can the median equal the mean?

Yes, whenever the data is balanced. In 4, 6, 8 both are 6, and in 10, 20, 30 both are 20. Agreement is a sign there is no skew.

### What happens if I enter only two of the three values?

The missing input counts as 0, so 4, 8, 0 has a mean of 4 rather than the true two-value average of 6. Fill all three fields or interpret results with care.

### How do I average more than three numbers?

The same rules scale up: add everything and divide by the count for the mean, sort and take the middle for the median. A dedicated mean calculator handles larger lists without manual sorting.

## Method and sources

Methodology: Results follow exact mathematical definitions; the arithmetic is deterministic and can be verified by hand from the steps shown.

Last updated: 2026-11-17.
- Mean, median and range of a three-value data set.
