A1c is a test used to detect diabetes. It measures average blood sugar level for the past 60-90 days. An A1c that shows blood sugar level at 6.5% or higher is an indication of diabetes.