A bone mineral density (BMD) test measures how much calcium and other types of minerals are in an area of your bone. This test helps your health care provider detect osteoporosis and predict your risk for bone fractures. The most common and accurate way uses a dual-energy x-ray absorptiometry (DEXA) scan. DEXA uses low-dose x-rays.