Result
Calculation steps
Data visualization
Histogram
Box-and-whisker plot
Formula used
How to use this calculator
Select the calculation mode matching your dataset. Enter or upload the values using the displayed format. Press calculate to view results, steps, charts, and downloads.
- Choose simple, weighted, grouped, CSV, or rolling mode.
- Enter valid numeric data in the required structure.
- Set precision and any mode-specific calculation options.
- Review the result, calculation steps, and visualizations.
- Copy, print, or download the calculated results.
Example data
| Mode | Example input | Expected use |
|---|---|---|
| Simple | 12, 5, 8, 15, 7 | Median equals 8 |
| Weighted | 10,1 | 20,3 | 30,2 | Uses cumulative weights |
| Grouped | 0,10,4 | 10,20,8 | 20,30,12 | Interpolates the median class |
| CSV | Several numeric columns | Calculates each column separately |
| Rolling | 4, 9, 3, 8, 7 | Smooths values by window |
Mean, median, and mode
The mean averages every value in the dataset. The median identifies the central sorted position. The mode identifies values occurring most often within data.
Median is useful when data contains extreme outliers. It represents the center without excessive skew. This often improves summaries for income and property values.
Frequently asked questions
What is a median?
The median is the middle value after sorting. Even datasets use the average of two centers. It describes central position without relying on every magnitude.
Can this calculator handle negative numbers?
Yes, negative values are accepted in numeric datasets. They are sorted using their actual mathematical order. The median calculation remains unchanged for negative values entirely.
How are duplicate values handled?
Duplicates remain included unless removal is selected. Repeated values can affect the median and mode. Use removal only when duplicates are genuinely unwanted records.
What is a weighted median?
A weighted median accounts for each value's weight. Values are ordered before cumulative weights are calculated. The selected value reaches at least half total weight.
What is a grouped median?
A grouped median estimates center from frequency classes. It identifies the class containing half total frequency. Interpolation estimates the central value inside that selected class.
Can I calculate several CSV columns?
Yes, every numeric CSV column is processed separately. Text cells and blank cells are ignored automatically. Each valid column receives its own median and summary.
What does rolling median mean?
A rolling median moves a window across values. Each window receives an independent median calculation. This reduces spikes while preserving important local data patterns.
How are quartiles calculated?
The sorted dataset is divided around its median. Lower and upper halves receive separate median calculations. These values become the first and third quartiles respectively.
Are uploaded CSV files stored?
No database storage is used by this calculator. Uploaded data is processed during the current request. Server policies may still control temporary upload file retention.