This document describes exact tests for assessing Hardy-Weinberg equilibrium that control type 1 error rates better than chi-squared tests, especially for large sample sizes. It presents efficient computational methods for implementing these exact tests, which sum probabilities of all possible genotype configurations conditional on observed allele counts. These exact tests have been programmed into freely available software for quality control and association testing in large genetic studies.