Mean Median Mode Calculator
Finds the mean (average), median and mode of a list of numbers and shows each step.
In: 3, 5, 7, 7, 8
Out: mean 6, median 7, mode 7
MathStatCalc offers free math calculators, including a mean median mode calculator, slope and line calculators, and triangle calculators. Every answer shows its steps, so you can learn the method and check your own work.
28 free calculators available.
These eight calculators cover the most common school topics: averages, spread, lines, triangles, vectors and sorting. Each card shows one real example input and its correct output.
Finds the mean (average), median and mode of a list of numbers and shows each step.
In: 3, 5, 7, 7, 8
Out: mean 6, median 7, mode 7
Finds the slope-intercept equation of a line from two points or a point and a slope.
In: (1, 2) and (3, 6)
Out: y = 2x
Solves a triangle from matching side and angle pairs, including the ambiguous case.
In: A = 30°, B = 60°, a = 5
Out: b ≈ 8.660254
Finds the average distance of each value from the mean of a data set.
In: 2, 4, 6, 8
Out: mean absolute deviation 2
Finds the angle between two vectors using the dot product.
In: (3, 4) and (4, 3)
Out: about 16.26°
Writes the equation of a line as y − y₁ = m(x − x₁).
In: point (1, 2), slope 2
Out: y − 2 = 2(x − 1)
Finds slope as the vertical change divided by the horizontal change.
In: rise 4, run 2
Out: slope 2
Sorts numbers, including negatives, decimals and fractions, from smallest to largest.
In: 7, −2, 5, 0
Out: −2, 0, 5, 7
MathStatCalc groups its calculators into three categories: statistics, algebra and geometry. Every calculator is free and shows the worked steps for your numbers.
A statistics calculator describes a data set. A data set is a list of numbers, such as test scores. These tools find the center and the spread of your numbers.
Algebra uses letters, such as x, for unknown numbers. These tools find the equation of a line, solve equations, and sort, convert and simplify numbers.
Geometry measures shapes and space. Trigonometry connects the angles of a triangle to its sides. These tools work with triangles, points and vectors.
No calculator matches your search. Try a shorter word, such as “mean”, “slope” or “triangle”.
These are the core formulas behind the most used MathStatCalc tools. In the table, n is the number of values, Σ means “add them all up”, and x̄ (say “x bar”) is the mean.
| Name | Formula | What it tells you | Calculator |
|---|---|---|---|
| Mean (average) | x̄ = (x₁ + x₂ + … + xₙ) ÷ n | The balance point, or typical value, of a data set. | Mean calculator |
| Median | Sort the values. Odd n: the middle value. Even n: the mean of the two middle values. | The middle of the data. Very large or very small values do not pull it much. | Median calculator |
| Mode | The value with the highest count | The most common value. A data set can have no mode, one mode or several modes. | Mode calculator |
| Mean absolute deviation (MAD) | MAD = Σ|xᵢ − x̄| ÷ n | The average distance of the values from the mean. A bigger MAD means more spread. | MAD calculator |
| Slope | m = (y₂ − y₁) ÷ (x₂ − x₁) = rise ÷ run | How much y changes when x goes up by 1. Undefined when x₂ = x₁. | Rise over run calculator |
| Slope-intercept form | y = mx + b | A line with slope m that crosses the y-axis at b. | y = mx + b calculator |
| Point-slope form | y − y₁ = m(x − x₁) | A line with slope m that passes through the point (x₁, y₁). | Point slope form calculator |
| Law of sines | a ÷ sin A = b ÷ sin B = c ÷ sin C | Each side divided by the sine of its opposite angle gives the same number. | Law of sines calculator |
| Angle between two vectors | cos θ = (a · b) ÷ (|a| |b|) | The angle θ between two arrows. a · b is the dot product. |a| is the length of a. | Vector angle calculator |
Each example below uses small numbers, so you can repeat every step with a pencil or a basic calculator. The MathStatCalc tools show the same steps for your own numbers.
Answer: mean 6, median 7, mode 7.
Answer: the mean absolute deviation is 2.
Answer: slope 2, line y = 2x.
Answer: side b ≈ 8.660254 (exactly 5√3).
Answer: the angle is about 16.26 degrees.
Answer: −2, 0, 5, 7.
Choose a calculator by looking at what you already have: a list of numbers, two points, a triangle, an equation, or numbers to sort.
Use a statistics calculator. If you need the center of the data, find the mean, median and mode. If you need to know how spread out the numbers are, find the mean absolute deviation, the standard deviation or the variance. Start with the Mean Median Mode Calculator, then measure spread with the Mean Absolute Deviation Calculator or the Standard Deviation Calculator.
Use a slope calculator or a line calculator. Two points give you the slope and the full equation of the line. A point and a slope give you the line in point-slope form. A rise and a run give you the slope directly. Try the y = mx + b Calculator, the Point Slope Form Calculator or the Rise Over Run Calculator. To measure between points, use the Distance Between Two Points Calculator or the Midpoint Calculator.
Use a triangle calculator. If you know a side and the angle opposite it, plus one more side or angle, the law of sines can find the missing parts. If you know three sides, or two sides and the angle between them, use the law of cosines. Open the Law of Sines Calculator or the Law of Cosines Calculator. For a triangle with a 90° angle, use the Right Triangle Calculator or the SOH CAH TOA Calculator.
Use a vector calculator. The dot product and the lengths of two vectors give the angle between them. Use the Angle Between Two Vectors Calculator.
Use an algebra or number tool. Sorting from least to greatest works with negative numbers, decimals and fractions. Equation solvers show each step from the equation to the answer. Use the Least to Greatest Calculator, the Quadratic Formula Calculator or the System of Equations Calculator.
MathStatCalc rounds final answers to 6 decimal places and keeps full precision in the middle steps, so small rounding errors do not add up. Trailing zeros are removed, so 2.500000 is shown as 2.5. Angles are shown in degrees. Read the full methodology for sources, test method and the correction process.
The law of sines can give zero, one or two triangles when you know two sides and an angle that is not between them (the SSA case). The Law of Sines Calculator checks every case and explains which one applies to your numbers.
Use these known inputs to test a calculator against the formula. Each one can be done by hand:
Last reviewed:
MathStatCalc is a free website of math and statistics calculators that show the worked steps, written in plain English for learners worldwide. Read more about the site, or report a correction with the page URL, your inputs, and the result you expected.
MathStatCalc calculators are for learning and for checking your work. They do not replace a teacher, and they do not change the rules of your class or exam. If your teacher asks for a different method or rounding rule, follow your teacher.
MathStatCalc follows the standard definitions found in these free references:
Mean, median and mode are three ways to describe the center of a data set. The mean, or average, is the sum of the values divided by how many values there are. The median is the middle value after you sort the list. The mode is the value that appears most often.
To calculate mean absolute deviation, find the mean, then find how far each value is from the mean, ignoring the minus sign. Add these distances and divide by the number of values. For 2, 4, 6, 8, the mean is 5, the distances are 3, 1, 1, 3, and the answer is 8 ÷ 4 = 2.
To find the slope between two points, divide the change in y by the change in x: m = (y₂ − y₁) ÷ (x₂ − x₁). For (1, 2) and (3, 6), the slope is 4 ÷ 2 = 2. If both x values are equal, the line is vertical and the slope is undefined.
y = mx + b is the slope-intercept form of a straight line. The letter m is the slope, which tells you how steep the line is. The letter b is the y-intercept, which is the y value where the line crosses the y-axis. For example, y = 2x + 3 has slope 2 and crosses the y-axis at 3.
You can use the law of sines when you know one side and its opposite angle, plus one more side or angle. The rule is a ÷ sin A = b ÷ sin B = c ÷ sin C. When you know two sides and an angle that is not between them, there may be zero, one or two triangles.
To find the angle between two vectors, divide their dot product by the product of their lengths, then take the inverse cosine. The formula is cos θ = (a · b) ÷ (|a| |b|). For (3, 4) and (4, 3), the dot product is 24, both lengths are 5, cos θ = 0.96, and θ is about 16.26°.
Yes, every MathStatCalc calculator is free to use. You do not need to create an account or sign in, and the tools do not ask for your name or email address. Type your numbers, run the calculation, and read the answer with its worked steps.
MathStatCalc results are rounded to 6 decimal places, and the middle steps keep full precision so rounding errors do not build up. Computers store some decimals with tiny errors, so the last digit of a very long answer can differ slightly. Always use the rounding rule your teacher or exam asks for.