The Rule of 40 sums YoY revenue growth and operating margin (or free cash flow margin). A company growing 60% with -20% margin (40% total) and one growing 20% with +20% margin (40% total) both pass. The rule rewards either fast growth or strong margin without forcing the trade-off.
The rule is most relevant at $20M+ ARR. Below that scale, growth dominates and margin is a secondary concern. At larger scales, public-comp pricing increasingly weights companies that exceed the rule.