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

# Customer Lifetime Value (LTV) Metrics Reference

> How Upstack measures customer lifetime value from Shopify orders: LTV 90, 180 and 365 day windows, cohort revenue, retention and margin, and when to use each.

Lifetime value metrics follow customers after their first order and add up what they spend over time. The point is to judge acquisition by what a customer turns into, not by the first cart alone. A channel that brings in \$40 first orders can beat one that brings in \$60 first orders if its customers come back.

Every metric in this section starts from the same anchor: each customer's **first order**, which Upstack takes to be their earliest order that isn't cancelled. Customers are grouped by when that first order happened, and everything after it is measured relative to that date.

## Two Ways to Measure It

**LTV windows** give you one number per customer group: average net revenue per customer within a fixed number of days of their first order. Upstack calculates three windows: 90, 180 and 365 days.

* Customers are included if their first order falls in the date range you select.
* Revenue is net revenue on their non-cancelled orders inside the window: line-item value minus discounts and refunds. Shipping and tax aren't included.
* Refunds follow your refund date setting. On the default, a refund counts if it was processed inside the window.

**Cohort metrics** show how that value builds up period by period. Customers acquired in the same week, month or year form a cohort, and each column after that is one more period since their first order. These power the **LTV Cohort Summary** page in the app.

## Available Metrics

| Metric | What it shows |
| - | - |
| [LTV 90](https://docs.upstackdata.com/reference/metrics/orders/ltv/ltv-90.md) | Average net revenue per customer in the 90 days from their first order |
| [LTV 180](https://docs.upstackdata.com/reference/metrics/orders/ltv/ltv-180.md) | Same, over 180 days |
| [LTV 365](https://docs.upstackdata.com/reference/metrics/orders/ltv/ltv-365.md) | Same, over 365 days |
| [Cohort Customers](https://docs.upstackdata.com/reference/metrics/orders/ltv/cohort-customers.md) | Customers whose first order fell in the cohort period. The denominator for the per-customer cohort metrics |
| [Cohort Retention %](https://docs.upstackdata.com/reference/metrics/orders/ltv/cohort-retention-percent.md) | Share of the cohort that ordered in a given period |
| [Cohort Gross Revenue](https://docs.upstackdata.com/reference/metrics/orders/ltv/cohort-gross-revenue.md) | Cumulative gross revenue per cohort customer |
| [Cohort Net Revenue](https://docs.upstackdata.com/reference/metrics/orders/ltv/cohort-net-revenue.md) | Cumulative net revenue per cohort customer, after discounts and refunds |
| [Cohort AOV](https://docs.upstackdata.com/reference/metrics/orders/ltv/cohort-aov.md) | Cumulative net revenue ÷ cumulative orders for the cohort |
| [Cohort CM1](https://docs.upstackdata.com/reference/metrics/orders/ltv/cohort-cm1.md) | Cumulative net revenue minus product cost and other COGS, per cohort customer |
| [Cohort CM2](https://docs.upstackdata.com/reference/metrics/orders/ltv/cohort-cm2.md) | Cohort CM1 minus shipping, handling, other fulfillment and transaction costs, per cohort customer |

## Which One to Use

| Question | Use |
| - | - |
| Is this month's acquisition better or worse than last quarter's? | LTV 90, compared across months |
| How much can I spend to acquire a customer? | LTV 365 for the revenue ceiling, Cohort CM2 for what's left after costs |
| When do new customers pay back their acquisition cost? | The **Payback** column on LTV Cohort Summary |
| Are customers coming back, or spending more when they do? | Cohort Retention % next to Cohort AOV |
| Did a discount-heavy launch bring in lower-value customers? | Cohort Gross Revenue vs Cohort Net Revenue for that cohort |

On LTV Cohort Summary, **CAC** is New Customer CPA for the cohort's period, and **Payback** is the first period in which Cohort CM2 per customer reaches that CAC. Payback is shown as a period number, so `M3` means three months after the acquisition month.

## Things to Watch

**Young cohorts are incomplete.** A customer acquired last month hasn't had 365 days yet, so their LTV 365 only includes what they've spent so far. Compare windows only across cohorts old enough to have finished them.

**Revenue LTV isn't profit.** LTV windows use net revenue. Margin-based views, Cohort CM1 and CM2, depend on your [Cost Settings](https://docs.upstackdata.com/analytics/cost-settings.md). Without product costs or a Default COGS %, CM1 will be overstated.

**Refund timing moves value between periods.** On the default refund-date setting, a refund lands in the period it was processed. You can switch a dashboard view to the original order date from the dashboard options menu, under **Refunds**.

You can also run cohort queries from the command line with [`upstack query-cohort`](https://docs.upstackdata.com/cli/query-cohort).

## FAQ

> [accordion] What's the difference between LTV 90 and Cohort Net Revenue?
>
> LTV 90 is one number per group of customers, cut off at exactly 90 days from each customer's first order. Cohort Net Revenue is a running total per period since the first order, so you can see how value builds month by month.

> [accordion] Does LTV include shipping and tax?
>
> No. Both the LTV windows and the cohort revenue metrics start from line-item value. Shipping and tax aren't included.

> [accordion] Can I get a 30, 60 or 120-day LTV?
>
> Not as a built-in window. Upstack calculates 90, 180 and 365 days. A 120-day value always falls between LTV 90 and LTV 180 for the same cohort. To approximate it, use monthly cohorts on LTV Cohort Summary and read Cohort Net Revenue in the fourth month column. That counts calendar months, not days, so it runs a little low for customers acquired late in the month.

> [accordion] What's the difference between LTV and CLV?
>
> LTV is value per customer. CLV is the cohort total: LTV × the number of customers in the cohort. See [CLV 365](https://docs.upstackdata.com/reference/metrics/orders/ltv/clv-365.md) for a worked example.

> [accordion] Who counts as a new customer for LTV?
>
> A customer is counted from their earliest non-cancelled order Upstack has received for your store. Orders without a customer attached aren't included.


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