Data Input
Enter your numbers (separated by commas or spaces):
Results
Mean
–
Average value
Median
–
Middle value
Mode
–
Most frequent
Definitions & Formulas
Mean (Average)
The mean is the average of all numbers in a dataset.
Formula: Mean = (Sum of all values) / (Number of values)
Example: For [5, 12, 7], Mean = (5+12+7)/3 = 8
Median
The median is the middle value when data is sorted in order.
Formula:
- For odd count: Middle value of sorted list
- For even count: Average of two middle values
Example:
- [5, 12, 7] sorted is [5, 7, 12] → Median = 7
- [5, 12, 7, 13] sorted is [5, 7, 12, 13] → Median = (7+12)/2 = 9.5
Mode
The mode is the value that appears most frequently in a dataset.
Formula: The value with highest frequency. A dataset may have one mode, more than one mode, or no mode at all.
Example:
- [5, 12, 7, 5, 9] → Mode = 5
- [5, 12, 7, 12, 5] → Modes = 5 and 12
- [5, 12, 7] → No mode