Average/Median/Mode Calculator

Enter a set of numbers to get the mean, median, and mode instantly

01

Enter numbers

Supports line breaks, commas, spaces, and Chinese commas.

Numbers are calculated only in your browser

02

Summary

Your summary will appear here.

Mean
Count0
Sum0
Median
Mode
Range
Geometric mean
Maximum
Minimum

A free average calculator turns a pasted list of numbers into a full summary of central tendency and spread. On Yaya Tools you enter values separated by line breaks, commas, or spaces, click calculate, and read count, sum, mean (arithmetic average), median, mode, range, geometric mean, maximum, and minimum in one view. Everything runs locally in your browser—nothing is uploaded to a server.

People search for an average calculator, a mean median mode calculator, or a statistics calculator online when homework, spreadsheets, or field notes leave them with raw figures and no quick way to compare the center of the data. This page answers that need without installing software or signing in. Paste your numbers, verify the totals, and move on to the next step—whether that is reporting a class average, checking survey responses, or feeding the same list into a dispersion tool like the standard deviation calculator.

What is an average calculator?

An average calculator (also called a mean median mode calculator or basic statistics calculator online) computes descriptive statistics from a set of numeric values. At minimum, most people expect the arithmetic mean—the sum divided by the count. A useful tool also returns the median (middle value), mode (most frequent value), range (max minus min), and supporting figures such as count and sum so you can audit the math.

Yaya Tools’ average calculator is built for that everyday workflow:

  • Flexible input — paste numbers from Excel, CSV exports, lab sheets, or plain text; separators include spaces, commas, semicolons, and Chinese commas
  • Count and sum — verify how many values were parsed and what they add to
  • Mean — standard arithmetic average (sum ÷ count)
  • Median — middle value after sorting; for an even count, the average of the two central values
  • Mode — all values tied for highest frequency, or “no mode” when every value appears once
  • Range — maximum minus minimum
  • Geometric mean — computed only when every value is strictly positive
  • Max and min — extremes of the sorted list
  • Local processing — calculations stay in your current browser session

It does not compute variance, standard deviation, percentiles, or weighted averages. For spread around the mean, use the standard deviation calculator on the same dataset after you confirm count and sum here. For a quick total from messy text, the number sum calculator complements this page when you only need addition first.

How to use this mean median mode calculator

The workflow is short so you can summarize a dataset in under a minute.

  1. Open the average calculator on Yaya Tools.
  2. Paste or type your numbers in the input box. One value per line works well; commas, spaces, and mixed separators are also accepted.
  3. Click Calculate (or use the preloaded sample to see how results appear).
  4. Read the result cards: mean, count, sum, median, mode, range, geometric mean (when applicable), max, and min.
  5. Check the summary line beneath the cards for a one-sentence recap of count, mean, and median.
  6. Click Clear to empty the input and reset results when you start a new list.

If the input contains non-numeric tokens, the tool shows an error and asks you to fix invalid entries. Empty input triggers a prompt to enter numbers. Results format with locale-aware grouping and up to ten decimal places, trimming trailing zeros for readability.

Privacy note: your numbers are processed only in the browser. Yaya Tools does not receive or store the list you paste. On a shared device, clear the field when you finish if the data is sensitive.

Statistics formulas this calculator uses

Every result on this page follows standard definitions from introductory statistics. The notation below matches the implementation.

Count and sum

Count is the number of successfully parsed values. Sum is their total:

Sum = x₁ + x₂ + … + xₙ
Count = n

These two figures are the foundation for the mean and are worth cross-checking against the number sum calculator when your source file uses unusual separators or mixed units.

Mean (arithmetic average)

The mean is what most people mean by “average” in daily speech:

Mean = Sum ÷ Count

Example: values 10, 20, and 30 sum to 60 with count 3, so mean = 60 ÷ 3 = 20.

The mean uses every value equally. One very large outlier can pull it away from where most of the data sits—which is why comparing mean to median on the same list is a quick sanity check.

Median

Sort the values from smallest to largest. If n is odd, the median is the middle entry. If n is even, the median is the mean of the two central entries:

Odd n:  median = sorted value at position (n + 1) ÷ 2
Even n: median = (two middle sorted values) ÷ 2

Example: 64, 70, 78, 85, 85, 92, 92 → sorted list has seven values; median = 85 (the fourth value).

Example with even count: 3, 7, 8, 10 → median = (7 + 8) ÷ 2 = 7.5.

The median resists extreme outliers better than the mean. Income and housing price summaries often report median alongside mean for that reason.

Mode

The mode is the value or values that appear most often. The tool counts frequencies for each distinct number:

  • If the highest frequency is greater than 1, every value sharing that frequency is listed as a mode (sorted ascending, comma-separated).
  • If every value appears exactly once, the tool reports no mode.

Example: 85, 92, 78, 92, 64, 85, 70 → 85 and 92 each appear twice; both are modes.

Example: 1, 2, 3, 4 → no mode, because each value occurs once.

Datasets can be unimodal, multimodal, or have no mode. The calculator does not force a single “best” mode when several values tie.

Range

Range measures spread using only the extremes:

Range = Maximum − Minimum

Example: min = 64 and max = 92 → range = 28.

Range is easy to interpret but sensitive to outliers. It does not describe how values cluster between the endpoints; for that, consider variance or standard deviation on the standard deviation calculator.

Geometric mean

The geometric mean applies when values are positive and multiplicative structure matters (growth rates, ratios, index numbers):

Geometric mean = (x₁ × x₂ × … × xₙ)^(1/n)

The implementation uses logarithms for numerical stability: exp(sum of ln(xᵢ) ÷ n).

Geometric mean is shown only when every input is strictly greater than zero. If any value is zero or negative, that card stays blank (displayed as —) while all other statistics still compute. Negative temperatures, profit/loss mixes, or datasets with zeros are valid for mean and median but not for geometric mean under this rule.

Maximum and minimum

After sorting, minimum is the first value and maximum is the last. They anchor the range and help you spot data-entry errors (impossible scores, swapped digits) before you trust the mean.

Worked examples

These examples use numbers you can paste into the tool to verify each statistic.

Example 1: Test scores (sample data)

Default sample: 85, 92, 78, 92, 64, 85, 70.

Count = 7
Sum = 566
Mean = 566 ÷ 7 ≈ 80.857
Sorted: 64, 70, 78, 85, 85, 92, 92
Median = 85
Modes = 85, 92 (each appears twice)
Range = 92 − 64 = 28
Min = 64, Max = 92
Geometric mean ≈ 79.48 (all values positive)

The mean (about 80.9) sits below the median (85) because the low score 64 pulls the average down. Reporting only the mean would understate how most students scored.

Example 2: Even count and fractional median

Values: 12, 15, 18, 21.

Count = 4
Sum = 66
Mean = 16.5
Median = (15 + 18) ÷ 2 = 16.5
Mode = none (each value once)
Range = 9

Here mean and median match. That often happens in symmetric small sets but is not guaranteed when the distribution skews.

Example 3: Multimodal survey codes

Values: 1, 2, 2, 3, 3, 3, 4, 4, 4, 5.

Count = 10
Sum = 27
Mean = 2.7
Median = (3 + 3) ÷ 2 = 3
Modes = 3, 4 (each appears three times)
Range = 4

Both 3 and 4 tie for most frequent. The tool lists both rather than picking one arbitrarily.

Example 4: When geometric mean is omitted

Values: 2, 8, 0, 16.

Mean = 26 ÷ 4 = 6.5
Median = (2 + 8) ÷ 2 = 5
Geometric mean = not shown (zero present)

Arithmetic statistics still run. Geometric mean requires all positive inputs.

Example 5: Checking sum before percentage work

Values: 45, 50, 55, 60, 90.

Sum = 300
Count = 5
Mean = 60

If 45 represents points earned on a 50-point quiz, you might next ask what percent 45 is of 50. The percentage calculator handles that ratio step; this page confirms the list average and total first.

Mean vs median vs mode: which should you report?

Choosing one “typical” value depends on the question and the shape of the data.

Use the mean when values are numeric, roughly symmetric, and no single outlier dominates—class grades on the same test, repeated measurements with small error, or averaging rates that share the same denominator context.

Use the median when skewed distributions or outliers would distort the mean—household income, wait times, or any long tail where a few very large values appear.

Use the mode for categorical or discrete codes (favorite option, most common rating bucket) or when “most frequent” is the literal answer. Continuous measurements rarely have a meaningful mode unless values repeat due to rounding.

Reporting more than one measure is often best practice: mean and median together tell readers both the balance point and the center of the ordered list. If you also need how far values scatter from the mean, follow up with the standard deviation calculator.

Common mistakes when calculating averages

Forgetting to include every value. A partial copy from a spreadsheet changes count, sum, and every derived statistic. Confirm count matches your source row count.

Confusing mean with median. “Average test score” in conversation usually means mean; “typical home price” in headlines often means median. Always label which measure you used.

Expecting a mode in continuous data. Precise decimals that each appear once yield no mode. That is correct behavior, not a bug.

Treating range as full variability. Range uses only two points. Two datasets can share the same min, max, and range but differ sharply in how values distribute between them.

Applying geometric mean to non-positive data. Growth factors must be positive. Zero or negative entries disable geometric mean on this page by design.

Mixing units. Averaging heights in centimeters with one value accidentally entered in inches skews the mean. Normalize units before pasting.

Rounding too early in manual work. The calculator keeps full precision internally. If you hand-compute mean as sum ÷ count, round only at the end to avoid drift—especially on small datasets.

References

Frequently asked questions

What is the difference between mean and average?

In everyday use on this page, average means the arithmetic mean: sum divided by count. Statisticians also use “average” loosely for other typical values (median, sometimes mode). The result labeled Mean on Yaya Tools is always the arithmetic average.

How do I calculate mean, median, and mode from a list?

Paste your numbers into the average calculator and click Calculate. Mean = sum ÷ count. Median = middle value after sorting (or average of two middles when count is even). Mode = most frequent value(s), or no mode if all frequencies are 1. You do not need separate formulas for each step on this page.

What does this statistics calculator online show besides mean, median, and mode?

It also shows count, sum, range, maximum, minimum, and geometric mean when all values are positive. A short text summary repeats count, mean, and median. It does not compute standard deviation; use the standard deviation calculator for variance and SD.

How does the median work with an even number of values?

Values are sorted ascending. With an even count, the median is the arithmetic mean of the two central values. Example: 10, 20, 30, 40 → median = (20 + 30) ÷ 2 = 25.

What if there are multiple modes?

When two or more values share the highest frequency (and that frequency is greater than 1), the tool lists all of them, separated by commas, in ascending order. Example: 2, 2, 5, 5, 7 → modes 2 and 5.

When is there no mode?

If every distinct value appears exactly once, no value is “most frequent.” The tool displays no mode (localized in the interface). That is expected for many continuous measurements without repeated readings.

Why is geometric mean blank for my data?

Geometric mean requires every input to be strictly positive. Zeros or negative numbers disable that statistic only; mean, median, mode, range, max, and min still calculate. Remove or adjust non-positive entries if you specifically need geometric mean—for example, all growth multipliers must be positive.

Can I enter negative numbers and decimals?

Yes. Parsing accepts negative signs and decimal points. Mean, median, mode (when applicable), range, max, and min handle negative and fractional values. Only geometric mean requires all positive numbers.

What separators can I use between numbers?

The parser splits on whitespace, commas (English or Chinese), semicolons, and the Chinese enumeration mark. You can mix formats in one paste, such as lines with comma-separated groups. Invalid tokens trigger an error message.

Is my data sent to a server?

No. All parsing and math run locally in your browser. Nothing is uploaded for storage or processing. Clear the input on shared devices when finished.

How is range different from standard deviation?

Range is max minus min—a single span using two points. Standard deviation measures typical distance from the mean using all values. Two lists can have the same range but very different spreads. Use this page for range and central tendency; use the standard deviation calculator for dispersion.

Can I verify the sum before averaging?

Yes. The Sum and Count cards show the ingredients of the mean. For long messy text, you can also total values first in the number sum calculator and compare against the sum shown here.

Does the mean match Excel’s AVERAGE function?

For the same finite numeric list, yes—the arithmetic mean is sum ÷ count, equivalent to Excel AVERAGE. Excel’s MEDIAN and MODE-family functions follow the same definitions, though Excel mode functions differ by version; this tool lists all tied modes explicitly.

How many decimal places are displayed?

Results format with locale-aware grouping and up to ten decimal places, trimming unnecessary trailing zeros. Very large or small magnitudes remain readable in typical classroom and business ranges.

When should I use the percentage calculator with this tool?

Use the average calculator when you need the mean of several numbers. Use the percentage calculator when the question is a ratio—what percent one number is of another, percent change, or percent of a base. Example: after averaging quiz percentages here, you might compute what share one score is of the maximum points using the percentage tool.