Below you will find descriptions and details for the formula that is used to compute the confidence intervals for a binomial probability (p-value).

Confidence interval for a binomial probability:

Variable definitions: x = number of successes n = number of trials F(c; d1, d2) = 1 - c quantile from an F-distribution with d1 and d2 degrees of freedom