Mean, Median, Mode Calculator
Calculate central tendency measures with step-by-step solutions and visualizations
Data Input
Central Tendency Formulas
Mean = Sum of all values / Number of values
Median = Middle value when data is sorted
Mode = Most frequent value(s)
Where:
- Mean represents the average value
- Median represents the middle value
- Mode represents the most common value
How to Use This Calculator
Enter your numerical data separated by commas (e.g., 5, 8, 12, 3, 9).
The calculator will compute:
- Count – Number of data points
- Sum – Total of all values
- Mean – Average value
- Median – Middle value when sorted
- Mode – Most frequent value(s)
- Range – Difference between max and min
Example:
Calculate mean, median, mode for: 5, 8, 12, 3, 9, 8
Sorted: 3, 5, 8, 8, 9, 12
Mean: (3+5+8+8+9+12)/6 = 7.5
Median: (8+8)/2 = 8
Mode: 8 (appears twice)
Central Tendency Results
–
Count (n)
–
Sum (Σx)
–
Range
Mean (Average)
–
Median (Middle)
–
Mode (Most Frequent)
–
Sorted Data
–
Data Points
Enter data to see values
Calculation Steps
Enter your data to see detailed calculation steps
What are Mean, Median, and Mode?
Mean: The average of all numbers. It’s calculated by adding all numbers and dividing by the count.
Median: The middle value when all numbers are sorted. If there’s an even count, it’s the average of the two middle values.
Mode: The number that appears most frequently. A dataset can have one mode, multiple modes, or no mode.