Customer lifetime value (LTV) is the gross profit one customer is worth over the whole relationship. For an agency client, the SEOMathLab formula is: LTV = (monthly retainer × lifespan in months + upsell revenue) × gross margin. At the calculator's defaults, a $3,500 monthly retainer held for 18 months plus $6,000 of upsells is $69,000 of lifetime revenue, and at a 60% gross margin the lifetime value is $41,400. Everything else on this page follows from that one calculation.
Run your own numbers first: the Client Lifetime Value Calculator takes your retainer, lifespan, upsells, margin and acquisition cost, and returns LTV, the LTV to CAC ratio, and the most you can spend to win a client.
The customer lifetime value formula
Lifetime revenue = monthly retainer × client lifespan (months) + upsell revenue
LTV = lifetime revenue × gross margin
Three inputs build the revenue, and one converts it to value. The monthly retainer is the recurring fee, the lifespan is how many months a typical client stays, and upsell revenue is the extra project or one-off work sold over the relationship. Multiply the retainer by the lifespan, add the upsells, and you have lifetime revenue. Multiply that by gross margin, the share of revenue left after delivery costs, and you have lifetime value: the profit the client is worth, not the revenue they bring in.
Two companion formulas turn LTV into decisions. The LTV to CAC ratio is LTV ÷ acquisition cost: how many dollars of lifetime profit each dollar spent winning the client returns. And the maximum acquisition cost at a 3:1 ratio is LTV ÷ 3: the most you can spend to win a client while keeping three dollars of lifetime profit for every dollar of acquisition cost. Both are calculated by the Client Lifetime Value Calculator from the same inputs.
What each variable means
| Variable | What it is | Where it comes from |
|---|---|---|
| Monthly retainer | Recurring fee per client, per month | Your contracts and invoices |
| Client lifespan | Average months a client stays | Your CRM: start dates to end dates |
| Upsell revenue | Extra project work over the relationship | Your invoices, per client, averaged |
| Gross margin | Revenue left after delivery costs, as a % | Your accounts: revenue minus delivery cost |
| Acquisition cost | Cost to win one client, sales and marketing included | Your sales and marketing spend per win |
Two of these inputs are routinely overstated. Lifespan is the worst offender: agencies remember their longest client and forget the three who left after four months. Use the actual average across all clients who started in a given period, including the ones who churned early, or the formula flatters every decision built on it. Gross margin is the second: it must be revenue after delivery costs, meaning the people and tools that do the work. A margin that ignores delivery time is not a margin, it is a revenue figure wearing a margin's clothes, and an LTV built on it will say you can afford acquisition costs you cannot.
Worked example: the $41,400 client
Use the Client Lifetime Value Calculator defaults. A $3,500 monthly retainer held for 18 months is $3,500 × 18 = $63,000. Add $6,000 of upsell revenue and lifetime revenue is $69,000. At a 60% gross margin, lifetime value is $69,000 × 0.60 = $41,400. Monthly gross profit per client is $3,500 × 0.60 = $2,100, which is the number that pays salaries and overhead while the client is active.
Against a $4,000 acquisition cost, the LTV to CAC ratio is $41,400 ÷ $4,000 = 10.35: each dollar spent winning a client returns $10.35 of lifetime profit. The maximum acquisition cost at a 3:1 ratio is $41,400 ÷ 3 = $13,800. That is the ceiling, not a target. Spending $13,800 to win a client still leaves a healthy 3:1 return, but it spends more than three times the current $4,000 cost to buy the same client, so it only makes sense if the extra spend genuinely wins clients the current spend cannot reach.
What moves LTV most: lifespan, margin, retainer
Hold the defaults and change one input at a time, and the sensitivity is clear. Extend the lifespan from 18 to 24 months and lifetime revenue becomes $3,500 × 24 + $6,000 = $90,000; LTV rises to $90,000 × 0.60 = $54,000, the ratio rises to 13.5, and the maximum acquisition cost rises to $18,000. Six extra months of retention are worth $12,600 of lifetime value, which is why retention work is usually the highest-return marketing an agency can do: it raises LTV without spending a dollar on acquisition.
Cut the gross margin from 60% to 50% and LTV falls to $69,000 × 0.50 = $34,500, the ratio falls to 8.63, and the maximum acquisition cost falls to $11,500. Ten points of margin are worth $6,900 of lifetime value. Cut the retainer from $3,500 to $3,000 and lifetime revenue becomes $3,000 × 18 + $6,000 = $60,000; LTV becomes $60,000 × 0.60 = $36,000, the ratio 9.0, and the maximum acquisition cost $12,000. Of the three levers, lifespan usually moves LTV most for a healthy agency, because it multiplies every other input. But lifespan is also the input you control least directly, which is why the agency proposal guide pairs this formula with pricing and hours-ceiling discipline: a retainer that is profitable on paper but unprofitable at the hours it actually takes destroys the margin the formula assumes.
How SEOMathLab uses the LTV formula
The Client Lifetime Value Calculator implements exactly the formula on this page, with the same defaults: $3,500 retainer, 18 months, $6,000 upsells, 60% margin, $4,000 acquisition cost. It reports lifetime revenue, lifetime value, monthly gross profit, the LTV to CAC ratio, and the maximum acquisition cost at 3:1. The Agency Retainer Profit Calculator is the companion tool: it checks whether the retainer behind the LTV is actually profitable month to month, given hours, rates and overhead. An LTV is only as honest as the margin it assumes, and the retainer profit calculator is where that margin gets tested.
The SEO business case guide uses the same logic from the client's side: a client's LTV sets the ceiling on what their SEO can be worth to them, which sets the ceiling on what they can pay you. If a client's lifetime value is $5,000, a $3,000 monthly retainer needs them to stay profitable for reasons beyond one month's fee, and the business case should say so plainly.
What the formula does not tell you
LTV is an average, and averages hide the clients who matter most. A portfolio with ten clients at $41,400 LTV and one client at $200,000 is a different business from eleven clients at $41,400, but the formula reports the same average either way. Use cohort averages, clients who started in the same period, and re-check them yearly, because a lifespan measured in 2024 may not describe clients won in 2026.
The formula also ignores timing. A dollar of profit in month 18 is worth less than a dollar in month 1, and a client who pays $41,400 over eighteen months is not the same as a client who pays it in six. The formula does not discount future profit, and it does not account for churn risk within the lifespan: it assumes the average client stays the average lifespan, which is true of the average and false of almost every individual client. Treat LTV as a planning input for pricing and acquisition budgets, not as money in the bank. And never use revenue instead of profit: an LTV built on $69,000 of revenue would claim a $23,000 maximum acquisition cost at 3:1, which is $9,200 more than the profit-based ceiling, and spending it would buy clients at a loss.
What is a good LTV to CAC ratio?
A ratio of 3:1 is commonly cited as a healthy minimum: three dollars of lifetime profit for each dollar spent winning a client. The calculator's maximum acquisition cost uses exactly that threshold. A ratio far above 3:1, such as the 10.35 in the worked example, usually means acquisition is cheap relative to the value clients deliver, and the business can afford to spend more to grow. A ratio far above 5:1 can also mean the business is under-investing in growth. A ratio below 3:1 means acquisition costs are eating the value clients create, and either acquisition must get cheaper or retention and margin must improve.
Should LTV use revenue or profit?
Profit. LTV is the gross profit a client is worth, which is lifetime revenue multiplied by gross margin. A revenue-based LTV overstates what you can spend to acquire a client, because it counts money that delivery costs will consume. In the worked example, revenue is $69,000 and profit-based LTV is $41,400. Using revenue would claim a $23,000 maximum acquisition cost at 3:1 instead of the correct $13,800, and spending the difference would buy clients at a loss.
How long should the lifespan be?
Use your actual average client tenure, measured from your CRM: start dates to end dates, across all clients who started in a given period, including the ones who churned early. If you do not have that data, be conservative and use a shorter lifespan than you hope for, then raise it when the data supports it. A lifespan guessed too long inflates LTV, inflates the maximum acquisition cost, and quietly justifies overspending on acquisition.
Does LTV include upsells?
Yes, in this formula. Upsell revenue is added to retainer revenue before the margin is applied, because upsells are part of what the relationship is worth. In the worked example, $6,000 of upsells adds $3,600 of lifetime value at a 60% margin. If your upsells carry a different margin from the retainer work, calculate them separately and add the two profit figures together instead of applying one margin to the combined revenue.
What if a client leaves early?
Then that client is worth less than the average, and the average is still right for planning. LTV describes a typical client, not any individual one. Early churn is already inside the average lifespan if the lifespan was measured honestly across all clients, including the ones who left early. If early churn is rising, the average lifespan will fall, LTV will fall with it, and the maximum acquisition cost will fall too. That is the formula working as intended: it prices the business you actually have, not the one you wish you had.