Average Calculator
Paste or type any list of numbers — separated by commas or new lines — and instantly see the mean, median, mode, range, sum, min, max, and count. Useful for grades, survey results, financial data, or any set of values where you need a quick statistical summary.
How It Works
The word "average" is commonly used to mean the arithmetic mean, but in statistics there are several measures of central tendency, each useful in different situations. This calculator computes them all from a single list of numbers.
Count: The total number of values in the dataset.
Sum: All values added together.
Mean (Arithmetic Average): The sum divided by the count.
Mean = Σx ÷ n
Example: For [10, 20, 30, 40, 50], Mean = 150 ÷ 5 = 30.
Median: The middle value when all numbers are sorted in order. If there is an even count, the median is the average of the two middle values.
Example: [10, 20, 30, 40, 50] → middle value is 30. For [10, 20, 30, 40], median = (20 + 30) ÷ 2 = 25.
Mode: The value that appears most often. If every value is unique, there is no mode. If multiple values tie for most frequent, all are shown.
Example: [10, 20, 20, 30, 40] → Mode = 20.
Range: The spread of the data, calculated as maximum minus minimum.
Range = Max − Min
Example: [10, 20, 30, 40, 50] → Range = 50 − 10 = 40.
Min and Max: The smallest and largest values in the dataset.
When to use each measure:
Mean is best for symmetric, normally distributed data (e.g. test scores, temperatures). It is sensitive to outliers — a single extreme value can pull the mean significantly.
Median is better when the data is skewed or contains outliers. House prices and income distributions are always reported as medians for this reason.
Mode is most useful for categorical or discrete data, or when you want to know the most common value (e.g. most popular shoe size, most frequent survey response).
This calculator accepts both comma-delimited input (e.g. "10, 20, 30") and line-by-line input (one number per line), making it easy to paste data directly from a spreadsheet.
Frequently Asked Questions
What is the difference between mean and median?
The mean is the arithmetic average (sum divided by count). The median is the middle value when sorted. In a symmetric dataset they are similar, but in a skewed dataset they differ significantly. For example, with incomes of $30k, $40k, $50k, and $1M, the mean is $280k but the median is $45k — the median better represents the typical person.
What does "no unique mode" mean?
If every number in your list appears exactly once, there is no mode because no value is more frequent than any other. The calculator shows this clearly rather than listing all values, which would be meaningless.
How many numbers can I enter?
The calculator processes numbers purely in the browser with JavaScript, so there is no hard limit imposed by a server. Practically, thousands of values work fine. Very large datasets (tens of thousands) may cause a brief delay.
Can I enter negative numbers or decimals?
Yes. The calculator handles negative numbers (e.g. -5, -3.14) and decimal values (e.g. 3.14, 99.9) without any issue.
What input formats are accepted?
You can separate numbers with commas (10, 20, 30), new lines (one per line), or a combination of both. Extra spaces around numbers are ignored. Non-numeric entries are skipped with a warning showing how many values were ignored.