In the formula, f = Number of times event occurs, n = Total number of times experiment performed.