# Lower and upper fence calculator

For lower and upper fence calculation, please enter numerical data separated with comma (or space, tab, semicolon, or newline). For example: 646.4 317.7 276.0 520.5 514.1 -973.8 480.2 250.5 -849.1 409.8 716.6 813.5 -575.9### What is lower and upper fence?

The Lower fence is the "lower limit" and the Upper fence is the "upper limit" of data, and any data lying outside this defined bounds can be considered an outlier.LF = Q1 - 1.5 * IQR

UF = Q3 + 1.5 * IQR

where Q1 and Q3 are the lower and upper quartile and IQR is the interquartile range.

### How to enter data as a frequency table?

Simple. First-type data elements (separated by spaces or commas, etc.), then type f: and further write frequency of each data item. Each element must have defined frequency that count of numbers before and after symbol f: must be equal. For example:1.1 2.5 3.99

f: 5 10 15

### How to enter a grouped data?

Grouped data are data formed by aggregating individual data into groups so that a frequency distribution of these groups serves as a convenient means of summarizing or analyzing the data.group | frequency |

10-20 | 5 |

20-30 | 10 |

30-40 | 15 |

10-20 20-30 30-40

f: 5 10 15

### How to enter data as a cumulative frequency table?

Similar as frequency table, but instead f: type cf: in second line. For example:10 20 30 40 50 60 70 80

cf: 5 13 20 32 60 80 90 100

The cumulative frequency is calculated by adding each frequency from a frequency distribution table to the sum of its predecessors. The last value will always be equal to the total for all observations since all frequencies will already have been added to the previous total.