Reference: The calculations are the customary ones based on normal distributions. See for example Hypothesis Testing: Two-Sample Inference - Estimation of Sample Size and Power for Comparing Two Means in Bernard Rosner's Fundamentals of Biostatistics.