Mean, Median, Mode, Range Calculator
Use this calculator to easily find the mean, median, mode, and range of a set of numbers.
Enter a list of numbers separated by commas, spaces, and/or line breaks to find the mean, median, mode, and range of the numbers. The calculator will automatically remove invalid values (such as letters, words, and symbols).
Mean
Median
Mode
Range
Sum
Count
Minimum
Maximum
How to Use The Mean, Median, Mode, and Range Calculator
To use this calculator, delete the default example data set and enter your set of numbers.
Your data set should be separated by commas:
1,5.8,-50.98,18926,7509.6506832
or spaces:
1 5.8 -50.98 18926 7509.6506832
or line breaks:
1
5.8
-50.98
18926
7509.6506832
or a combination of commas, spaces, and line breaks:
1,5.8 -50.98
18926 20.2
7509.6506832
The calculator will automatically calculate the mean, median, mode, range, sum, count, minimum value, and maximum value of your data set after it's been entered.
Invalid characters (such as letters, words, symbols, etc.) will be removed from your data set.
How to Calculate Mean
The mean of a data set is calculated by finding the sum of all its values, then dividing that sum by the data set's count of values.
Mean Calculation Example:
Number Set = 1, 5, 73, 27
Sum of Number Set = 1 + 5 + 73 + 27 = 106
Count of Values in Number Set = 4
Average (Mean) = 106 / 4 = 26.5
Mean Formula
The formula for calculating the arithmetic mean of a set of numbers is:
Mean = (Sum of Number Set) / Count of Number Set
How to Find the Median
Median is the "middle number" in a sorted list of numbers.
A data set with an even count of values has two "middle numbers." The median of a data set with an even count of values is the mean of the two middle values.
To find the median, first sort the values of your data set from smallest to largest. Find the middle number(s).
If the data set's count is odd, there will be only one middle number. This single middle number is your mean.
If the data set's count is even, there will be two middle numbers. Calculate the mean of the two middle numbers to find the median of an even data set.
Median Example for Data Set With Odd Count of Values:
Number Set = 1, 5, 73, 27, 16
Sorted Number Set = 1, 5, 16, 27, 73
Median = 16
Median Example for Data Set With Even Count of Values:
Number Set = 1, 5, 73, 27, 16, 25
Sorted Number Set = 1, 5, 16, 25, 27, 73
Median = Mean of 16 and 25 = 20.5
Median Formula
The formula for finding the position of the median for a data set with an odd number of values is:
Median Position = (Count of Data Set's Values + 1) / 2
Median = Value at Median Position
If the data set's count of values is an even number, the formula to find the median is:
Position = (Count of Data Set's Values + 1) / 2
Position2 = Position + 1
Median = (Value at Position + Value at Position2) / 2
How to Find The Mode
Mode is the value or values that occur most frequently in a data set.
Mode Example A:
Number Set = 1, 5, 8, 7, 5
Mode = 5
Mode Example B:
Number Set = 1, 5, 8, 7, 5, 8
Mode = 5 and 8
How to Find The Range
Range is the difference between the lowest and highest value in a set of numbers.
To calculate the range, subtract the minimum value from the maximum value.
Range Example:
Number Set = 1, 5, 4, 7, 9
Maximum Value = 9
Minimum Value = 1
Range = 9 - 1 = 8
Range Formula
The formula to calculate the range of a data set is:
Range = Maximum Value - Minimum Value