Skip to main content
Business Finance

Unit Economics: Formulas, CAC Payback and LTV:CAC

Unit economics explained with worked examples for a service and a product business: contribution margin per unit, CAC, CAC payback and LTV:CAC ratio.

By Invoice Creator Editorial Team 9 min read

Unit economics measure whether one unit of your business, usually one product or one customer, makes money. The core formulas are contribution margin per unit (price minus variable costs), customer acquisition cost (CAC), CAC payback period and the LTV:CAC ratio. If a single unit loses money, more sales will only increase the loss.

This guide explains each formula, then works through two full examples: a service business and a product business. You will see exactly where the numbers come from and how to tell whether growth will make you more profitable or just busier.

Why unit economics matter

Total revenue can hide a lot. A business can grow sales every month and still run out of cash if each new customer costs more to win and serve than they bring in. Looking at the economics of a single unit strips away the noise and answers three questions:

  • Does each sale cover its own direct costs?
  • How much does it cost to win each customer, and how long until that cost is recovered?
  • Over the whole relationship, is a customer worth more than they cost to acquire?

The answers feed straight into pricing, marketing budgets and hiring decisions. They also connect to your break-even point, because break-even volume is fixed costs divided by contribution margin per unit.

Unit economics are not only for venture-backed startups. A bakery, a plumber or a freelance designer can run the same numbers in a spreadsheet in an hour, using sales invoices, supplier bills and a record of marketing spend.

The core unit economics formulas

MetricFormulaWhat it tells you
Contribution margin per unitPrice per unit - variable costs per unitProfit each sale contributes toward fixed costs
Contribution margin %Contribution margin per unit / price x 100Share of each sale left after variable costs
Customer acquisition cost (CAC)Sales and marketing spend / new customers wonAverage cost to win one customer
CAC payback periodCAC / monthly contribution margin per customerMonths to recover acquisition cost
Lifetime value (LTV)Contribution margin per period x expected number of periodsTotal contribution from an average customer
LTV:CAC ratioLTV / CACReturn on acquisition spend

Two points matter more than the formulas themselves. First, only include variable costs in contribution margin. If you are unsure which costs are which, read fixed vs variable costs. Second, calculate lifetime value from contribution margin, not revenue. Revenue-based LTV makes every ratio look better than reality. Our detailed guide to customer lifetime value covers the different LTV methods.

Worked example 1: a service business

A two-person web design studio sells website projects at a fixed fee and offers a monthly maintenance plan. All figures are illustrative.

Contribution margin per project

ItemAmount
Project fee$6,000
Subcontracted developer (30 hours at $50)-$1,500
Theme, plugins and stock images-$200
Card processing fees (3% of $6,000)-$180
Contribution margin per project$4,120 (68.7%)

The owners' own time is not deducted here because they are paid from fixed salaries. If you are a solo freelancer, you may want to deduct your hours at a target rate to see whether the project really pays. Our guide on setting freelance rates helps with that.

CAC and payback

Each month the studio spends $2,400 on ads and $600 on proposal and CRM software, a total of $3,000, and wins two new clients. CAC = $3,000 / 2 = $1,500.

On a one-off project, the $4,120 contribution recovers the $1,500 CAC immediately. The more interesting case is the maintenance plan: $500 a month, with about $150 of variable hosting and contractor costs, so $350 monthly contribution. For a client who only buys maintenance, payback = $1,500 / $350 = about 4.3 months.

Lifetime value and LTV:CAC

Suppose a typical client buys one project and stays on maintenance for 24 months. LTV = $4,120 + ($350 x 24) = $4,120 + $8,400 = $12,520. LTV:CAC = $12,520 / $1,500 = about 8.3:1.

That ratio is strong. It suggests the studio could spend more to win clients, for example by raising the ad budget, as long as capacity allows. It also shows the maintenance plan is where most of the lifetime value comes from, so it is worth promoting in every proposal. A retainer invoice makes the monthly billing simple.

Worked example 2: a product business

An online shop sells hand-poured candles at $32 each. Again, the figures are illustrative.

Contribution margin per unit

ItemPer candle
Selling price$32.00
Wax, wick, fragrance and jar-$7.00
Packaging-$2.00
Shipping subsidy (cost above what customer pays)-$4.00
Marketplace and payment fees (10%)-$3.20
Contribution margin per unit$15.80 (49.4%)

Materials and packaging together form the cost of goods sold, but fees and shipping subsidies are also variable, so they belong in unit-level contribution.

CAC and first-order profit

The shop spends $4,000 a month on social ads and wins 200 new customers. CAC = $4,000 / 200 = $20.

The average first order is 1.5 candles, so first-order contribution = 1.5 x $15.80 = $23.70. After CAC, the first order makes $23.70 - $20 = $3.70. That is thin. The shop recovers its acquisition cost on the first order, but only just.

Lifetime value and LTV:CAC

Order history shows the average customer places three orders of 1.5 candles over their lifetime. LTV = 3 x $23.70 = $71.10 of contribution. LTV:CAC = $71.10 / $20 = about 3.6:1.

The economics work, but repeat purchases carry the business. If customers only ever bought once, the shop would make $3.70 per customer before rent, salaries and software. A loyalty discount or bundle that lifts average order size to two candles would raise first-order contribution to $31.60 and make the model much safer. Before discounting, check the effect on margin using markup vs margin.

What if ad costs rise?

Paid channels tend to get more expensive as you scale, because you exhaust the cheapest audiences first. If the shop's CAC rose from $20 to $30, first-order contribution of $23.70 would no longer cover acquisition, leaving a $6.30 loss on the first order. LTV:CAC would fall to $71.10 / $30 = about 2.4:1, and payback would depend on the second order arriving. Running this kind of what-if before increasing ad spend shows how much headroom you really have and which number to watch week by week.

Comparing the two examples

MetricWeb design studioCandle shop
Contribution margin %68.7% (project)49.4%
CAC$1,500$20
CAC paybackImmediate on project; 4.3 months on maintenance onlyFirst order
Lifetime value (contribution)$12,520$71.10
LTV:CACAbout 8.3:1About 3.6:1
Main riskCapacity limits and lumpy project winsLow repeat rate or rising ad costs

The absolute numbers differ hugely, but the same framework applies. Each business can now see which lever matters most: the studio should sell more maintenance plans; the shop should increase order size and repeat rate.

Unit economics for freelancers and solo consultants

The same framework works for one person selling time. The unit is usually a client or a billable hour, and the hidden cost is your own unbillable time.

Take a freelance copywriter charging $90 an hour. Each client project averages 20 billable hours, or $1,800. Variable costs include a 3% card fee ($54) and $40 of stock images and tools charged per project. Contribution per project is $1,800 - $54 - $40 = $1,706.

Now include acquisition effort. The copywriter spends about 10 unbillable hours a month on pitching, proposals and calls and wins two new clients a month. Valuing that time at the $90 rate gives (10 x $90) / 2 = $450 per client. Add $50 a month of job-board fees spread across the two wins and CAC is roughly $475. If a typical client buys three projects over a year, contribution LTV is 3 x $1,706 = $5,118 and LTV:CAC is about 10.8:1.

The lesson for most freelancers is that the numbers improve sharply when clients come back, because repeat clients have no acquisition cost at all. Also watch scope creep. A project with 6 unbilled revision hours on top of 20 billed hours effectively pays $1,800 / 26 = about $69 an hour, not $90.

Using unit economics to set a marketing budget

Once you know contribution per customer, you can set a ceiling on acquisition spend instead of guessing:

  1. Calculate contribution LTV for the customer type you want more of.
  2. Decide your target LTV:CAC ratio. Many businesses use 3:1 as a cautious starting point.
  3. Divide LTV by the target ratio to get the maximum CAC you can afford.
  4. Check payback: the maximum CAC should be recovered within a period your cash can support.

For the candle shop, $71.10 / 3 = about $23.70, so it can afford to pay up to roughly $23.70 per new customer, and the average first order alone would recover that. For the web design studio, $12,520 / 3 = about $4,173, far above the current $1,500, which suggests room to test more expensive channels such as events or partnerships, as long as the team has capacity to deliver. Review the ceiling whenever prices, costs or retention change.

Common unit economics mistakes

  1. Using revenue instead of contribution. A $100 customer is not worth $100 if it costs $60 to serve.
  2. Leaving out hidden variable costs. Payment fees, returns, refunds, free shipping and chargebacks all reduce contribution.
  3. Blending channels. A referral customer and a paid-ad customer have very different CAC. Calculate CAC per channel where you can.
  4. Ignoring your own time. Founders often do sales themselves and record a CAC that looks tiny. If you would have to hire someone to replace that effort, include an estimate.
  5. Assuming retention. Use real repeat-purchase or churn data, not hopes. New businesses should be conservative until they have at least a year of history.
  6. Forgetting payment timing. Good economics on paper can still strain cash if clients pay 60 days late. Watch days sales outstanding and your burn rate and runway.

How to improve your numbers

  • Price: a small increase flows almost entirely into contribution. See how to price a product.
  • Variable costs: negotiate supplier prices, buy materials in bulk or switch to cheaper packaging.
  • CAC: lean on referrals, repeat clients and content, which usually cost less than paid ads.
  • Retention: follow up after delivery, offer maintenance or subscriptions and make reordering easy.
  • Order size: bundles and free-shipping thresholds spread fixed per-order costs such as packaging and fulfilment over more units.
  • Billing hygiene: invoice every billable item. Missed extras such as rush fees or extra revisions erode contribution. Itemized invoices from our free invoice templates make every charge visible to the client.

Once your contribution margin and acquisition costs are clear, you can calculate the return on any new marketing spend with the ROI formula.

Conclusion

Unit economics boil your business down to one sale or one customer. Calculate contribution margin per unit, CAC, payback period and LTV:CAC using real data, then improve the weakest number first. Growth built on positive unit-level profit compounds; growth built on losses just burns cash faster. Keep your revenue records accurate from the start with the free invoice generator.

Frequently asked questions

What are unit economics?

Unit economics are the revenues and costs tied to a single unit of your business, usually one product sold or one customer. They show whether each sale makes or loses money once you subtract the costs that come with it. The core numbers are contribution margin per unit, customer acquisition cost, payback period and lifetime value. If the economics of one unit do not work, growing sales will only grow losses.

How do you calculate contribution margin per unit?

Take the selling price of one unit and subtract all variable costs tied to that unit: materials, packaging, shipping you pay, payment processing and marketplace fees, and direct labor that scales with volume. A candle selling for $32 with $16.20 of variable costs has a contribution margin of $15.80, or 49.4%. Fixed costs such as rent and salaries are not deducted, because they do not change with each sale.

What is CAC and how is it calculated?

CAC is customer acquisition cost: the average amount you spend to win one new customer. Divide total sales and marketing spend for a period by the number of new customers gained in that period. If you spent $3,000 on ads, tools and sales time in a month and won two new clients, CAC is $1,500. Be consistent about what you include, and count your own time if selling takes a lot of it.

What is a good LTV to CAC ratio?

A commonly quoted rule of thumb, especially for subscription businesses, is a lifetime value at least three times acquisition cost, written 3:1. Below 1:1 means you lose money on every customer. Far above 5:1 can mean you are underinvesting in growth. Treat 3:1 as a starting point rather than a law, and make sure lifetime value is based on contribution margin, not revenue, or the ratio will look better than it is.

What is CAC payback period?

CAC payback period is the number of months it takes for the contribution margin from a new customer to repay the cost of acquiring them. The formula is CAC divided by monthly contribution margin per customer. If a client costs $1,500 to win and generates $350 of contribution each month, payback is about 4.3 months. Shorter payback means you recover cash faster and can reinvest it in growth sooner.

Do unit economics apply to service businesses?

Yes. For a service business the unit is usually a client, a project or a billable hour. Contribution margin is the fee minus costs that vary with the work, such as subcontractor time, project-specific software and payment fees. A freelancer can use the same logic to compare which services or clients are actually profitable once delivery time and acquisition effort are counted, not just which ones bring in the most revenue.

What is the difference between unit economics and break-even analysis?

Unit economics look at the profit from a single unit or customer before fixed costs. Break-even analysis uses that per-unit contribution to work out how many units you must sell to cover all fixed costs. They work together: first confirm each unit contributes a positive margin, then divide fixed costs by that margin to get the break-even volume. Without positive unit-level contribution, no sales volume will ever reach break-even.

How can I improve my unit economics?

Raise price where customers see value, reduce variable costs per unit, lower acquisition cost by focusing on cheaper channels such as referrals, or increase how long customers stay and how often they buy. Bundling can raise average order value so fixed per-order costs like shipping and payment fees are spread over more revenue. Track each change separately so you can see which lever actually moved contribution margin, CAC or retention.

IC

Invoice Creator Editorial Team

Guides on invoicing, cash flow and small-business finance from Invoice Creator, operated by Next Software Development Company. Content is reviewed for accuracy against the fields our own invoice generator produces.

Try the invoice generator

Related reading