Math Buddyv1.0
Median calculator
Type or scan a list of numbers. MathBuddy sorts it and finds the middle value step by step.
Loading math input...
What this page covers
- The median of a list of whole numbers, decimals or negative numbers.
- Odd and even counts: the single middle value, or the mean of the two middle values.
- Data given as a frequency table, by finding the middle position with running totals.
- Not covered here: the mean and mode together (use Mean, median and mode calculator) and the spread of the data (use Standard deviation calculator).
How to enter the problem
- Type it or paste it. Write the word median, then the numbers separated by commas.
- Scan it. Fit the one problem in the frame.
- Choose a photo. Several problems in one photo are solved as a list.
- Then tap Solve.
Worked examples
Example 1
Problem
Find the median of .
Answer
VerifiedThe answer is
Explanation
- Sort the dataFrom smallest to largest: .
- Count the valuesThere are values, an odd count, so one value sits in the middle.
- Find the middle positionThe middle is position . The third value in the sorted list is .
Example 2
Problem
Find the median of .
Answer
VerifiedThe answer is
Explanation
- Sort the data.
- Count the valuesThere are values, an even count, so two values share the middle: positions 3 and 4.
- Read the two middle valuesPosition 3 is and position 4 is .
- Take their mean
Example 3
Problem
A survey records how many pets each student has. The value 1 appears 3 times, 2 appears 5 times, 3 appears 4 times and 4 appears 2 times. Find the median.
Answer
VerifiedThe answer is
Explanation
- Count all the datastudents, an even count.
- Find the middle positionsWith 14 values the middle is between positions 7 and 8.
- Use running totalsValues of 1 fill positions 1 to 3. Values of 2 fill positions 4 to 8. So positions 7 and 8 both hold .
- Take the mean of the two middle values
Common mistakes
- Taking the middle of the list without sorting it first. In the unsorted middle pair is and , which gives instead of .
- With an even count, picking one of the two middle values instead of their mean.
- Using the number of rows in a frequency table as instead of the total of the frequencies.
- Counting a repeated value only once. Every copy stays in the sorted list.
Checks, assumptions and limits
- Check by counting. The same number of values should sit below the median as above it. For the runnable example, three values are below 6 and three are above.
- The median needs numbers that can be put in order. It does not change if the largest value grows, which is why it resists outliers.
- MathBuddy can make mistakes. Double check important steps.
Related tasks
Frequently asked questions
With an even count, the median is the mean of the two middle values after sorting. It may be a value that is not in the list, such as 3.55.
Yes. Use the camera on the one problem, or choose a photo. Several problems in one photo are solved as a list.
Yes. Ask a follow-up question in the same thread, for example for the mean or the range of the same data. A typed follow-up needs sign-in.
1 math question to try today without signing in, 3 a day signed in, unlimited with Pro.
Ready to solve your next math problem?
Try one problem free in your browser. Create a free account for 3 math questions a day.
Last updated: · MathBuddy