HbA1c is measured through a blood test, with results expressed as a percentage. The test reflects the average blood glucose concentration over the previous two to three months. An HbA1c level of 6.5% or higher on two separate occasions typically indicates diabetes, while a level between 5.7% and 6.4% suggests prediabetes.