To convert the observed brightness of a star (the apparent magnitude, m) to an absolute magnitude, we need to know the distance, d, to the star. Alternatively, if we know the distance and the apparent magnitude of a star, we can calculate its absolute magnitude. Both calculations are made using