A bone density test can determine if you have osteoporosis. However, bone mineral density tests measure the number of minerals in your bones.