People with diabetes used to depend only on urine tests or daily finger pricks to measure their blood sugar levels. These tests are accurate, but only in the moment.

They’re actually very limited as an overall measurement of blood sugar control. This is because your blood sugar can vary wildly depending on the time of day, your activity levels, and even hormonal changes. Some people may have high blood sugar at 3 a.m. and be totally unaware of it.

A1c tests became available in the 1980s and quickly became an important tool in monitoring diabetes control. A1c tests measure average blood glucose over the past two to three months. So even if you have a high fasting blood sugar, your overall blood sugar may be normal, or vice versa.

A normal fasting blood sugar may not eliminate the possibility of type 2 diabetes. This is why A1c tests are now being used for diagnosis and screening of prediabetes and diabetes. Because it doesn’t require fasting, the test can be given at any time as part of an overall blood screening.

The A1c test is also known as the hemoglobin A1c test or HbA1c test. Other names for the test include the glycosylated hemoglobin test, glycohemoglobin test, glycated hemoglobin test, or A1C.

A1c measures the amount of hemoglobin in the blood that has glucose attached to it. Hemoglobin is a protein found inside red blood cells that carries oxygen to the body. Hemoglobin cells are constantly dying and regenerating. Their lifespan is approximately three months.

Glucose attaches (glycates) to hemoglobin, so the record of how much glucose is attached to your hemoglobin also lasts for about three months. If there’s too much glucose attached to the hemoglobin cells, you’ll have a high A1c. If the amount of glucose is normal, your A1c will be normal.

The test is effective because of the lifespan of the hemoglobin cells.

Let’s say your blood glucose was high last week or last month, but it’s normal now. Your hemoglobin will carry a “record” of last week’s high blood glucose in the form of more A1c in your blood. The glucose that was attached to the hemoglobin during the past three months will still be recorded by the test, since the cells live for approximately three months.

The A1c test provides an average of your blood sugar readings for the past three months. It’s not accurate for any given day, but it gives your doctor a good idea of how effective your blood sugar control has been over time.

Someone without diabetes will have about 5 percent of their hemoglobin glycated. A normal A1c level is , according to the National Institute of Diabetes and Digestive and Kidney Diseases.

A level of 5.7 to 6.4 percent indicates prediabetes. People with diabetes have an A1c level of 6.5 percent or above.

The American Diabetes Association provides a that shows how A1c levels correlate to glucose levels.

To monitor overall glucose control, people with diabetes should have an A1c test at least twice a year.

Anyone who’s had diabetes for any length of time knows that A1c tests haven’t been reliable until recently. In the past, many different types of A1c tests gave different results depending on the lab that analyzed them.

However, the has helped improve the accuracy of these tests. Manufacturers of A1c tests now have to prove that their tests are consistent with those used in a major diabetes study. Accurate home test kits are also now available for purchase.

Accuracy is relative when it comes to A1c or even blood glucose tests, though. The A1c test result can be up to half a percent higher or lower than the actual percentage. That means if your A1c is 6, it might indicate a range from 5.5 to 6.5.

Some people may have a blood glucose test that indicates diabetes but their A1c is normal, or vice versa. Before confirming a diagnosis of diabetes, your doctor should repeat the tests.

Some people may get false results if they have kidney failure, liver disease, or severe anemia. Ethnicity can also influence the test. People of African, Mediterranean, or Southeast Asian descent may have a that can interfere with some A1c tests.

Excessive bleeding, such as the kind that might occur during a menstrual period, may also cause an inaccurate test result.

High A1c levels have been to an increased risk of the following conditions:

If you’re in the early stages of diabetes, small changes in lifestyle can make a big difference and even put your diabetes in remission. Losing a few pounds or starting an exercise program can help.

For those who have had prediabetes or diabetes for a long time, higher A1c results may be a sign that you need to start on medication or change what you’re already taking. You may also need to make other lifestyle changes and monitor your daily blood glucose more closely. Talk to your doctor about the best treatment plan for you.

The A1c test measures the amount of hemoglobin in the blood that has glucose attached to it. The test provides an average of your blood sugar readings for the past three months.

It’s used to monitor blood sugar levels, as well as for diagnosis and screening of prediabetes and diabetes. People with diabetes should have an A1c test at least twice a year.