FormulaCraft

How to calculate the SaaS rule of 40 in Excel and Google Sheets

Topic:SaaS metrics
Excel & Google Sheets
=((B2-B1)/B1*100)+C2

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1In row 1, enter prior period revenue in B1. In row 2, enter current period revenue in B2.
  2. 2In cell C2, enter the profit margin percentage for the current period. Use EBITDA margin, free cash flow margin, or operating margin — be consistent. Enter as a plain number (e.g. -5 for −5%).
  3. 3Revenue growth rate = (B2−B1)/B1 × 100. This gives a percentage (e.g. 45 for 45% growth).
  4. 4Rule of 40 score = Growth Rate + Profit Margin: =((B2-B1)/B1*100)+C2.
  5. 5Compare the result to 40. A score ≥ 40 is the benchmark; ≥ 60 is exceptional ('Rule of 60').

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

Which profit margin should I use?

EBITDA margin is the most common in practice. Some investors and analysts prefer free cash flow margin because it reflects actual cash generation. State which one you use when reporting the metric.

Does the Rule of 40 apply to all SaaS companies?

It is most relevant for growth-stage and mature SaaS. Very early-stage companies often score negative and that is expected. Pre-product-market-fit companies should focus on retention metrics first.

What is the Rule of 60?

The Rule of 60 is an informal benchmark used for top-decile SaaS performers where growth rate + profit margin ≥ 60. Companies like Cloudflare and Snowflake have cleared this bar.

More on SaaS metrics

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: