A hemoglobin A1C test is a blood test that measures a person's average blood glucose level over the previous three months.