Entrepreneurship & Business ModelsUnit economics and pricing · Lesson 7 of 18

Unit economics: CAC, LTV, contribution margin and AI costs

Video lesson · 15 min · 9 min lecture

Video lecture

Unit economics: CAC, LTV, contribution margin and AI costs

12 chapters · about 9 min · full transcript

Coming soon

Chapter 1 of 12

Unit economics

  • Contribution, CAC, LTV, payback
  • AI usage = cost of goods sold
  • See real margin per customer

The narrated lecture is in production

Every chapter is scripted and ready. Browse the chapters and read the full transcript now — the video will appear here when it’s published.

Chapters

Does each customer make money?

Unit economics measure the revenue and costs associated with a single unit: one customer, one order or one subscription. If each unit loses money, growth makes losses bigger. Understanding unit economics early helps you decide whether a model can become profitable and how much you can afford to spend acquiring customers.

Key metrics

MetricFormulaMeaning
Contribution margin (per unit)Price − variable costs per unitWhat each sale contributes to fixed costs and profit
Contribution margin %Contribution ÷ priceShare of revenue left after variable costs
Customer acquisition cost (CAC)Total sales & marketing spend ÷ new customers acquiredCost to win one customer
Churn rate (monthly)Customers lost in month ÷ customers at start of monthHow fast customers leave
Average customer lifetime≈ 1 ÷ monthly churn (in months)Approximate months a customer stays
Customer lifetime value (LTV)Contribution per month × average lifetimeContribution a customer generates over their life
LTV:CAC ratioLTV ÷ CACReturn on acquisition spend
CAC payback periodCAC ÷ monthly contribution per customerMonths to recover acquisition cost

Note: LTV can be defined in several ways (some use revenue rather than contribution, and some discount future cash flows). Using contribution is more conservative and more useful for decisions.

Worked example 1: a subscription app

Illustrative. A SaaS tool for small retailers.

Price: $30 per month
Variable costs (hosting, payment fees, support per customer): $6 per month
Contribution: $24 per month (80%)
Monthly churn: 4%  → average lifetime ≈ 1 / 0.04 = 25 months
LTV ≈ $24 × 25 = $600
CAC (marketing + sales cost per new customer): $200
LTV:CAC = 600 / 200 = 3.0
CAC payback = 200 / 24 ≈ 8.3 months

Many investors and operators use an LTV:CAC of around 3 and a payback of around a year or less as rough rules of thumb for subscription businesses, but these vary by sector, stage and funding environment. Treat them as prompts for questions, not laws.

Worked example 2: an e-commerce brand

Illustrative. An online skincare brand in Karachi (amounts in PKR).

Average order value (AOV): 4,000
Cost of goods: 1,600
Shipping, packaging and payment/COD costs: 600
Contribution per order: 1,800 (45%)
CAC via social ads: 2,200 per first-time buyer
First-order contribution − CAC = 1,800 − 2,200 = −400  (loss on first order)
Repeat purchases: on average 1.5 further orders in the first year (illustrative)
First-year contribution per customer ≈ 1,800 × 2.5 = 4,500
First-year contribution − CAC = 4,500 − 2,200 = +2,300

The brand loses money on the first order but profits over the year, if repeat behaviour holds. The key levers are clear: increase repeat purchases, raise AOV (bundles), reduce CAC (referrals, organic content) or reduce fulfilment costs (for example, encouraging prepaid orders to reduce cash-on-delivery return rates).

Cohort thinking

Averages hide important patterns. Track cohorts: customers acquired in the same month. Compare their retention and spending over time. If newer cohorts churn faster than older ones, your product or targeting may be deteriorating even if total revenue is growing.

Levers to improve unit economics

  • Price: raise prices where value supports it (often the most powerful lever).
  • Variable costs: negotiate supplier costs, reduce returns, optimise delivery.
  • Retention: improve onboarding and product value to reduce churn.
  • Expansion: upsell and cross-sell to existing customers.
  • CAC: focus on efficient channels, referrals, partnerships and content.

Unit economics for AI products: model usage is cost of goods sold

For a product that calls large language models, every customer action has a direct, variable cost: the model provider charges by tokens (small chunks of text, roughly three-quarters of an English word on average, and often more tokens per word in languages such as Arabic or Urdu), by image, by audio minute or by request. That cost belongs in cost of goods sold (COGS) and therefore in contribution margin, exactly like ingredients in a restaurant. Treating it as a fixed "IT" overhead hides the most important risk in the business: margins that shrink as customers use you more.

A practical formula for cost per task:

cost per task =
    (input tokens  x input price per million  / 1,000,000)
  + (output tokens x output price per million / 1,000,000)
  x (1 + retry / re-generation rate)
  + retrieval, search, tool or hosting cost per task
  + human review minutes x loaded cost per minute (if a person checks the output)

Then:

monthly COGS per customer = tasks per month x cost per task + other variable costs
gross margin %            = (revenue - COGS) / revenue
contribution per customer = revenue - COGS - payment fees - variable support

Worked example 3: an AI support-reply product

Illustrative numbers only; model prices change often, so use your provider's current price page. A startup sells an AI tool that drafts replies to customer emails for small online shops at £49 per month.

Average task: 3,000 input tokens (email thread + policies), 400 output tokens
Illustrative prices: £2.40 per million input tokens, £12 per million output tokens
Model cost per task   = 3,000 x 2.40/1e6 + 400 x 12/1e6 = £0.0072 + £0.0048 = £0.012
Retries/regenerations = 25%            -> £0.015 per task
Retrieval/hosting     = £0.003 per task -> £0.018 per task
Human spot-check      = none by default (customer approves each reply)

Typical shop: 1,200 tasks/month  -> model COGS ≈ £21.60
Other variable costs (support, payment fees, email infra) ≈ £6
Contribution ≈ £49 - £21.60 - £6 = £21.40 (≈ 44%)

Heavy shop: 5,000 tasks/month    -> model COGS ≈ £90 -> contribution ≈ -£47

Lessons: the average looks acceptable, but the heavy segment loses money on every month it stays. Unit economics must be calculated per usage segment, not just on the blended average.

Levers specific to AI costs

  • Right-size the model: route simple tasks (classification, short replies) to smaller, cheaper models; reserve larger models for complex tasks. Measure quality on your own test set before switching.
  • Trim context: send only the relevant parts of long documents (retrieval), and summarise old conversation history.
  • Reuse: many providers offer prompt caching (reduced charges for repeated prompt prefixes) and discounted batch processing for work that does not need an instant answer. Check your provider's current documentation and pricing.
  • Cap output length and avoid unnecessary regeneration.
  • Price with a usage dimension: allowances, credits, tiers or overage (see the revenue models lesson).
  • Watch the human cost: if every output needs five minutes of expert review, that review, not the tokens, is probably your biggest variable cost.

Hands-on: unit economics sheet template

INPUTS                                   Segment A   Segment B   Segment C
Price per month                          ______      ______      ______
Tasks per customer per month             ______      ______      ______
Input tokens per task                    ______      ______      ______
Output tokens per task                   ______      ______      ______
Input price per 1M tokens                ______  (from provider's price page, date checked: ____)
Output price per 1M tokens               ______
Retry rate                               ______
Other cost per task (retrieval, tools)   ______
Human review minutes per task x cost     ______
Other variable cost per customer         ______
Monthly churn                            ______
CAC                                      ______
OUTPUTS
Cost per task / COGS per customer / Contribution per month / Contribution %
Average lifetime (1/churn) / LTV (contribution x lifetime) / LTV:CAC / CAC payback (months)

Common mistakes

  • Calculating LTV on revenue instead of contribution.
  • Using overly optimistic churn assumptions without data.
  • Excluding sales salaries or tools from CAC.
  • Relying on blended CAC that hides expensive paid channels behind free organic sign-ups.
  • Growing fast with negative unit economics and assuming scale will fix it.

Quick self-check

Calculate contribution per unit, CAC and payback for your business or idea using honest assumptions. Which single lever would improve the numbers most, and how would you test it?

Key takeaways

  • Contribution margin = price − variable costs; it funds fixed costs and profit.
  • CAC = sales and marketing spend ÷ new customers; LTV ≈ monthly contribution × (1 ÷ monthly churn).
  • LTV:CAC and CAC payback show whether acquisition spend is recovered; treat benchmarks as rough guides.
  • Track cohorts and improve economics through price, costs, retention, expansion and CAC.
  • For AI products, model usage (tokens, retries, tools, human review) is cost of goods sold: calculate cost per task and contribution per usage segment.

Check your understanding

Quick questions to lock in the lesson. They don’t count towards your certificate.

  1. Price $50/month, variable costs $10/month, monthly churn 5%. What is the contribution-based LTV?
  2. CAC is $300 and monthly contribution per customer is $25. What is the CAC payback period?
  3. Why is LTV based on contribution more useful than LTV based on revenue?
  4. An AI product's average customer is profitable, but model costs scale with usage. What analysis best reveals the risk?

Put it into practice

Build the unit economics sheet for your idea with three usage segments (for AI products, include tokens per task, prices with the date checked, retries and human review), then run two scenarios: 20% lower churn and 20% higher CAC.

Enrol for free to save your progress

Reading is always free. Enrol to keep your place, take the final assessment and earn a verifiable certificate.