← All free tools

Unit Economics Calculator

Every scaling decision comes back to one question: does a single unit make money once you count everything it costs to sell it? This free calculator builds the full per-unit P&L (COGS, shipping, payment fees, tax and customer acquisition) so you can see your contribution margin before and after marketing, and the price you need to hit a target.

Enter your product's numbers below, or start with the example data. How it works ↓

Revenue

100%

Drag to price off your base cost (COGS + shipping). Disabled until you enter a cost.

Direct costs

Fees & tax

Marketing & CAC

CAC allocated per unit $0.00

Target margin

The margin the "required price" card below solves for.

Modelled estimates only, not financial advice. Confirm against your real accounts before making pricing decisions.

Why unit economics decide whether you can scale

A brand can grow revenue for years and still go backwards, because revenue hides the one number that matters: what a single unit actually contributes once you subtract everything it costs to sell. Get that number right and every marketing dollar has a pool to be paid from. Get it wrong and scaling just multiplies the loss.

This tool builds the per-unit picture in the order costs hit: product, shipping, the cut the payment processor takes, tax on the sale, and finally the cost of acquiring the customer. What survives all of that is your contribution margin, and whether it survives acquisition cost tells you if you have a business or a subsidy.

How the calculator works

The model layers costs onto the price one at a time:

contribution margin =
  price − (COGS + shipping) − transaction fees − tax on revenue
  • Gross profit & margin: price minus COGS only. This is the traditional headline margin, before shipping and fees.
  • Contribution margin: price minus every variable cost of the sale. This is the money each unit puts toward fixed costs and profit.
  • Contribution after CAC: turn on the marketing block and the tool spreads your cost per order across the units in it, then subtracts it. If this is negative, each order you buy loses money.
  • Required price for target margin: the tool solves the equation backwards to find the price that delivers the contribution margin you set.

Why CAC is allocated per unit, not per order

Every other cost in the model is per unit, so acquisition cost has to be too, or the numbers do not line up. If your blended CAC is $20 and the average order has two units, each unit carries $10 of acquisition cost. The tool does that division for you and shows the CAC per unit explicitly, so contribution after CAC is a like-for-like per-unit figure you can compare against price.

This is where many brands discover the trap: a unit that looks healthy at gross margin is underwater once real CAC is counted. If that is you, the fix is rarely more volume. It is a lower CAC, a higher price, or a repeat-purchase rate that lets a lossy first order pay for itself later. Our Optimal Discount Calculator models discounting with CAC and breakeven ROAS if that is the lever you are pulling.

Pricing to a target margin

Most pricing is done forwards: pick a price, see what margin falls out. The target-margin card does it backwards: you name the contribution margin you want and it returns the price that delivers it, accounting for your payment fees and tax rate along the way. Tick "include CAC" and it targets margin after acquisition cost, which is the number to price against if you are buying most of your customers.

Watch the unreachable warning. If your transaction-fee percentage plus your tax rate plus your target margin add up to 100% or more of the price, there is no price that works; the costs and the target consume the whole sale. The tool flags this instead of returning a misleading number. It usually means the target margin is too high for a business with those fee and tax rates.

Assumptions and limitations

  • Contribution level, not net profit. Fixed costs (rent, salaries, software, your overall marketing budget beyond per-order CAC) are deliberately excluded. Contribution margin is what pays them; it is not profit after them.
  • Single unit, single price. The model prices one representative unit. Bundles, tiered discounts and mixed baskets need their own analysis.
  • Blended CAC. The marketing input is a per-order average. New vs returning customer mix, channel-level CAC and payback period are outside this tool.
  • Tax handling. Tax is modelled as a straight percentage of revenue. If your prices are tax-exclusive and you remit separately, set the tax rate to 0.

Use the contribution margin as the truth test for every growth plan, then confirm it against your real accounts. If you want help turning solid unit economics into a scaling plan, our analytics and CRO team can build it with you.

Frequently Asked Questions

Gross margin is revenue minus the cost of the goods themselves. Contribution margin goes further: it is what a unit contributes after every variable cost of selling it (COGS, shipping, payment-processing fees and tax on the sale) but before fixed costs like rent, salaries and your marketing budget. It is the number that tells you whether selling one more unit makes you money, and it is the pool every fixed cost and every marketing dollar has to be paid out of.

Because your other costs are per unit. If you acquire a customer for $20 and that order contains two units, the acquisition cost each unit has to carry is $10, not $20. The calculator divides your marketing cost per order by your average units per order so the CAC lines up with the per-unit contribution margin. Contribution margin after CAC is the honest "did this order make money" number.

Put your product cost plus packaging in the COGS field, and your outbound shipping cost in the separate Shipping field. Gross margin is calculated against COGS only (the traditional definition), while contribution margin and the markup figure include shipping, because shipping is a real variable cost of fulfilling the order. Keeping them in separate fields lets you see both.

It solves the pricing equation backwards. Given your costs, payment fees and tax rate, it finds the selling price at which contribution margin equals the target percentage you set. If you turn on the marketing block and tick "include CAC", it targets contribution after acquisition cost instead. If your fee and tax rates plus the target already add up to the whole price, the target is mathematically unreachable and the tool tells you so rather than returning a nonsense number.

A negative contribution margin means you lose money on every unit before you have spent a cent on marketing, so scaling only loses money faster. The levers are: raise the price, lower COGS or shipping, or reduce payment fees. Fix the unit economics first; discounts, ad spend and volume cannot rescue a unit that is underwater on contribution.

No. The calculator runs entirely in your browser and nothing you enter is sent to a server. Inputs are saved in your own browser's local storage so they survive a refresh, and the "copy shareable link" button encodes them in the URL only when you choose to share it.

Ready to scale?

What you'll get

Comprehensive digital ecosystem audit
Deep actionable commercial insights
Competitor benchmarking
No obligations, no hard sell, just value

"Word of Mouth Digital has more than doubled our marketing-qualified leads."

Nick Allan
Nick Allan Sales & Marketing Manager - Domaine Homes
$187m+ managed adspend
$750m+ GMV generated
200+ brands scaled

Want your unit economics pressure-tested on real numbers?