Enter the population characteristics by entering the proportion for the null and alternative hypotheses. Select the type of test and the Type I error rate. Enter either a desired power value or a sample size and click the corresponding button to either Calculate minimum sample size or Calculate power .