Distance modulus
The distance modulus is the apparent magnitude minus the absolute magnitude , that is . A star farther than 10 pc looks dimmer than it really is, so is larger and the distance modulus is positive, growing as the star gets farther away. That is why the distance modulus alone tells you the distance to the star.
Formulas
When to use it
Use it when you are given a star's apparent and absolute magnitudes and need its distance, or need to compare which of several stars is farther.
Worked example
Take a star with apparent magnitude 7 and absolute magnitude 2. The distance modulus is . From you get , so and the star is 100 pc away.
Common mistake
A common mistake is subtracting the other way, , which flips the sign. A distance modulus of 0 means 10 pc, and a negative one means the star is closer than 10 pc.