> ## Documentation Index
> Fetch the complete documentation index at: https://docs.costory.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Track Unit Economics to Justify Cloud Cost Increases

> Link cloud cost increases to business growth by connecting external metrics in Costory and building unit economics formulas. Defend scaling decisions with data.

Not every cost increase is a problem. More customers, higher traffic, and new workloads all raise cloud spend. That nuance is usually lost when finance reviews the bill.

Engineering needs to show that costs grew because the business grew, not because something broke.

Connect a usage source from **Integrations** > **+ Add integration** > **External metric**, then define formulas in Explorer to track unit economics (Financial metrics expressed on a per-unit basis: cost per customer, cost per API call, cost per transaction.) over time.

[Embedded content](https://cdn.lottielab.com/l/5GnDe9gH9vkF30.html)

## Prerequisites

* Your cloud billing data is connected to Costory (see [Quickstart](https://docs.costory.io/get-started/quickstart.md)).
* You have access to a business or usage metric (for example active users, API calls, or transactions) from a source on the [External metric](https://docs.costory.io/setup/usage-metrics) grid: Datadog, Datadog CI Visibility, Amplitude, BigQuery, Google Sheets, Tsuga, CloudWatch, or S3.

## What you get

* Usage metrics queried next to your cloud cost data.
* Custom unit economics formulas (cost per user, cost per request, cost per transaction, etc.) visualized over time.
* Evidence that cost increases track with business growth, ready to share with finance and leadership.

## How to track unit economics step by step

**1. Connect a usage metric**

Connect the usage data that matters to your business from any source on the [External metric](https://docs.costory.io/setup/usage-metrics) grid: Datadog, Datadog CI Visibility, Amplitude, BigQuery, Google Sheets, Tsuga, CloudWatch, or S3.

See [Metrics Correlation](https://docs.costory.io/setup/usage-metrics) for connection details.

![Unit Economics](https://mintcdn.com/costory/RpRZ9xA1sDfxexAj/images/unit-economics-dashboard.png?fit=max\&auto=format\&n=RpRZ9xA1sDfxexAj\&q=85\&s=eadd133322463f6b3948f5530a1089d0)

Usage metrics queried next to cloud cost data

**2. Define a unit economics formula**

Once you can query the metric in Advanced Explorer, define a formula in [Explorer](https://docs.costory.io/features/cost-explorer.md) to track the KPIs that matter:

* Cost per active customer, to track infrastructure efficiency per user
* Storage cost per document, to monitor storage efficiency at the resource level
* Lambda cost per OCR job, to measure serverless cost per operation
* A custom KPI that matches how your business measures output

These metrics can be visualized over time and scoped by team, product, or region.

> [!TIP]
>
> The [Costory MCP](https://docs.costory.io/features/mcp.md) can assemble the view for you: "build a cost-per-active-customer chart over the last 6 months and save it to a dashboard."

**3. Share unit economics with stakeholders**

Use the resulting charts to show finance that your cost per user is going *down* even as total spend goes up.

* Include unit economics in your [monthly cost report](https://docs.costory.io/automate-reporting/monthly-reviews.md). The Digest can reference usage metrics in its AI-generated explanations.
* Share per-team unit economics via [Cost Reports](https://docs.costory.io/features/slack-reports.md).
* Present the right metrics to leadership. See [FinOps metrics for exec team](https://docs.costory.io/use-cases/what_your_exec_team_wants/value.md).

## Next steps

* **See a full example:** [Calculate your cost per thousand active users using Amplitude](https://docs.costory.io/use-cases/amplitude/cost_per_active_users.md)
* **Show leadership the right numbers:** [FinOps metrics for exec team](https://docs.costory.io/use-cases/what_your_exec_team_wants/value.md)
* **Share per-team reports:** Give each squad a view of its own costs. See [Give every team its own cost report](https://docs.costory.io/automate-reporting/team-cost-reports.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.