Power Analysis Calculator
This calculator sizes a study before you run it. Give it the difference you want to detect, the standard deviation, the significance level and the power you are aiming for, and it returns the smallest number of participants per group that reaches it, along with the power one participant short so you can see the answer really is the minimum. A second action goes the other way and reports the power of a sample size you already have, plus what you would need for 80, 90 and 95 percent. A third does the same job for two proportions. The means calculations use the noncentral t distribution rather than the normal approximation, which is why they reproduce the published tables exactly: 394, 64 and 26 per group for small, medium and large effects at the usual settings.