Frequency Table Calculator

Enter your data, and a class width if you want it grouped, to build the table.

Numbers separated by commas, spaces or new lines

Optional: leave empty to list each value, or give a width to group the data into classes.

Try

Result

You entered{1, 2, 2, 3, 3, 3, 3, 1, 2}\left\{ 1,\ 2,\ 2,\ 3,\ 3,\ 3,\ 3,\ 1,\ 2 \right\}

1: 2, 2: 3, 3: 4\displaystyle \text{1: 2, 2: 3, 3: 4}

Relative frequency

1: 0.222222, 2: 0.333333, 3: 0.444444\displaystyle \text{1: 0.222222, 2: 0.333333, 3: 0.444444}

Cumulative frequency

1: 2, 2: 5, 3: 9\displaystyle \text{1: 2, 2: 5, 3: 9}

Table

xffrcum. f122922313534499\displaystyle \begin{array}{c|ccc} x & f & f_r & \text{cum. } f \\ \hline 1 & 2 & \frac{2}{9} & 2 \\ 2 & 3 & \frac{1}{3} & 5 \\ 3 & 4 & \frac{4}{9} & 9 \end{array}
Show the work
  1. Tally of each value

    A frequency table lists each distinct value xx once with its frequency ff, the number of times it occurs. There are 3 distinct values among the n=9n = 9 values.

    f(1)=2, f(2)=3, f(3)=4f\left(1\right) = 2,\ f\left(2\right) = 3,\ f\left(3\right) = 4
  2. Relative and cumulative frequency

    The relative frequency is each frequency as a share of the total, and the cumulative frequency is the running total of the frequencies, so the last one must equal n=9n = 9.

    Using fr=fnf_r = \frac{f}{n}

    fr=29≈0.222222 (first row)last cumulative frequency=9\begin{gathered} f_r = \frac{2}{9} \approx 0.222222\ \text{(first row)} \\ \text{last cumulative frequency} = 9 \end{gathered}
  3. Result

    So the frequency table has 3 rows, and the frequencies add up to 99.

Worked examples