> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.paymentkit.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.paymentkit.com/_mcp/server.

# Metric definitions

# Metric definitions

Every figure on the Metrics pages is computed from your own invoices, payments and subscriptions. This page defines each one so you can reconcile a chart with your records. [MRR](/guides/metrics/mrr) and [LTV](/guides/metrics/ltv) have their own pages; they are summarised here with links.

## Conventions that apply everywhere

* **Currency.** Amounts are converted to USD using the exchange rate in effect on the date of the invoice or payment, then summed. A chart never adds two currencies without converting. Exceptions are called out below.
* **Time.** Dates are bucketed in UTC. Weeks start on Sunday.
* **Deleted records** are never counted.
* **A month is 30.5 days** wherever a billing interval is normalised, so a yearly plan contributes one twelfth of its price per month and a weekly plan 30.5 ÷ 7 weeks' worth.
* **Totals are snapshots, rates divide two snapshots.** A "30 days ago" comparison always means the same figure as it stood 30 days before the end of your selected range, not the start of the range.
* **Undefined rates show as "—"**, never as 0% or 100%. A rate is undefined when its denominator is zero.
* **Cutoff.** MRR, churn, retention and cohort reports look back 400 days. Older history does not appear in them.

## Revenue

### Gross revenue

The face value of the line items on invoices that were **paid**, including invoices marked paid out of band, dated by the line's period start. Taxes and processing fees are not part of gross revenue: the figure is the pre-tax line amount.

### Net revenue

Gross revenue minus three deductions, each taken from the same invoices:

| Deduction | What it is                                                      |
| --------- | --------------------------------------------------------------- |
| Discounts | The coupon or discount applied to each line                     |
| Refunds   | Succeeded refunds, attributed back to the invoice they refunded |
| Credits   | Customer balance applied to the invoice                         |

Refunds and credits are recorded per invoice; they are spread across the invoice's lines in proportion to each line's share of the invoice total.

```
Net revenue = Gross revenue − Discounts − Refunds − Credits
Net revenue rate = Net revenue ÷ Gross revenue
```

### Recurring and one-time

A line is **one-time** when it has no catalog price or its price is a one-time price. Everything else is **recurring**. The split is decided by the price, so an invoice created at checkout before its subscription exists is still classified correctly.

Lines whose billing period has zero length are excluded unless they are stand-alone one-time items, which are created with an empty period on purpose.

### Growth rate on the revenue header

The header card is recurring revenue only and compares the latest value of each subscription item against its value 30 days earlier. It is a run-rate figure, not a sum of invoices for the selected range.

### Revenue breakdown and revenue by payment method

These two charts show subscription revenue **normalised to a monthly run-rate**, the same way MRR is. Their gross figure is therefore not the same number as the gross revenue chart, which shows invoiced amounts at face value.

### Paying customers on the dashboard greeting

The number of distinct customers behind the paid invoice lines in the selected range. Unlike the chart, the greeting only counts a recurring line while its subscription is still active or paused.

## MRR, ARR and CMRR

**MRR** is the monthly run-rate of your recurring subscriptions. The full rules are on the [MRR page](/guides/metrics/mrr). In short: recurring lines on paid or open invoices, net of discounts, normalised to a 30.5-day month, with movements classified as new, expansion, contraction, churn and reactivation. Points the MRR page does not cover:

* The current MRR figure is the sum of each subscription item's latest positive value, not the invoices of the selected period.
* Subscriptions that never activated (incomplete) are excluded. Past-due subscriptions stay in MRR until they cancel.
* A metered item's period-over-period change is shown as **usage variance** rather than expansion or contraction, and the open period is marked as estimated because usage bills in arrears.
* A paused subscription is shown under contraction. A cancellation whose last invoice went unpaid is **involuntary churn**; any other cancellation is voluntary.
* MRR is refreshed every ten minutes, so a change you just made can take up to about fifteen minutes to appear.

**ARR** is current MRR × 12.

**MRR growth rate** compares current MRR against MRR exactly 30 days before the end of your range.

```
MRR growth rate = (MRR now − MRR 30 days ago) ÷ MRR 30 days ago
```

**CMRR**, committed MRR, is what MRR will be once every change already scheduled has taken effect. It is always as of now; it has no date range.

```
CMRR = Current MRR
     + Scheduled subscriptions that start in the future
     + Paused subscriptions that resume on a set date (at their last value)
     + Scheduled plan changes that add revenue
     − Scheduled plan changes that remove revenue
     − Subscriptions set to cancel on a future date
```

Scheduled plan changes are valued at the catalog price times quantity, before any discount.

## Churn and retention

Customer churn and retention are cohort rates: each period's rate is about the customers who were already established at the start of that period. They are reported monthly; a daily or weekly breakdown shows the same monthly figures.

### Who is "established"

A customer is established in a month when at least one of their subscriptions has:

* a paid invoice carrying a recurring line with a positive amount after discounts (one-time fees and fully discounted lines do not count, so a trial never counts as paying), and
* a paid **renewal**, not only the first invoice. A customer whose first renewal fails is not an established customer who churned; that is a first-renewal outcome and is reported separately. Metered subscriptions count once their first cycle is paid and the second has started.

A paid charge stops counting once it is fully refunded or charged back.

### Customer churn rate on the chart

```
Churn rate = Customers who churned in the period ÷ Established customers at the start of the period
```

A customer churns when every subscription they had fails or cancels at its renewal boundary. Churn is dated at that boundary, not when the cancellation was requested. A customer whose only renewal is still in an active retry schedule is left out of both sides of the rate until it settles. A customer returning after churn is not counted as retained in the month they return; they re-enter the base the following period.

**Involuntary churn** is a churn whose renewal invoice ended uncollectible or void. Everything else is voluntary.

### Customer retention rate

```
Retention rate = 100% − Churn rate
```

Both charts share one definition, so the two always add up.

### Churn on the header card

The header card uses a simpler, rolling definition so it can update daily: customers whose last subscription cancelled in the trailing 30 days, divided by the customers who were subscribed 30 days ago. A pause is not a cancellation. Because it is rolling and dated by the cancellation rather than the renewal, it will not match the monthly chart exactly.

### Net MRR churn and net revenue retention

```
Net MRR churn = Churned MRR + Contraction MRR − Expansion MRR
Net MRR churn rate = Net MRR churn ÷ MRR of established customers at the start of the period
Net revenue retention = 100% − Net MRR churn rate
```

Reactivations are not part of this rate. Refunds and chargebacks never create expansion or contraction; they only change who counts as paying.

### Cohort retention

Customers are grouped by the month of their **first paying charge**. A cohort's value at month *k* is its MRR at that month, or the number of its customers still paying, read at the last month of the bucket. Each cell is shown as a share of the cohort's starting value. Offsets run up to 48 months, 16 quarters or 4 years, and a cell is only shown once its full period has elapsed.

> **Note**
>
> At monthly grain a customer whose first charge falls mid-month can make a cohort's first cell read slightly under 100%.

## Trials

A **trial** is any subscription that has a trial start date, whatever happened later.

| Outcome   | Meaning                                                                                                                                                     |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Active    | Still trialing                                                                                                                                              |
| Converted | Moved from trialing to active. This is taken from the subscription's state history, so a trial that converted and later cancelled still counts as converted |
| Expired   | Cancelled, or past due because the first real payment failed                                                                                                |

```
Trial conversion rate = Converted ÷ (Converted + Expired)
```

Active trials are counted in the total but never in the rate. A trial belongs to the period in which it **started**, so a month's conversion rate describes the trials that began that month, whenever they resolved.

The header card is all-time. Its comparison baseline is the same rate over trials that started at least 30 days ago. The comparison chart compares each bucket with the equivalent bucket one week, one month or three months earlier depending on the breakdown.

The **trial velocity** heatmap shows, for each cohort, the share converted within 1, 3, 7, 14 and 30 days. A cell is blank until the cohort is old enough to have reached that milestone, and the weighted average row only includes cohorts old enough for each column.

## Payments

### Payment success rate

Counted per **payment**, not per attempt. A payment that succeeded after a retry counts once, as a success.

```
Success rate = Succeeded payments ÷ Payments that reached a final state
```

Final states are succeeded, soft decline, hard decline and failed. Payments still in progress, card-setup payments, and payments cancelled before any attempt was made are excluded. A payment is dated by its last update. The soft or hard classification comes from the most recent failed attempt.

The **volume** success rate is the same ratio weighted by amount. It sums amounts without currency conversion, so on an account with several currencies prefer the count-based rate.

The header comparison is against the rate 30 days earlier. The processor shown for a payment is the one that finally succeeded, or the last one tried.

### Authorization rate

Counted per **attempt**, grouped by processor and by credential type: network token or card number.

```
Authorization rate = Succeeded attempts ÷ All attempts
```

Every attempt counts under its own credential type, including a card-number retry after a token decline. Because retries count, the authorization rate is normally lower than the payment success rate. Merchant-initiated attempts are included only when they are plain rebills.

## Dunning

Dunning reports follow **renewal invoices that failed**. An invoice enters the cohort at its first failed attempt and is assigned to that date's period. Sign-up and plan-change invoices are reported separately and are not in the rate.

| Outcome     | Meaning                                 |
| ----------- | --------------------------------------- |
| Recovered   | The invoice was eventually paid         |
| Lost        | The invoice ended uncollectible or void |
| In progress | Retries are still scheduled             |

```
Recovery rate = Recovered ÷ (Recovered + Lost)
```

In-progress invoices are left out so an open retry schedule does not deflate the rate. A recent period's numbers keep moving until its invoices settle. Recovered, lost and failed revenue use the invoice total, which includes tax, in the invoice's own currency. Fallback attempts that never reached a payment network, such as a token-to-card fallback, are not counted as failures or as retries.

Time to recovery is measured from the first failed attempt to the successful payment. The header card compares the current calendar month with the previous one.

## LTV

The LTV **chart** is the cohort model described on the [LTV page](/guides/metrics/ltv): realised revenue so far plus a prediction from how older cohorts behaved. Points the LTV page does not cover:

* Cohorts are grouped by the customer's **sign-up date**. Only customers with at least one subscription are included, and only subscription invoices count.
* Revenue is the paid invoice amount, tax included, converted to USD on the invoice date. Credit notes are excluded.
* A month of customer life with fewer than 10 paying customers is left out of the benchmark curve, which can shorten the prediction horizon.
* Cohorts with fewer than 10 customers are merged into the next coarser granularity, so a daily view can be shown weekly or monthly.

The LTV **header card** uses a different, simpler formula:

```
LTV = (MRR ÷ Active subscribers) ÷ Churn rate
```

where the churn rate is the trailing 30-day customer churn from the churn header card. It shows "—" when churn is zero. The card and the chart are not expected to match.

## Customers

Several cards count customers in different ways. Each is right for its own card, and they are not meant to be equal.

| Figure                                | Who is counted                                                                                                                                       |
| ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| Total customers                       | Every customer record that existed at the end of the period. Cumulative, never resets, no subscription required                                      |
| Recurring customers                   | Customers with at least one active, trialing or paused subscription on a recurring price at period end. Includes \$0 trials and paused subscriptions |
| Non-recurring customers               | Customers with a completed one-time payment and no active subscription                                                                               |
| Active subscribers (overview card)    | Customers whose subscriptions contribute MRR greater than zero. This matches the MRR card above it by construction                                   |
| Paying customers (dashboard greeting) | Distinct customers behind the paid invoice lines in the selected range                                                                               |

The subscribers card compares the end-of-range figure against 30 days earlier, matching the MRR card. The subscription attachment ratio is subscription items divided by recurring customers.