The absolute magnitude (M) can be calculated using the distance modulus formula:
M = m - 5 * log10(d/10)
In this equation, m represents the apparent magnitude, and d is the distance to the object in parsecs. By using this formula, one can convert the apparent magnitude, which is influenced by distance, to the intrinsic brightness of the object.