← Back to Resources

CTO & Technical Cofounder

What Does It Cost to Serve Each SaaS Customer?

Separate direct, shared and outlier costs before changing a plan or a price.

Jump to the worksheet
Desk with calculator, charts, and pencil
Illustrative photograph · Cht Gsml / Unsplash

The short answer

Start with one month’s infrastructure bill. Assign costs you can trace to a customer directly, allocate the shared costs using a reasonable measure of consumption, and show what you still can’t attribute. Now compare the result with what each customer pays.

Dividing the cloud bill by the number of customers is useful for a rough average. It won’t tell you which customer’s nightly import is consuming most of the compute, or whether a new plan makes sense.

Separate the three kinds of cost

Direct: an invoice line, metered API call or dedicated environment you can tie to one customer.

Shared: resources multiple customers use. Split them with a driver that reflects what creates the cost. That might be worker minutes for compute, average stored GB for storage, or delivered MB for egress. If you have no good measurement, allocate with a stated proxy or leave it unallocated; don’t make up precision.

Unallocated: the invoice lines you can’t yet trace or reasonably share. Keep these visible and reconcile them every month. If the unallocated number is big, you’ve just found your first instrumentation job.

AWS’s SaaS Lens on expenditure awareness discusses understanding resource usage by tenant in a shared environment. The FinOps Foundation’s unit economics guidance explains how a cost metric can support decisions when it is linked to a meaningful unit of business value.

Copy this monthly allocation worksheet

Use one month, currency and cost basis across the worksheet. Add a row for each customer. These figures are illustrative; all amounts are in GBP.

Assumptions: shared worker cost £600, total measured worker time 1,000 minutes. Invoice total £1,020, including shared workers, £360 direct costs and £60 unallocated.

Tenant Worker minutes Direct cost Shared worker cost Allocated infrastructure Net subscription revenue
Atlas 250 £80 £150 £230 £500
Beacon 600 £250 £360 £610 £700
Cedar 150 £30 £90 £120 £400
Total 1,000 £360 £600 £960 £1,600

For each row: shared cost = £600 × tenant minutes ÷ total minutes. Add directly attributable cloud and third-party API costs once, not twice. Reconcile £960 allocated + £60 unallocated = £1,020 against the provider and supplier statements. For multiple shared pools, calculate each separately against its own driver and add the results.

The average invoice cost for these three customers is £340, including the unallocated portion. Beacon alone has £610 of allocated infrastructure cost. It has £90 left from subscription revenue after that cost, or about 13%. That’s an infrastructure-only contribution, not full gross margin. If direct API costs rise by £100 with nothing else changing, Beacon falls to –£10 on that same measure.

For a fuller gross margin sensitivity, add the other costs your finance team counts as cost of revenue, such as delivery support or pass-through fees, and agree how to account for the unallocated balance. Then compare scenarios with the same assumptions on both revenue and cost. Don’t compare infrastructure contribution from one sheet with fully loaded gross margin from another.

Use it to decide what to measure next

Ask which tenant you’d misprice if you only had the average. Check whether that answer survives a different reasonable allocation driver and whether a customer’s marginal usage actually adds cost or merely consumes existing capacity. Only then consider a plan limit, a product fix or a change to pricing. One awkward invoice can be a metering problem rather than a customer problem.

Check that the decision survives the maths

Beacon’s cost is a prompt to look at the workload, not grounds to send a new price list. In this fictional example the £250 direct line includes the supplier bill for Beacon’s imports. Before changing the plan, reconcile that line to the billed usage and check the shared worker minutes against job runs. A metering bug that counts attempts and completed jobs as the same thing could put the same tenant at the top of the table for the wrong reason.

Try rerunning the worker split with completion counts. Suppose Beacon accounts for 40% of completed jobs but 60% of minutes. At 40%, its shared allocation is £240 rather than £360, and its total falls from £610 to £490. That’s a £120 change without touching the invoice. If the vendor is billing time, minutes are the better starting point; completions may be useful to show which customer workloads finish slowly. Keep the alternative calculation in the worksheet and explain why the finance view uses the first one. If the direction of a decision changes between credible assumptions, improve the measurement before acting.

Now model a change you can actually make. Say Beacon’s API bill can fall by £80 if the product avoids reprocessing unchanged records. On the same allocation basis, Beacon’s contribution rises from £90 to £170. That £80 is a testable hypothesis: check the next full bill, track the cohort affected and make sure you’re not simply moving cost from the API line into workers or support. Cutting worker minutes on a prepaid pool may share cost differently without removing a pound from the invoice. The distinction matters when the proposal is meant to save cash.

Have finance and engineering sign different rows

Engineering should sign the definitions of the drivers and the portion they cover. Finance should sign the invoice tie-out, currency and cost basis, then confirm which items belong in gross margin. Product can choose an action once those two pieces are settled. Copy the original invoice total, allocated subtotal and unallocated amount into each monthly snapshot. Add the owner and next action beside any assumption likely to change a pricing decision. A month with a missing vendor invoice can still be useful for debugging. Label it provisional and don’t use it to price a renewal.

Frequently asked questions

Open a question to read the full answer.

Can I use equal allocation to start?

Yes, for genuinely shared overhead where you have no better driver. Keep customer-specific costs direct and show equal allocation as an assumption rather than a measurement. Run a second view using the best usage proxy you do have. If the same customers remain unusually expensive, you’ve got a lead worth investigating. If the ranking changes dramatically, don’t put a new plan or a personal renewal decision on that estimate alone.

How should I handle a cloud commitment or one-off credit?

Keep the basis consistent across the worksheet. A cash view can show the invoice as paid; an operating view may spread a commitment over the period it covers, using a basis finance approves. Record unusual credits separately if they distort the month. Otherwise a promotional credit can make cost to serve look healthier until it expires. Reconcile to the invoice and label the adjustment instead of quietly removing the difference.

Should I include third-party API fees?

Include recurring API spend required to deliver the product if it’s in scope for the calculation. Trace it directly where the vendor or your usage records reliably identify a tenant; otherwise put it in a named pool with an appropriate driver. Pay particular attention to bundled allowances and minimum charges. One additional call might be cheap at current volumes and more expensive after renewal, so don’t use the blended rate unchanged in every forecast.

Which denominator is right: paid accounts, active tenants or jobs?

Pick the unit that matches the decision. Tenant allocation needs all workloads that produced the bill, including trials or internal traffic where they consume meaningful resources. Pricing analysis might then compare paid accounts separately and record the cost excluded from that view. Cost per completed job is useful for studying one workflow, but it cannot explain an inactive account’s dedicated storage bill. Keep the denominator visible beside every number.

Will reducing usage reduce the invoice?

Not immediately if the cost sits inside committed capacity or a vendor minimum. Lower usage can still free capacity for more customers or help avoid a larger commitment later. Show both effects separately: current invoice saving and capacity released. Before committing to a price or savings target, check the contract, the next billing threshold and whether there is another workload waiting to take up the space.

Next step

Talk to Keith about understanding cost to serve before you change pricing.

Put this into practice

Use the editable worksheet

Take the decision you’re facing, put an owner against it and record what would change your mind. The download is an editable CSV with no signup.

A GOOD STORY IS A STARTING POINT.

Where does it
take you?

An idea, a question, a different perspective.
I’d like to hear it.

Let’s talk ↗
A CONNECTION STARTS HERE

Let’s talk.

An idea taking shape. A challenge worth solving.
Tell me what’s on your mind.

Your details are used to respond to this enquiry.

The Sunday Blueprint

Sorry. This is the bit
where I interrupt you.

You were happily looking around and now I’m asking for your email. Awkward.

In return, every Sunday I’ll send you The Sunday Blueprint: the things I’ve seen, read, used or learned that week that are actually worth knowing.

Market shifts. Useful tools. Smart ideas. Practical resources. No motivational nonsense.

Just a useful Sunday read to make Monday slightly less painful.

Keith De Alwis
KeithA note from me. Every Sunday.

Free every Sunday. Unsubscribe anytime.