Bone loss is diagnosed using a bone density test, also known as a DEXA scan. This test measures the density of bones in the spine, hip, and sometimes other areas. A T-score is generated, which indicates the amount of bone compared to a young adult of the same gender with peak bone mass.