Where:n = Sample sizef = Allowed number of failuresR = Reliability (probability of success)CL = Confidence level (target probability)