The Rule of 72
The shorthand the comparison uses is the Rule of 72: divide 72 by an assumed annual return to estimate how many years it would take a balance to double. At an 8% return, money doubles roughly every 9 years. At a 12% return, every 6 years. At a 4% return, every 18 years.
This is a useful intuition pump, not a forecast. Real returns vary year to year, sometimes substantially, and sequence-of-returns risk affects how the doubling actually plays out. The Rule of 72 gives you a feel for the magnitude of compounding; it does not give you a guarantee about your specific outcome.