Use this statistics calculator to find the mean, median, mode, range, variance, standard deviation, quartiles, interquartile range, mean absolute deviation, coefficient of variation, standard error, and z-score from one list of numbers. Enter your data, choose sample or population statistics, and the calculator will show both the answer and the method used.
Paste or type your data values below. Separate values with commas, spaces, semicolons, or line breaks. For best results, do not use thousands separators inside numbers. For example, type 1200, not 1,200.
This table gives a detailed breakdown of the data set. It includes location measures, spread measures, quartiles, and optional z-score information. The calculator rounds displayed results to the decimal places you choose, but the internal calculation uses unrounded values.
| Statistic | Result | What it means |
|---|---|---|
| Your results will appear here after calculation. | ||
A statistics calculator is only useful when its formulas are clear. The most important idea is that every statistic summarizes the same data set from a different angle. Some statistics describe the center of the data, some describe the spread, and some describe the position of one value compared with the group. The formulas below are written in proper mathematical notation so that students can connect the calculator output with the method used in class.
The arithmetic mean, often called the average, adds all data values and divides by the number of values. It is the balance point of the data set.
The median is the middle value after the data is placed in ascending order. If the number of values is odd, the median is the single middle value. If the number of values is even, the median is the mean of the two middle values.
Population variance and population standard deviation are used when your data set contains every value in the group you care about. For example, if a teacher calculates the scores of every student in one class, the class can be treated as the full population for that class.
Sample variance and sample standard deviation are used when your data set is only a sample taken from a larger population. The denominator is \( n-1 \) instead of \( n \). This adjustment is called Bessel's correction and it helps the sample variance estimate the population variance more fairly.
The range measures the total distance from the smallest value to the largest value. Quartiles split ordered data into four parts. The interquartile range, or IQR, measures the width of the middle half of the data. IQR is useful because it is less affected by extreme values than the full range.
Mean absolute deviation, often shortened to MAD, measures the average absolute distance between each value and the mean. It is easier to interpret than variance because it stays in the same unit as the data.
A z-score tells you how many standard deviations a value is above or below the mean. A positive z-score means the value is above the mean. A negative z-score means the value is below the mean. A z-score close to zero means the value is close to the center of the data set.
Statistics can feel difficult because several results appear at the same time. The easiest way to understand the process is to separate the calculation into a few clear steps. This is also the process followed by the calculator above.
Start with a clean list of numbers. The numbers may represent test scores, heights, prices, times, ages, survey ratings, experiment results, or any other numerical data. In this calculator, values can be separated by commas, spaces, semicolons, or line breaks. The order you enter the values does not matter for the mean or standard deviation, but order does matter when finding the median, quartiles, and percentiles. The calculator sorts the data automatically before calculating those order-based statistics.
Choose population if your data includes every value in the group being studied. Choose sample if your data is only part of a larger group. This decision mainly affects variance and standard deviation. The mean, median, mode, range, quartiles, and IQR do not change when you switch between sample and population. The sample standard deviation is usually slightly larger because it divides by \( n-1 \) instead of \( n \).
The calculator finds the mean, median, and mode because each one answers a different version of the question: where is the center? The mean uses every value, so it is sensitive to very large or very small values. The median depends only on the middle position, so it is more resistant to outliers. The mode identifies the most frequent value, so it is useful when repeated values matter.
After finding the center, the next question is how far the data values are spread out. A class with scores of 79, 80, and 81 has a mean of 80 and very low spread. A class with scores of 40, 80, and 120 also has a mean of 80, but the spread is much larger. Standard deviation, variance, range, IQR, and mean absolute deviation help describe that difference.
The final step is not just reading the numbers. It is understanding what they mean in context. A standard deviation of 2 points is small for a 100-point exam, but it may be large for a 5-point rating scale. A range of 50 may be normal for annual incomes but extreme for quiz marks. Always interpret the result using the unit and situation of the original data.
This statistics calculator is designed for descriptive statistics. Descriptive statistics summarize a data set without trying to prove a larger claim. When you enter a list of numbers, the calculator describes what is happening inside that list. It does not decide whether a treatment caused an effect, whether two variables are related, or whether a sample proves something about a population. Those questions belong to inferential statistics. Descriptive statistics come first because they help you understand the shape, center, and spread of the data before deeper analysis begins.
The calculator is useful for school mathematics, AP Statistics, IB Mathematics, business data, science experiments, classroom assessment, survey analysis, and everyday numerical summaries. A student may use it to summarize exam scores. A teacher may use it to compare the spread of marks across two classes. A small business owner may use it to summarize daily sales. A researcher may use it to check whether measurements look consistent before creating a graph. The same basic statistics appear again and again because they give a compact picture of a data set.
The mean is the most familiar measure of center. If you have the values 10, 20, and 30, the mean is 20 because the total is 60 and there are 3 values. The mean is powerful because it uses every value in the data set. If one value changes, the mean changes. This makes the mean very informative when the data is fairly balanced. However, it also means the mean can be pulled by outliers. For example, the mean of 10, 11, 12, and 100 is 33.25, even though three of the four values are close to 11. In that case, the mean is mathematically correct, but it may not represent a typical value very well.
Use the mean when you want a single balance point, when the data has no extreme outliers, and when every value should influence the summary. In exams, the average score is often useful because every student's result contributes to the class average. In finance, the average monthly spending can help with budgeting, but it should be interpreted carefully if one month includes an unusual emergency expense. In science, the mean of repeated measurements can reduce the effect of small random errors, but it should still be paired with a spread measure such as standard deviation.
The median is the middle of the ordered data set. It is not affected as strongly by extreme values. If the data values are 10, 11, 12, and 100, the median is 11.5 because the two middle values are 11 and 12. This median is much closer to the cluster of typical values than the mean. That is why median income is often more meaningful than mean income: a few very high incomes can raise the mean, but they do not move the median as dramatically.
Use the median when data is skewed, when outliers exist, or when you want the typical middle position. Median is also helpful in real estate prices, salaries, waiting times, response times, and other data where a small number of unusually high values can distort the mean. In education, the median score can show what a middle-performing student achieved, while the mean score shows the overall balance point of the class.
The mode is the most frequent value. A data set can have no mode, one mode, or several modes. If every value occurs once, there is no meaningful mode. If one value occurs most often, the data is unimodal. If two values tie as the most frequent, the data is bimodal. The mode is especially useful when repeated values matter. In a class test, a mode of 85 means 85 was the most common score. In a shoe-size survey, the mode may be more practical than the mean because shoe sizes are chosen from discrete categories.
Mode is not always the strongest statistic for numerical data. It ignores how far values are from each other and only counts frequency. However, it can reveal patterns that the mean and median hide. If a quiz has modes of 40 and 90, the class may contain two groups of students with very different performance levels. That signal may be more useful than a single average.
The range is the maximum value minus the minimum value. It is the simplest measure of spread. If the smallest score is 42 and the largest score is 96, the range is 54. Range is easy to understand because it shows the full distance covered by the data. The weakness is that it uses only two values. If one value is an outlier, the range can look much larger than the spread of most of the data. That is why the range should be read together with IQR and standard deviation.
Range is useful for a quick first look. It tells you whether the data values are tightly grouped or widely separated. It is also helpful when the extreme values matter in their own right. For example, if a lab measurement has a large range, that may indicate inconsistent experimental conditions. If test scores have a large range, that may indicate that the same lesson produced very different levels of understanding.
Variance measures the average squared distance from the mean. It is central in statistics because many advanced methods use squared deviations. Squaring has two important effects. First, it removes negative signs, so distances below the mean and above the mean do not cancel each other out. Second, it gives more weight to larger deviations. A value that is far from the mean increases variance much more than a value close to the mean.
The main challenge with variance is interpretation. If your data is measured in points, variance is measured in squared points. If your data is measured in dollars, variance is measured in squared dollars. That unit is not intuitive for most readers. For this reason, variance is often used for calculation and theory, while standard deviation is used for explanation. This calculator shows both so that students can connect the two ideas.
Standard deviation is the square root of variance. It brings the spread measure back into the original unit of the data. If test scores have a mean of 75 and a standard deviation of 5, a typical score is often within about 5 points of 75, depending on the shape of the data. If another class also has a mean of 75 but a standard deviation of 18, the second class is much more spread out. The average score is the same, but the consistency is different.
Standard deviation is one of the most important numbers in statistics because it supports comparison. You can compare the standard deviation of two data sets measured in the same unit to see which one varies more. You can use it to calculate z-scores. You can use it to understand whether values are close to the mean or far away from it. In normal distributions, standard deviation also connects to common percentage rules, such as values within one, two, or three standard deviations of the mean.
Quartiles divide sorted data into four parts. The first quartile, \( Q_1 \), marks the lower quarter of the data. The second quartile is the median. The third quartile, \( Q_3 \), marks the upper quarter. The interquartile range is \( Q_3-Q_1 \). It describes the spread of the middle 50 percent of the data.
IQR is especially helpful when data contains outliers. Because it focuses on the middle half, it ignores the most extreme ends of the data set. This makes it a strong companion to the median. A box plot uses the median, quartiles, IQR, minimum, and maximum to show the shape of the distribution visually. If the IQR is small, the middle half of the values are close together. If the IQR is large, the middle half is spread out.
A z-score turns a raw value into a relative position. Suppose a student scores 88 on a test where the mean is 80 and the standard deviation is 4. The z-score is \( z=(88-80)/4=2 \). The score is two standard deviations above the mean. If another student scores 72, the z-score is \( z=(72-80)/4=-2 \), so the score is two standard deviations below the mean.
Z-scores are useful because they allow fairer comparison across different scales. A score of 85 may be excellent on a difficult exam but ordinary on an easy exam. The z-score considers the mean and standard deviation of the group. This is why standardized scores appear in testing, psychology, research, and data analysis. A z-score should still be interpreted carefully, especially when the data is not approximately bell-shaped.
The difference between sample and population is one of the most common sources of confusion in statistics. A population is the entire group you want to describe. A sample is a smaller part of that group. If you record the heights of every student in one classroom and your only goal is to describe that classroom, you can treat the data as a population. If you record the heights of 30 students to estimate the heights of all students in a school, the 30 students are a sample.
The choice matters because sample variance and sample standard deviation divide by \( n-1 \). Population variance and population standard deviation divide by \( N \). The sample formula is designed for estimation. It recognizes that a sample usually does not capture the full spread of the population perfectly. Dividing by one less value makes the spread estimate a little larger, which reduces the tendency to underestimate population variation.
For homework, your teacher or textbook may specify whether to use sample or population standard deviation. If it does not, look at the wording. Phrases such as "a sample of students," "a random sample," or "surveyed 50 people from a city" usually indicate sample statistics. Phrases such as "all students in the class," "every item produced today," or "the full data set" usually indicate population statistics.
Simple rule: use sample statistics when the data represents part of a larger group. Use population statistics when the data contains every value in the group you are describing.
Suppose a student records seven quiz scores:
There are seven values, so \( n=7 \). The sum is:
The mean is:
The values are already in order, and there are seven values, so the median is the fourth value:
The value 18 appears twice, more than any other value, so the mode is 18. The range is:
If these scores are treated as a sample, the sample variance is approximately \( 19.62 \) and the sample standard deviation is approximately \( 4.43 \). If the scores are treated as a population, the population variance is approximately \( 16.82 \) and the population standard deviation is approximately \( 4.10 \). The sample standard deviation is larger because it uses \( n-1 \) in the denominator.
In context, the average quiz score is about 18.57, the middle score is 18, the most common score is 18, and most scores are within a few points of the mean. The data is moderately spread out because the lowest score is 12 and the highest score is 25.
A statistics result should never be read as just a number. It should be read as a sentence about the data. Mean, median, and mode describe center. Range, IQR, variance, standard deviation, and mean absolute deviation describe spread. Z-score describes position. When these results are read together, they tell a much stronger story than any single statistic can tell alone.
If the mean and median are close, the data may be roughly balanced. If the mean is much larger than the median, the data may have high outliers or a right-skewed shape. If the mean is much smaller than the median, the data may have low outliers or a left-skewed shape. If the standard deviation is small compared with the mean, the values are relatively consistent. If the standard deviation is large compared with the mean, the values vary widely.
For classroom data, a low standard deviation may mean students performed similarly. A high standard deviation may mean some students understood the topic very well while others struggled. For business data, a high standard deviation in daily sales may indicate unstable demand. For science data, a high standard deviation may suggest measurement error, inconsistent conditions, or natural variation in the system being studied.
The coefficient of variation is useful when comparing spread between data sets with different means. It expresses standard deviation as a percentage of the mean. For example, a standard deviation of 5 is large when the mean is 10, but small when the mean is 500. Because the coefficient of variation is relative, it helps compare consistency across different scales. It should not be used when the mean is zero or extremely close to zero because the percentage becomes unstable.
The most common mistake is using the wrong standard deviation formula. The difference may look small for large data sets, but it can be noticeable for small data sets. Always check whether your data is a sample or the complete population.
The median and quartiles require ordered data. If you use the original unsorted order, the result can be completely wrong. The calculator sorts the values automatically, but when working by hand, sorting should be your first step for median and quartile questions.
Variance and standard deviation are related, but they are not the same. Variance is the squared spread. Standard deviation is the square root of variance and is measured in the original unit. In most explanations, standard deviation is easier to understand.
The mean is not always the best description of a typical value. If the data has outliers or strong skew, the median may be more representative. This is why the calculator shows mean and median together.
A result such as 4.5 has no meaning unless you know what it measures. It might mean 4.5 points, 4.5 seconds, 4.5 dollars, or 4.5 centimeters. Always attach the result back to the original unit and situation.
Rounding intermediate values can change the final answer. The calculator uses unrounded internal values and only rounds the displayed output. When solving by hand, keep extra decimal places until the final step.
Statistics is not only a school topic. It is a way to make sense of information. Students meet statistics in mathematics, science, economics, psychology, business, social studies, computer science, and everyday decision-making. Whenever people collect data, compare groups, evaluate performance, or look for patterns, statistics becomes part of the conversation.
In school, statistics helps students move from isolated numbers to evidence-based reasoning. A single test score says what one student achieved. A statistical summary says how the whole class performed. A single measurement says what happened once. A mean and standard deviation say whether repeated measurements are consistent. A raw value says what occurred. A z-score says how unusual that value is compared with the group.
For AP Statistics, IB Mathematics, and other exam courses, students should be comfortable moving between calculator output and formula meaning. It is not enough to press a button and copy the result. Students need to know what each number describes, when it should be used, and what it does not prove. This page is built to support that connection: the calculator gives fast results, while the formulas and explanations show the reasoning behind those results.
If you are using this calculator for homework, check the exact method your teacher expects for quartiles and standard deviation. Different courses sometimes use slightly different quartile conventions, especially for small data sets. This calculator uses the common median-of-halves method for quartiles and provides both sample and population spread measures so you can match the requirement in your question.
After summarizing a data set, the next useful step depends on what you are studying. You may want to connect statistics to grades, GPA, graphing, or AP Statistics exam preparation.
Estimate an AP Statistics score from multiple-choice and free-response performance.
Calculate class grades and understand how assignments contribute to a final result.
Convert course grades and credits into semester or cumulative GPA results.
This calculator finds count, sum, mean, median, mode, minimum, maximum, range, quartiles, interquartile range, variance, standard deviation, mean absolute deviation, coefficient of variation, standard error, trimmed mean, and optional z-score.
Use sample standard deviation when your data is part of a larger group. Use population standard deviation when your data contains every value in the group you want to describe.
Sample standard deviation divides by \( n-1 \) instead of \( n \). This adjustment helps a sample estimate the spread of a larger population more fairly.
Variance is the average squared distance from the mean. Standard deviation is the square root of variance, so it is easier to interpret because it uses the same unit as the original data.
Use the mean when the data is fairly balanced and every value should affect the result. Use the median when the data has outliers or skew. Use the mode when repeated values are important.
Yes. A data set can have one mode, more than one mode, or no mode. If all values appear the same number of times, there is no meaningful mode.
The calculator sorts the data and uses the median-of-halves method. It finds the median, then finds the median of the lower half for \( Q_1 \) and the median of the upper half for \( Q_3 \).
A z-score shows how many standard deviations a value is above or below the mean. Positive z-scores are above the mean, negative z-scores are below the mean, and values close to zero are near the mean.
