Revenue Rex logo mark
💰 Financial · Rex's Toolbox

Usage Pricing Margin Calculator

Check the gross margin left after infrastructure cost on consumption pricing.

Revenue Rex peeking

Rex says

Money math without the spreadsheet headache. Plug in your numbers and I'll show you exactly where the dollars land.

Try a scenario

Click to load — tweak from there.

Inputs

Result

Gross margin per unit

46.7%

Margin per unit

$0.0210

Monthly gross profit after fixed cost

$60,200

Monthly revenue

$189,000

Units needed to cover fixed platform cost

1,333,333

Revenue Rex peeking

Psst — share this and help Rex grow

One click, a permanent link with your numbers baked in.

More financial

Got your number — what next?

Pick one, it takes 20 seconds

How to use this

  1. 1Enter price per unit ($).
  2. 2Enter compute cost per unit ($).
  3. 3Enter third-party api cost per unit ($).
  4. 4Enter storage & egress per unit ($).
  5. 5Enter units billed per month.
  6. 6Enter fixed platform cost per month ($).
  7. 7Read your gross margin per unit on the right — it updates as you type.
  8. 8Hit Share to keep the scenario or send it to someone.

About this calculator

Consumption pricing puts your gross margin at the mercy of unit infrastructure cost, and AI-era workloads have made that cost far less predictable than the old storage-and-bandwidth era. This calculator compares your price per unit to your delivered cost per unit — compute, storage, egress, and third-party API pass-through — and reports margin per unit, monthly gross profit at your volume, and the break-even price below which each additional unit loses money. It also shows the volume at which fixed platform cost is absorbed, which is the point a usage business stops being a science project.

FormulaUnit cost = compute + storage + egress + third-party. Unit margin = price − unit cost. Gross profit = units × unit margin − fixed platform cost.

Worked example

Using the values the calculator loads with:

Inputs

  • Price per unit: 0.045 $
  • Compute cost per unit: 0.012 $
  • Third-party API cost per unit: 0.009 $
  • Storage & egress per unit: 0.003 $
  • Units billed per month: 4200000
  • Fixed platform cost per month: 28000 $

Results

  • Gross margin per unit: 46.7%
  • Margin per unit: $0.021
  • Monthly gross profit after fixed cost: $60,200.00
  • Monthly revenue: $189,000.00
  • Units needed to cover fixed platform cost: 1,333,333

What each field means

Inputs

Price per unit ($)
The price per unit used in the calculation, measured in $. Starts at 0.045 $ so you have a working example on load.
Compute cost per unit ($)
The compute cost per unit used in the calculation, measured in $. Starts at 0.012 $ so you have a working example on load.
Third-party API cost per unit ($)
The third-party api cost per unit used in the calculation, measured in $. Starts at 0.009 $ so you have a working example on load.
Storage & egress per unit ($)
The storage & egress per unit used in the calculation, measured in $. Starts at 0.003 $ so you have a working example on load.
Units billed per month
The units billed per month used in the calculation. Starts at 4200000 so you have a working example on load.
Fixed platform cost per month ($)
The fixed platform cost per month used in the calculation, measured in $. Starts at 28000 $ so you have a working example on load.

Results

Gross margin per unit
Returned as a percentage and shown as the headline result. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
Margin per unit
Returned as a money amount in US dollars. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
Monthly gross profit after fixed cost
Returned as a money amount in US dollars. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
Monthly revenue
Returned as a money amount in US dollars. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
Units needed to cover fixed platform cost
Returned as a whole number. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.

FAQ

What gross margin should a usage-based product hold?

Traditional SaaS targets 75-85%, but AI and data-heavy usage products commonly run 50-70% because inference and egress are genuine variable costs. Investors have largely accepted lower margins in that category as long as they're stable and improving with scale.

How do I protect margin when supplier costs change?

Price in units you control rather than units your supplier defines, keep a contractual right to adjust rates with notice, and set per-account caps so one heavy user can't consume a quarter's profit. Committed-use discounts from your provider help but lock in volume risk.

Should overage be priced the same as base usage?

Usually higher. Overage is unplanned load that pushes you toward peak capacity, and pricing it at or below base rate encourages exactly the consumption pattern that's most expensive to serve.

Why include fixed platform cost here?

Because usage businesses carry a real always-on base — orchestration, monitoring, standby capacity — that pure unit economics hides. The break-even units line tells you the minimum scale at which the architecture makes sense.

Accuracy and limitations

  • Results are estimates before tax, fees, and inflation unless an input explicitly covers them.
  • Rates are treated as fixed for the whole period — variable-rate products will drift from this projection.
  • This is educational maths, not financial advice. Check anything contractual with the lender or your accountant.

Related tools

Cite this calculator

Writing about this topic? Grab a citation — every link helps keep these tools free.

APA
RevenueLab. (2026). Usage-Based Pricing Margin Calculator. Retrieved from https://www.revenuelab.fyi/toolbox/saas-usage-cost-margin
HTML
<p>Source: <a href="https://www.revenuelab.fyi/toolbox/saas-usage-cost-margin" target="_blank" rel="noopener">Usage-Based Pricing Margin Calculator — RevenueLab</a> (2026).</p>
Markdown
Source: [Usage-Based Pricing Margin Calculator — RevenueLab](https://www.revenuelab.fyi/toolbox/saas-usage-cost-margin) (2026).
Advertisement