{
  "slug": "saas-usage-cost-margin",
  "title": "Usage-Based Pricing Margin Calculator",
  "heading": "Usage Pricing Margin Calculator",
  "category": "financial",
  "url": "https://www.revenuelab.fyi/toolbox/saas-usage-cost-margin",
  "summary": "Check the gross margin left after infrastructure cost on consumption pricing.",
  "description": "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.",
  "formula": "Unit cost = compute + storage + egress + third-party. Unit margin = price − unit cost. Gross profit = units × unit margin − fixed platform cost.",
  "dateModified": "2026-08-25",
  "run_url": "https://www.revenuelab.fyi/api/public/calc?tool=saas-usage-cost-margin",
  "inputs": [
    {
      "id": "price",
      "label": "Price per unit",
      "kind": "number",
      "hint": null,
      "default": 0.045,
      "unit": "$",
      "min": 0,
      "max": null
    },
    {
      "id": "compute",
      "label": "Compute cost per unit",
      "kind": "number",
      "hint": null,
      "default": 0.012,
      "unit": "$",
      "min": 0,
      "max": null
    },
    {
      "id": "thirdParty",
      "label": "Third-party API cost per unit",
      "kind": "number",
      "hint": null,
      "default": 0.009,
      "unit": "$",
      "min": 0,
      "max": null
    },
    {
      "id": "storage",
      "label": "Storage & egress per unit",
      "kind": "number",
      "hint": null,
      "default": 0.003,
      "unit": "$",
      "min": 0,
      "max": null
    },
    {
      "id": "units",
      "label": "Units billed per month",
      "kind": "number",
      "hint": null,
      "default": 4200000,
      "unit": null,
      "min": 0,
      "max": null
    },
    {
      "id": "fixed",
      "label": "Fixed platform cost per month",
      "kind": "number",
      "hint": null,
      "default": 28000,
      "unit": "$",
      "min": 0,
      "max": null
    }
  ],
  "outputs": [
    {
      "id": "marginPct",
      "label": "Gross margin per unit",
      "format": "percent",
      "hint": null,
      "primary": true
    },
    {
      "id": "unitMargin",
      "label": "Margin per unit",
      "format": "currency",
      "hint": null,
      "primary": false
    },
    {
      "id": "gp",
      "label": "Monthly gross profit after fixed cost",
      "format": "currency",
      "hint": null,
      "primary": false
    },
    {
      "id": "revenue",
      "label": "Monthly revenue",
      "format": "currency",
      "hint": null,
      "primary": false
    },
    {
      "id": "breakEvenUnits",
      "label": "Units needed to cover fixed platform cost",
      "format": "number",
      "hint": null,
      "primary": false
    }
  ],
  "worked_example": {
    "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 $"
    ],
    "outputs": [
      "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"
    ]
  },
  "how_to": {
    "title": "How to use this",
    "steps": [
      "Enter price per unit ($).",
      "Enter compute cost per unit ($).",
      "Enter third-party api cost per unit ($).",
      "Enter storage & egress per unit ($).",
      "Enter units billed per month.",
      "Enter fixed platform cost per month ($).",
      "Read your gross margin per unit on the right — it updates as you type.",
      "Hit Share to keep the scenario or send it to someone."
    ]
  },
  "scenarios": [
    {
      "name": "Conservative",
      "description": "Lower-end numbers — what if things land soft?",
      "values": {
        "price": 0.027,
        "compute": 0.0072,
        "thirdParty": 0.005399999999999999,
        "storage": 0.0018,
        "units": 2520000,
        "fixed": 17000
      }
    },
    {
      "name": "Typical",
      "description": "Defaults — the most common real-world setup.",
      "values": {
        "price": 0.045,
        "compute": 0.012,
        "thirdParty": 0.009,
        "storage": 0.003,
        "units": 4200000,
        "fixed": 28000
      }
    },
    {
      "name": "Ambitious",
      "description": "Higher-end numbers — what if things really pop?",
      "values": {
        "price": 0.072,
        "compute": 0.019200000000000002,
        "thirdParty": 0.0144,
        "storage": 0.0048000000000000004,
        "units": 6720000,
        "fixed": 45000
      }
    }
  ],
  "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."
  ],
  "faq": [
    {
      "q": "What gross margin should a usage-based product hold?",
      "a": "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."
    },
    {
      "q": "How do I protect margin when supplier costs change?",
      "a": "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."
    },
    {
      "q": "Should overage be priced the same as base usage?",
      "a": "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."
    },
    {
      "q": "Why include fixed platform cost here?",
      "a": "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."
    }
  ],
  "related": [
    "https://www.revenuelab.fyi/toolbox/saas-pricing-tier-uplift",
    "https://www.revenuelab.fyi/toolbox/saas-ltv-cac-payback",
    "https://www.revenuelab.fyi/toolbox/saas-rule-of-40"
  ],
  "license": "CC-BY-4.0",
  "citation": "RevenueLab — Usage-Based Pricing Margin Calculator (https://www.revenuelab.fyi/toolbox/saas-usage-cost-margin)"
}