Sub topic 5
Margins, Unit Economics, and the Rule of 40
This chapter assumes you can read basic income and cash flow statements and calculate percentages. You will use those skills to judge whether growth creates economic value or only increases the size of a loss.
Read the Main Profitability Margins
A margin is a financial result divided by revenue. It shows how much of each revenue dollar remains after a particular cost layer.
| Margin | Formula | What it shows |
|---|---|---|
| Gross margin | (Revenue − cost of revenue) ÷ revenue | Economics of delivering the product |
| Operating margin | Operating income ÷ revenue | Profit after operating expenses |
| Free cash flow margin | Free cash flow ÷ revenue | Cash generated after operating and capital spending |
For example, a company with $100 million of revenue and $60 million of cost of revenue has a 40% gross margin. It keeps $40 million before sales, research, administration, interest, and taxes.
Gross margin often differs by business model. Software can have high gross margins because serving another customer may cost little. Retailers and manufacturers usually have lower margins because each sale requires physical goods. A high gross margin does not guarantee a good investment. A company can spend too much on sales and research and still lose money.
Operating margin shows whether the entire business can become profitable at its current scale. Compare it across several periods, not just one quarter. A rising margin can indicate operating leverage, which means fixed costs grow more slowly than revenue.
Analyze Unit Economics
Unit economics measures the profit and cost associated with one customer, order, subscription, or other meaningful unit. It helps separate healthy expansion from growth purchased through excessive spending.
Customer acquisition cost (CAC) is the average cost to gain one new customer:
\text{CAC}=\frac{\text{sales and marketing cost}}{\text{new customers}}Contribution margin is revenue from a unit minus the variable costs required to serve it. Variable costs change with the number of units, such as payment processing, hosting, shipping, or support.
A subscription business may estimate customer lifetime value (LTV) as the contribution profit expected from a customer over the customer’s relationship with the company. A simple estimate is:
\text{LTV}=\frac{\text{average revenue per customer} \times \text{contribution margin}}{\text{monthly churn}}Churn is the percentage of customers who leave during a period. This formula is sensitive to its assumptions. If churn rises, expected lifetime and LTV fall.
The CAC payback period estimates how long it takes contribution profit to recover acquisition cost:
\text{Payback months}=\frac{\text{CAC}}{\text{monthly contribution profit}}Shorter payback generally reduces the cash needed to fund growth. However, a low CAC is not automatically good if the acquired customers spend less, leave sooner, or require more service.
def unit_metrics(cac, monthly_revenue, contribution_margin, monthly_churn):
if min(cac, monthly_revenue, contribution_margin, monthly_churn) <= 0:
raise ValueError("all inputs must be positive")
monthly_profit = monthly_revenue * contribution_margin
ltv = monthly_profit / monthly_churn
payback_months = cac / monthly_profit
return ltv, payback_months
ltv, payback = unit_metrics(120, 50, 0.80, 0.04)
print(f"LTV: ${ltv:,.0f}")
print(f"CAC payback: {payback:.1f} months")Apply the Rule of 40 Carefully
The Rule of 40 is a screening rule for software companies:
\text{revenue growth rate}+\text{profit margin}\geq40\%A company growing revenue by 30% with a 15% operating margin scores 45%. Another growing by 50% with a negative 15% margin scores 35%.
def rule_of_40(revenue_growth_pct, profit_margin_pct):
return revenue_growth_pct + profit_margin_pct
print(rule_of_40(30, 15)) # 45
print(rule_of_40(50, -15)) # 35The rule is not a law of finance. Specify the margin used, such as operating margin or free cash flow margin, and use the same period for both inputs. Do not treat a passing score as proof of a moat, fair valuation, or durable growth.
Connect the Metrics
The relationships among these measures matter more than any single number.
Common errors include using total customers instead of new customers in CAC, calculating LTV from revenue rather than contribution profit, mixing annual growth with quarterly margins, and assuming today’s churn will remain constant. Recalculate these measures when prices, product mix, or customer behavior changes.
Exercise
A company grows revenue by 28% and reports a free cash flow margin of 14%. What is its Rule of 40 score, and what does the score not prove?
Show answer
The score is 42%. It passes the screen, but that does not prove the growth is durable, the valuation is reasonable, or the reported cash flow excludes unusual benefits.