Mean Median Mode Calculator

Mean (average)7.3333
Median8
Mode8 (appears 3 times)
Range6
Sum44
Smallest / largest4 / 10
How this was calculated
  1. Sorted: 4, 6, 8, 8, 8, 10. Sum = 44 across 6 values.
  2. Mean = 44 ÷ 6 = 7.3333.
  3. Median: with an even count, average the two middle values — (8 + 8) ÷ 2 = 8.
  4. Mode: 8 appears most often (3 times). Range = 10 − 4 = 6.

A mean median mode calculator takes a set of numbers and instantly reports the three most common measures of central tendency, plus the supporting values you need to interpret them. Using the verified set {4, 8, 6, 8, 10, 8}, the calculator sorts the data to 4, 6, 8, 8, 8, 10 and returns a mean of 7.3333, a median of 8, and a mode of 8, alongside a range of 6 and a sum of 44. For the set {12, 15, 11, 15, 19, 15, 21, 10}, it returns a mean of 14.75, median of 15, mode of 15, range of 11, and sum of 118. For {3, 7, 7, 2}, it returns a mean of 4.75, a median of 5 (the average of the middle two, 3 and 7), a mode of 7, a range of 5, and a sum of 19. Range (max − min) is the simplest spread measure; this calculator also reports the count and sum alongside.

These results follow the standard definitions used across statistics: the mean equals sum divided by count, the median is the middle value of the sorted set (or the average of the two middle values for an even count), and the mode is the most frequent value, though a set can have several modes or none. This method matters because the median ignores outliers that drag the mean — one very large value moves the mean a lot and the median not at all, which is why house prices are reported as medians. This page shows the formula, step-by-step workings, worked examples, and sources so you can verify every result.

Worked examples

Mean, median and mode of 4, 8, 6, 8, 10, 8

All three averages differ: mean 7.3333, median 8, mode 8 — a perfect teaching example. (6 values · 4 · 8 · 6 · 8 · 10 · 8 · 0 · 0 · 0 · 0)

Mean (average)7.3333
Median8
Mode8 (appears 3 times)
Range6
Sum44
Smallest / largest4 / 10

Eight values with a clear mode

Mean 14.75, median 15, mode 15, range 11, sum 118. (8 values · 12 · 15 · 11 · 15 · 19 · 15 · 21 · 10 · 0 · 0)

Mean (average)14.75
Median15
Mode15 (appears 3 times)
Range11
Sum118
Smallest / largest10 / 21

Four values: 3, 7, 7, 2

Mean 4.75 but median 5 — with an even count the median averages the middle two (3 and 7). (4 values · 3 · 7 · 7 · 2 · 0 · 0 · 0 · 0 · 0 · 0)

Mean (average)4.75
Median5
Mode7 (appears 2 times)
Range5
Sum19
Smallest / largest2 / 7

Three averages, three different questions

Consider the set {4, 8, 6, 8, 10, 8}. Sorted, it reads 4, 6, 8, 8, 8, 10. The mean is 7.3333, the median is 8, and the mode is 8. Three different averages, three different answers to three different questions — and a mean median mode calculator exists precisely because no single one tells the whole story.

Each average answers a distinct question. The mean answers: if we shared the total equally, what would everyone get? It is simply the sum divided by the count — here, 44 divided by 6. The median answers: who sits in the middle? Line everyone up from smallest to largest and pick the center value, or when the count is even, average the two middle values. The mode answers: what shows up most often? In this set, 8 appears three times, more than any other number.

These differences matter most when the data is lopsided. One very large value moves the mean a lot and the median not at all. That is why house prices are reported as medians — a few multi-million-dollar sales would drag the mean far above what most homes actually cost, while the median stays grounded. The mode, meanwhile, captures what is typical in a way the other two cannot. A clothing retailer restocking shelves cares less about the mean shirt size than the mode, because the mode is the size most customers actually buy.

A set can have several modes or none at all, which is worth keeping in mind. The verified set {12, 15, 11, 15, 19, 15, 21, 10} has a mean of 14.75, a median of 15, and a mode of 15 — here all three averages cluster together, and the data is fairly balanced. But the set {3, 7, 7, 2} tells a different story: its mean is 4.75, its median is 5 (the average of the middle two, 3 and 7), and its mode is 7. None of those three numbers match, and each one is correct for the question it answers.

Range — the maximum minus the minimum — is the simplest measure of how spread out the values are. This calculator also reports the count and sum alongside the mean, median, mode, and range, so you can see both the averages and the basic shape of your data in one place.

The mean: sum divided by count

The mean is the most familiar average, and the formula is simple: mean = sum / count. Add every value in your dataset, then divide by how many values there are. A mean median mode calculator runs this calculation instantly, but the arithmetic is easy to follow by hand. Take the dataset {12, 15, 11, 15, 19, 15, 21, 10}. The sum of these eight values is 118. Divide 118 by 8, and the mean is 14.75. That single number represents the balancing point of the entire set — if every value were the same, they would all be 14.75.

Contrast that with a smaller set: {4, 8, 6, 8, 10, 8}. The sum is 44 across six values, giving a mean of 7.3333. Notice that the mean does not have to be a whole number or even match any value in the dataset. It is a calculated center, not a value pulled from the list. The same applies to {3, 7, 7, 2}: the sum is 19 over four values, so the mean is 4.75, a number that appears nowhere in the original set but accurately reflects the average.

The mean is the right tool when you care about totals, rates, or anything you will multiply back up. If you want to know the average monthly sales figure so you can project annual revenue, the mean is what you need. Multiply the mean by twelve, and you have a reasonable estimate. The same logic applies to average test scores, average fuel consumption, or average daily visitors — any situation where the total matters and the mean can be scaled back to a meaningful whole.

The mean does have a weakness: it is sensitive to outliers. A single very large value pulls the mean upward, even if every other value is modest. This is why house prices are reported as medians rather than means. One multi-million-dollar sale in a neighborhood of modest homes would drag the mean far above what most buyers actually pay. The median, by contrast, ignores that outlier entirely — it simply finds the middle value and stays put. Use the mean when you want every value to count proportionally; use the median when a few extreme values would distort the picture.

  • Mean = sum / count — add all values, then divide by how many there are
  • Set {12, 15, 11, 15, 19, 15, 21, 10}: sum 118 over 8 values gives a mean of 14.75
  • Set {4, 8, 6, 8, 10, 8}: sum 44 over 6 values gives a mean of 7.3333
  • Set {3, 7, 7, 2}: sum 19 over 4 values gives a mean of 4.75
  • Use the mean for totals, rates, and quantities you will multiply back up
  • Use the median instead when outliers would skew the mean
The mean is the only average that uses every value in its calculation. That makes it powerful — and also makes it vulnerable to extreme values. If one number in your set is far larger or smaller than the rest, the mean will shift toward it. The median will not.

The median: the middle, and the even-count rule

To find the median, you first have to sort your numbers from smallest to largest. Only then can you locate the middle value. For a set with an odd count, the median is simply the single number sitting in the middle position. For a set with an even count, there is no single middle number, so the median becomes the average of the two middle values instead.

The even-count rule is what gives Set C its median of 5. Set C contains four numbers: {3, 7, 7, 2}. Sort them and you get 2, 3, 7, 7. The two middle values are 3 and 7, so you average them: (3 + 7) / 2 = 5. Compare that with Set {12, 15, 11, 15, 19, 15, 21, 10}, which has an even count of 8. Sorted, it reads 10, 11, 12, 15, 15, 15, 19, 21. The two middle values are both 15, so the median is 15. A reliable mean median mode calculator applies this same sorting step and even-count rule every time.

The median's real strength is its resistance to outliers. A single very large value drags the mean upward a lot but moves the median not at all. This is exactly why house prices are reported as medians rather than means. Imagine a neighborhood where most homes sell for around $300,000, but one sells for $5 million. That one sale would pull the mean price far above what typical buyers actually pay, yet the median would barely shift. The same logic applies to income data, where a handful of extremely high earners can distort the mean while the median stays anchored to what the middle person actually earns.

This outlier resistance matters because it tells you something the mean cannot. When the mean and median sit far apart, that gap is a signal that outliers are pulling the numbers in one direction. When they sit close together, the data is more evenly balanced. The range, calculated as max minus min, offers another view of spread, and this calculator also reports the count and sum alongside the median so you can see the full picture at once.

  • Sort the numbers first — the median depends on order, not on the original sequence.
  • Odd count: take the single middle value.
  • Even count: average the two middle values, as with Set C's 3 and 7 averaging to 5.
  • Use the median, not the mean, when outliers could mislead — which is why house prices are reported as medians.
One very large value moves the mean a lot and the median not at all. That single property is why the median, not the mean, is the standard number reported for house prices and income.

The mode: most frequent wins

The mode is the value that shows up most often in a dataset. It is the only one of the three central measures that looks at frequency instead of position or arithmetic. In the verified set {4, 8, 6, 8, 10, 8}, the number 8 appears three times, while every other value appears once. That makes 8 the clear mode. When you enter this set into the mean median mode calculator, it identifies 8 as the most frequent value and reports it alongside the mean of 7.3333, the median of 8, the range of 6, and the sum of 44.

Not every dataset has a single mode. A set is bimodal when two different values tie for the highest frequency, and some datasets have even more than two modes. The calculator handles these cases by listing every value that shares the top frequency, so you see the full picture rather than an arbitrary single answer. On the other hand, when every value in a dataset appears exactly once, there is no most frequent value to identify. In that situation the calculator reports 'no mode' rather than forcing a result that does not actually exist.

The mode is especially useful when you are working with categorical data or repeated values where the mean and median might not tell you much. Consider the verified set {12, 15, 11, 15, 19, 15, 21, 10}. The value 15 appears three times, more than any other number, so the mode is 15. The mean of this set is 14.75 and the median is 15, so all three measures land close together. In the verified set {3, 7, 7, 2}, the mode is 7 because it appears twice while the other values appear once. Here the mean is 4.75 and the median is 5, calculated as the average of the middle two values, 3 and 7. The mode stands apart because it reflects what actually repeats rather than what the middle or average looks like.

A useful way to think about the mode is that it answers a different question than the mean or median. The mean tells you what you would get if you divided the total evenly, the median tells you the middle position, and the mode tells you what occurred most frequently. Each measure has its own strength, and the calculator reports all three so you can compare them directly. The range, count, and sum appear alongside, giving you a fuller understanding of how the data is distributed without any extra steps.

How to use this calculator

To use this mean median mode calculator, first choose how many values you want to enter, anywhere from 2 to 10. Type your numbers into the input fields, then submit the form. The calculator responds instantly with a full set of results: the sorted list, the mean, the median, the mode, the range, the sum, and the count of values. Each output is labeled clearly so you can find the statistic you need without searching.

The calculator computes each statistic using standard definitions. The mean equals the sum of all values divided by the count of values. The median is the middle value of the sorted set, or when the count is even, the average of the two middle values. The mode is the value that appears most frequently; a set can have several modes or none at all. Range is calculated as the maximum value minus the minimum value, making it the simplest measure of how spread out your data is. Alongside these results, the calculator reports the sum and the count so you can verify the calculations yourself.

The median is especially useful because it ignores outliers that would drag the mean. If one value in your set is unusually large, it moves the mean a lot but leaves the median almost unchanged. This is exactly why house prices are reported as medians rather than means. A single multi-million-dollar sale can push the mean price up dramatically, but the median stays close to the typical home value, giving buyers a more realistic picture of the market.

The table below shows three verified example sets side by side. Each set was run through the calculator to confirm the outputs. The first set, {4, 8, 6, 8, 10, 8}, sorts to 4, 6, 8, 8, 8, 10 and produces a mean of 7.3333, a median of 8, a mode of 8, a range of 6, and a sum of 44. The second set, {12, 15, 11, 15, 19, 15, 21, 10}, yields a mean of 14.75, a median of 15, a mode of 15, a range of 11, and a sum of 118. The third set, {3, 7, 7, 2}, demonstrates the even-count rule: its median is 5, which is the average of the two middle values, 3 and 7. Its mean is 4.75, its mode is 7, its range is 5, and its sum is 19.

Input SetSorted ListMeanMedianModeRangeSum
{4, 8, 6, 8, 10, 8}4, 6, 8, 8, 8, 107.333388644
{12, 15, 11, 15, 19, 15, 21, 10}—14.75151511118
{3, 7, 7, 2}—4.7557519
The median ignores outliers that drag the mean: one very large value moves the mean a lot and the median not at all — why house prices are reported as medians.

Which average should you report?

The average you choose to report shapes the story your data tells, so the decision deserves a moment of thought. A mean median mode calculator removes the arithmetic burden by producing all three measures at once, but you still need to know which one fits your situation. The right choice depends on whether your data is skewed, whether you are working with totals, and whether you are dealing with categories or counts.

Use the median when your data is skewed or contains outliers. The median ignores outliers that drag the mean: one very large value moves the mean a lot and the median not at all. That is exactly why house prices are reported as medians rather than means. A handful of multi-million-dollar sales would inflate the mean and misrepresent what a typical buyer pays, while the median stays anchored to the middle of the sorted set. For the verified set {3, 7, 7, 2}, the mean is 4.75 but the median is 5, calculated as the average of the two middle values, 3 and 7. The difference is modest here, but it illustrates how the median can diverge from the mean when the distribution is uneven.

Use the mean when you need to represent totals or work with rates and physics. The mean equals the sum divided by the count, so it ties directly to aggregate quantities. If you know the mean of a group, you can multiply it by the count to recover the total, which makes it the natural choice for budgets, distances, speeds, and other measurements where the total matters. For the verified set {4, 8, 6, 8, 10, 8}, the sum is 44 and the count is 6, giving a mean of 7.3333. That figure captures the per-item average in a way the median and mode cannot, because it accounts for every value in the set.

Use the mode when your data falls into categories or when you need to answer most-common questions. The mode is the most frequent value, and a set can have several modes or none at all. It is the right tool for questions like which shoe size sells most often, which rating customers give most frequently, or which result appears most on a test. In the verified set {12, 15, 11, 15, 19, 15, 21, 10}, the mode is 15 because it appears three times, more than any other value. The mean of 14.75 and median of 15 are close to the mode here, but only the mode directly identifies the most common outcome.

The most honest habit is to report all three measures rather than picking the one that best supports a preferred narrative. Each average reveals something different about the same data, and together they give a fuller picture than any single number can. This calculator reports the mean, median, mode, range, count, and sum alongside each other, so you can compare them directly and choose the appropriate one for your context with the others visible for transparency.

Range (max minus min) is the simplest spread measure. The calculator also reports the count and sum alongside the three averages, giving you the full set of summary statistics in one pass.

FAQs

What are the mean, median and mode of 4, 8, 6, 8, 10, 8?

The mean is 7.3333 (44 / 6), the median is 8, and the mode is 8. Sorted, the set is 4, 6, 8, 8, 8, 10. Since there is an even number of values, both middle values are 8, so the median is 8. The value 8 appears most often, making it the mode.

How do you find the median with an even number of values?

Average the two middle values after sorting. For {3, 7, 7, 2}, sorted becomes 2, 3, 7, 7. The two middle values are 3 and 7, so the median is (3 + 7) / 2 = 5. This method ensures the median reflects the center of the data when there is no single middle value.

Can a data set have more than one mode?

Yes. If two values tie for most frequent, the set is bimodal, and the calculator lists both. If every value appears once, there is no mode. This means a data set can have one mode, multiple modes, or no mode at all, depending on how often each value appears.

Why is the median used for house prices and incomes?

A few extreme values drag the mean upward but leave the median untouched. The median describes the typical case; the mean describes the total divided up. For house prices and incomes, where a small number of very high values can skew the mean, the median gives a better picture of what is typical.

What is the range of a data set?

The range is the largest minus smallest value. For the set {12, 15, 11, 15, 19, 15, 21, 10}, the range is 11 (21 − 10). It is the quickest measure of spread, showing how far apart the highest and lowest values are in your data.

How many numbers can I enter?

You can enter between 2 and 10 values — enough for homework sets and quick data checks. The sorted list is shown so you can audit the result, making it easy to verify how the mean, median, mode, and range were calculated from your input.

Sources

Related calculators

Average Calculator
Mean, median, mode, range, sum and count for 2 to 8 numbers — the full descriptive-statistics starter set in one pass.
Standard Deviation Calculator
Mean, sample and population standard deviation and variance for up to eight numbers — with the n versus n−1 difference explained.
Percent Error Calculator
Percent error between a measured and an accepted value — plus absolute error and percent difference, and when to use each.
Probability Calculator
Two independent events, every combination: both happen, at least one, exactly one, or neither — from the two individual probabilities.