---
title: "Rule of 40 calculator"
description: "Rule of 40 is a profitability metric, calculated as Revenue growth % + EBITDA margin %. SaaS heuristic, not an accounting measure. Many use free-cash-flow margin instead of EBITDA margin, and year-over-year ARR growth instead of revenue growth — label which."
canonical: "https://lopifi.com/calculators/rule-of-40"
---

# Rule of 40 calculator

> Rule of 40 is a profitability metric, calculated as Revenue growth % + EBITDA margin %. SaaS heuristic, not an accounting measure. Many use free-cash-flow margin instead of EBITDA margin, and year-over-year ARR growth instead of revenue growth — label which.

Source: https://lopifi.com/calculators/rule-of-40
Part of: Lopifi — Your VC tech stack partner (https://lopifi.com)

---

- **Formula:** `Revenue growth % + EBITDA margin %`

*[Interactive rule of 40 calculator]* Runs in your browser; nothing you type is sent anywhere. Amounts in US dollars.

## How to read it

The rule of 40 trades growth against profitability: a company growing 60% can burn 20%; one growing 10% should earn 30%.

It means most for software companies past early stage. Very young companies with tiny bases can pass on growth alone.

## Common mistakes

- Mixing a monthly growth rate with an annual margin.
- Switching the margin definition between periods.

## Questions

### What is the rule of 40?

A heuristic for software companies: revenue growth rate plus profit margin should be at least 40%.

### Which margin should I use?

EBITDA margin is the most common choice; some investors use free cash flow margin. State which one you use.

## Read it with

- [EBITDA calculator](https://lopifi.com/md/calculators/ebitda): EBITDA is a profitability metric, calculated as Net income + interest + income taxes + D&A (≈ operating income + D&A with no other non-operating items).
- [Magic number calculator](https://lopifi.com/md/calculators/magic-number): Magic number is a unit-economics metric, calculated as Net new ARR in the quarter ÷ prior-quarter S&M (equivalently (Δ quarterly revenue × 4) ÷ prior-quarter S&M).
- [Net new MRR calculator](https://lopifi.com/md/calculators/net-new-mrr): Net new MRR is a recurring-revenue metric, calculated as New + Expansion − Contraction − Churned.
- [Rule of 40](https://lopifi.com/md/glossary/rule-of-40): Rule of 40 is a profitability metric, calculated as Revenue growth % + EBITDA margin %.

*The formula is the one the [glossary](https://lopifi.com/md/glossary/rule-of-40) states, and the arithmetic is unit-tested. A ratio with nothing to divide by shows a dash — undefined is not zero. General information, not tax, legal or accounting advice. Check with a CPA before you act on it.*
