Statistics & probability

Trimmed mean calculator

Average a dataset after removing a chosen share from each end.

Trimmed mean calculator
Esc to restore

Your inputs

Up to 50,000 values. No thousands separators. Absolute values up to 1 trillion; non-zero values must be at least 1e-100 in magnitude.

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Sorts values and removes floor(n×trim/100) observations from each tail, then takes the mean of the retained values. Reports actual counts removed and retained. This is a symmetric trimmed mean; values are removed by rank rather than by a numeric cutoff.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Values, separated by commas or new lines
2, 4, 4, 4, 5, 5, 7, 9
Percentage removed from each tail
10

Example result

Trimmed mean
5
Removed from each tail
0
Retained observations
8