A rising cloud bill isn't necessarily bad news. If your customer base doubled, your bill should go up. The question is whether you are spending efficiently relative to the value you create. Unit economics answers that by measuring cost per unit of business value: per customer, per order, per transaction, per gigabyte processed.
It is also the bridge between engineering and the business. "Our cost per order fell from 4 pence to 3" means something to everyone in the room.
Healthy and unhealthy growth
Comparing total spend with unit cost tells you how you are scaling.
- Healthy growth
- Total spend is up, but cost per customer is flat or down. You are scaling efficiently.
- Unhealthy growth
- Total spend is up and cost per customer is up too. Economies of scale are working against you.
- Efficiency gain
- Total spend is flat while volume grows. Optimisation is paying off.
Choosing a unit metric
A good unit metric reflects what customers pay for or value, is measurable from your own data, and changes when the product's cost efficiency changes. Start with one metric per product: cost per active customer for a SaaS product, cost per order for e-commerce, cost per thousand API calls for a platform.
Avoid perfection at the start. A reasonable metric you review every month beats a perfect one you never finish defining.
Calculating it
You need two numbers: the cost allocated to a product (which depends on good tagging and allocation) and the business volume from product analytics or billing data. Divide one by the other, track it monthly, and show it next to the product's business KPIs.
Include shared costs in a consistent way, so improvements in shared platforms show up in every product's unit cost.
Using unit cost in decisions
Unit cost becomes powerful when it shapes decisions: pricing new features, choosing architectures, deciding whether to optimise or grow. A feature that doubles unit cost might still be worth it, if it increases revenue per customer by more.
Set targets for unit cost rather than total spend. That gives teams freedom to grow while keeping efficiency in view.
Unit economics for AI
AI features have very visible unit costs: tokens per request, GPU time per inference, cost per conversation. Track them from the first prototype. Choices such as model size, caching, prompt length and retrieval design can change unit cost by an order of magnitude, often without any loss in quality.
Common unit metrics by business type
SaaS products usually measure cost per active customer or per seat. E-commerce uses cost per order or per session. Data platforms use cost per gigabyte processed or per query. Internal platforms use cost per deployment, per build minute or per service hosted.
Whatever you choose, document how it is calculated, so the number means the same thing every month and to every audience.
How to put it into practice
- Pick one product and agree a unit metric with its product owner.
- Make sure that product's costs are fully allocated, including a fair share of shared costs.
- Calculate the unit cost for the last six months to see the trend.
- Add it to the product's regular business review.
- Set a unit-cost target alongside growth targets.
- Repeat for the next most important product.
Common mistakes
- Choosing a unit that customers don't care about, such as cost per server.
- Excluding shared costs, so unit cost looks better than it is.
- Reporting unit cost without explaining what changed it.
- Waiting for perfect allocation before starting.
How to measure progress
- Unit cost per product, monthly, with the trend.
- Share of products with a defined unit metric.
- Decisions where unit cost was explicitly considered.
- Unit cost of AI features per request or conversation.