## Trimmed Mean Calculator

A Trimmed Mean Calculator is a tool used to calculate the trimmed mean of a set of data points. The trimmed mean is a measure of central tendency that excludes a certain percentage of extreme values from the calculation, reducing the impact of outliers on the result.

### Formula

The formula for calculating the trimmed mean is as follows:

**Trimmed Mean = (Sum of data points after trimming) / (Number of data points after trimming)**

### Example

Let’s consider a dataset of 10 values: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20. If we choose to trim the top and bottom 20% of the data, we would exclude the two lowest and two highest values.

The trimmed mean would then be calculated by summing the remaining six values (6 + 8 + 10 + 12 + 14 + 16 = 66) and dividing by six, resulting in a trimmed mean of 11.