Trimmed Mean and Winsorized Mean Calculator
Calculate the trimmed mean and winsorized mean to reduce the effect of outliers.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Step 1: Open Trimmed Mean and Winsorized Mean Calculator and add your input
Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.
- 2Step 2: What Trimmed Mean and Winsorized Mean Calculator does
Calculate the trimmed mean and winsorized mean to reduce the effect of outliers.
- 3Step 3: Read the result and compare
The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.
- 4Step 4: Copy or save it
Copy the result or download it. For an important decision, confirm it with the official source or an adviser.
About this tool
Enter your data and the percentage to remove from each end. The calculator gives the ordinary mean and median, the trimmed mean (extreme values dropped) and the winsorized mean (extreme values replaced by the nearest kept value), with the standard deviation before and after winsorizing.
Method
With n values and a trim of p% each side, k = ⌊n × p ÷ 100⌋ values are dropped from (or pulled in at) each end. The trimmed mean averages the remaining n − 2k values. The winsorized mean replaces the k smallest by the (k+1)th smallest and the k largest by the (k+1)th largest, then averages all n values.
Why
These are robust estimates of the centre. The median is the limit of 50% trimming. Numbers can be separated by spaces, commas or new lines.
Worked example
For 3 5 6 7 8 8 9 10 11 12 14 95 with a 10% trim: the mean is 15.67, the median 8.5, the trimmed mean 9 and the winsorized mean 9.083.
Tips for best results
Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.
Quick facts
- Category: Math & Science
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in many languages.
- Content last reviewed:
Frequently asked questions
What trim should I use?
10% or 20% are common.
Trimmed or winsorized?
Trimming discards the extremes; winsorizing keeps the sample size by capping them.
What if k is 0?
With too few values nothing is trimmed and the results equal the mean.
What is the maximum trim?
Less than 50%.
