Stripe MRR calculator (CSV)

Turn a Stripe subscriptions CSV into MRR, ARR, and ARPU in your browser. The file is read on this device and is not uploaded.

The CSV is parsed in this browser. Its contents are not uploaded to a server, and this page does not call Stripe.

Dashboard path: Billing, then Subscriptions, then Export. You can also drop a file here.

Download sample CSV

The sample is invented. Every row is marked HYPOTHETICAL. It is not a Stripe export and not the live demo. Load sample resets the toggles to the defaults used in the example below.

Get this as a live dashboard

The Next.js Stripe analytics dashboard runs this monthly normalization on active subscriptions from the Stripe API. You host the template. The live demo uses sample data and does not read a CSV.

What this page calculates

Stripe does not return an MRR field. This page treats each data row as one price and normalizes it to one month with the same function as the SaaS metrics calculator. The definition is on the monthly recurring revenue glossary page. The API steps, including pagination and coupon duration, are in How to calculate MRR from the Stripe API.

A month is divided by interval_count. A year is divided by 12 × interval_count. A week is multiplied by 52/12, and a day by 365/12, then divided by interval_count. Quarter is every 3 months. Quantity multiplies the price. A blank quantity counts as 1. ARR is the rounded MRR multiplied by 12. These factors are a run-rate convention. Stripe does not return them.

MRR formula

Stripe's Subscription object has no MRR property. This page builds a monthly run-rate from the price on each included row. For a licensed price with a unit amount, in major units:

MRR = unit amount × quantity × interval factor × coupon factor

The interval factor is 1 / interval_count for a month, 1 / (12 × interval_count) for a year, (52 / 12) / interval_count for a week, and (365 / 12) / interval_countfor a day. Quantity defaults to 1 when the cell is blank. The page sums those amounts in minor units for one currency, then rounds once to that currency's decimal places. ARR is that rounded MRR multiplied by 12, rounded again. Plan rows are rounded on their own and can differ from the currency total by one minor unit.

A quarter is not a Stripe interval. Stripe's Price object uses day, week, month, or year, plus interval_count. A quarterly price is month with interval_count 3, so the amount is divided by 3. This page also accepts the word quarter in the interval cell and treats it as every 3 months. A price billed every two years is year with interval_count 2, so it is divided by 24. These factors are a convention for a monthly run-rate. They are not a Stripe field, and they are not the cash that landed this month.

Trials

Stripe marks a subscription trialingwhile it is in a trial. The default on this page excludes that status, which matches the usual choice to leave a trial out of MRR until the first paid period. Turn on Include trialing only when you want those rows. The option adds the row's normalized price. It does not read a trial end date, and it does not prorate the days left in the trial. A row that is already active is counted whether or not it had a trial before.

Discounts and coupons

A discount changes MRR only when you map a discount percent column, a discount amount column, or both. With no duration column, a mapped discount is treated as a forever coupon. Duration once does not change MRR: a one-time coupon applies to an invoice, not to the recurring run-rate. Duration repeating is applied on this page because the CSV has no discount end date, and the page says so in a warning. Stripe itself stops a repeating coupon when the discount end is in the past. This file cannot show that end.

Percent-off multiplies the normalized amount. 10 percent off a $100 monthly price is $90 of MRR. Amount-off is a reduction for the billing period, then it is normalized with the same interval factor. $20 off a $120 yearly price is ($120 − $20) / 12, which is $8.33 of MRR, not $10 minus $20. When both columns are mapped, percent is applied first and the amount-off is applied to what remains. An amount-off in another currency is not applied. If you do not map a discount column, coupons in the Stripe account are not subtracted, because they are not in the cells this page reads.

past_due, canceled, and scheduled cancellation

Stripe keeps a subscription in past_due when the latest invoice payment failed and retries are still possible. Some finance teams leave that MRR in the total, and some take it out. This page takes it out until you turn on Include past due. The option adds the normalized price of the row. It does not read the unpaid invoice balance. canceled (and the spelling cancelled) is excluded, with no switch. unpaid, incomplete, incomplete_expired, and paused are excluded too.

The page reads the status cell only. It does not read cancel_at_period_end or pause_collection. Stripe leaves status active until a scheduled cancellation takes effect, so an active row stays in the total even if it is set to cancel at period end. An active row also stays in the total if collection is paused and the status cell still says active.

More than one currency

Amounts are not converted. There is no exchange rate on this page. Each currency gets its own MRR, ARR, subscription count, and ARPU. A USD total and a EUR total are not one number, and adding them together is not MRR. Zero-decimal currencies such as JPY are not divided by 100. UGX still uses a factor of 100, because Stripe keeps UGX amounts two-decimal even though UGX appears on the zero-decimal list. BHD, JOD, KWD, OMR, and TND use a factor of 1000. The amount-unit control chooses major units (30.00 means 30.00) or minor units (3000 means 30.00 in a two-decimal currency).

The same normalization in SQL

This is an equivalent of the default rules for a table you loaded from the CSV. It is not a query the Data Lighthouse dashboard runs. The dashboard calls the Stripe API. The statement assumes amount is already major units for one billing period, quantity is null or a number, and discount_percentis a number such as 10 for 10 percent. It does not apply amount-off coupons, and it does not know a repeating coupon's end date. Group by currency. Do not sum across currencies.

select
  currency,
  round(sum(
    case
      when lower(status) <> 'active' then 0
      when lower(interval) = 'month' then amount * coalesce(quantity, 1) / greatest(interval_count, 1)
      when lower(interval) = 'year' then amount * coalesce(quantity, 1) / (12 * greatest(interval_count, 1))
      when lower(interval) = 'week' then amount * coalesce(quantity, 1) * 52.0 / 12 / greatest(interval_count, 1)
      when lower(interval) = 'day' then amount * coalesce(quantity, 1) * 365.0 / 12 / greatest(interval_count, 1)
      else 0
    end
    * case
        when lower(discount_duration) = 'once' or discount_percent is null then 1
        else 1 - least(discount_percent, 100) / 100.0
      end
  )::numeric, 2) as mrr
from subscription_rows
group by currency;

A quarterly row is interval = 'month' and interval_count = 3. Rounding each row in SQL and then summing can differ by a cent from this page, which rounds once per currency.

The same normalization in Excel or Google Sheets

Put one subscription on each row. This formula assumes major units, a header row, and these columns: A status, B amount, C interval (month, year, week, or day), D interval count, E quantity, F discount percent (blank or 10 for 10 percent), G discount duration (forever, once, repeating, or blank). Blank duration with a percent is treated as forever. Amount-off is not in this formula. Add a helper column if you need to subtract a period amount-off before the interval factor.

=IF(A2<>"active",0,
  B2*IF(E2="",1,E2)
  *IF(OR(G2="once",F2=""),1,1-MIN(F2,100)/100)
  *IFS(
    C2="month",1/D2,
    C2="year",1/(12*D2),
    C2="week",(52/12)/D2,
    C2="day",(365/12)/D2
  )
)

Sum that column inside one currency. A quarter is interval month and interval count 3. IFS is available in current Excel and in Google Sheets. Do not add a USD sum to a EUR sum. Rounding each cell to cents before the sum can disagree with this page by one minor unit.

Export the subscriptions CSV from Stripe

Stripe's public docs do not publish a fixed header row for Dashboard > Subscriptions > Export (checked 12 November 2026). The steps below are the list and the export. They are not a screenshot, and this page does not claim your file uses a particular header. Column mapping is there for that reason.

  1. Sign in to the Stripe Dashboard and open the account you want. Test mode and live mode are different data. Export the one you mean to measure.
  2. Open Billing, then Subscriptions. Use the subscriptions list. An invoices export or a payments export is a different file and will not match these columns.
  3. If the list is filtered, expect the download to follow that filter. This page cannot see which filter you used. A filtered file is a partial book.
  4. Use Export and download the CSV. Open it only to confirm it is a header row plus data. You do not need to rename columns before you continue.
  5. On this page, choose that file. The browser reads it with the File API. The contents are not uploaded, and the calculation does not call Stripe.
  6. If status, amount, interval, or currency is not detected, set those columns under Column mapping. Map a discount column only when the file actually contains a percent or an amount off. Leave Include trialing and Include past due off unless you intend to count those statuses.

Rows that share a subscription id are not merged. If the export repeats a subscription once per item, each row is counted. A blank amount, a missing interval, or a status this page does not recognize is skipped and listed under the result.

What it leaves out

  • Status active is included. Trialing and past_due are included only when you turn them on. Canceled, unpaid, incomplete, incomplete_expired, and paused are excluded.
  • Currencies are not converted. Each currency has its own total. Do not add those totals together.
  • A discount is applied only when you map a discount column. With no duration column, it is treated as a forever coupon. Duration once does not change MRR. The page has no coupon end date.
  • Rows are not merged when they share a subscription id. A subscriptions export that repeats a subscription will count each row.
  • Metered usage, tiered prices with no unit amount, taxes, and one-time invoices are not in this total. A blank amount is skipped.
  • The page does not read a cancellation date. An active row stays in the total.
  • Zero-decimal currencies such as JPY are not divided by 100, matching the shared normalizer. UGX still uses a factor of 100. BHD, JOD, KWD, OMR, and TND are divided by 1000 on this page. Stripe's zero-decimal list is the source for that split. Whole-number files can look like cents. Use the amount-unit control when the guess is wrong.
  • Plan rows are rounded on their own. They can differ from the currency total by one minor unit. The currency total is one rounding of the summed amount.

Stripe's API reference documents status, unit_amount, currency, recurring.interval, recurring.interval_count, and quantity. Stripe's public docs do not publish a fixed header row for Dashboard > Subscriptions > Export (checked 12 November 2026). Column mapping is there for that reason. This page does not claim your export uses a particular header.

Hypothetical sample

Every figure in this example is invented. It is not a Stripe customer and not the live demo. Load sample CSV, or download the same file, uses these rows. With the default options (active only, amount units on auto) the file produces the totals below. The USD amounts are major units because some cells contain a decimal point. JPY 1500 stays 1500 because JPY is a zero-decimal currency in the shared normalizer.

  • USD MRR $342.08, ARR $4,104.96, 8 subscriptions counted, ARPU $42.76.
  • EUR MRR €20.00, ARR €240.00, 1 subscription counted.
  • JPY MRR ¥1,500, ARR ¥18,000, 1 subscription counted.
  • 4 rows skipped: trialing, past_due, canceled, and a blank interval.
Sample USD rows by plan
PlanIntervalSubscriptionsMRR
Teammonth1$100.00
Promonth1$90.00
Weeklyweek1$43.33
Dailyday1$30.42
Quarterlyevery 3 months1$30.00
Startermonth1$30.00
Starteryear1$10.00
Proyear1$8.33

The active USD rows are a $30 month, a $120 year, a $50 month with quantity 2, $90 every 3 months, $10 a week, $1 a day, a $100 month with 10 percent off, and a $120 year with $20 off. Turning on past_due adds the $40 row. Turning on trialing adds the $30 trial. Neither is in the default total.

A CSV is one export. It does not stay current, and it does not store the book you will need for churn. Polling the API, receiving webhooks, and reconciling on a schedule are compared in how to sync Stripe data for a SaaS metrics dashboard.

Questions

Does this page upload my Stripe CSV?

No. The file is read with the browser File API and calculated in JavaScript on your device. The contents are not uploaded to a Data Lighthouse server, and the calculation does not call Stripe. Load sample CSV uses a file built into the page, not your Stripe account.

Which Stripe export should I use, and what are the columns?

In the Stripe Dashboard, open Billing, then Subscriptions, then Export, and download the CSV. Stripe's API reference documents subscription status, price amount, currency, recurring interval, interval_count, and quantity. Stripe's public docs do not publish a fixed header row for that Dashboard CSV (checked 12 November 2026). This page matches common labels and the API field names. If a required column is not detected, choose it in Column mapping.

How are yearly, weekly, and daily prices turned into MRR?

The page calls the same normalizer as the SaaS metrics calculator. A month is divided by interval count. A year is divided by 12 times interval count. A week is multiplied by 52/12 and then divided by interval count. A day is multiplied by 365/12 and then divided by interval count. Quarter is treated as every 3 months. Quantity multiplies the price. ARR is the rounded MRR multiplied by 12. These factors are a run-rate convention. Stripe does not return them.

Which subscription statuses are included?

Status active is included. Trialing and past_due are excluded until you turn on the matching option. Canceled, unpaid, incomplete, incomplete_expired, and paused are excluded. The page does not read a cancellation date. A row whose status is active is included even if the subscription is set to cancel at period end.

Why is there a separate total for each currency?

Amounts are not converted. There is no exchange rate on this page. A USD row and a EUR row stay in their own MRR, ARR, subscription count, and ARPU. Do not add those totals together.

How are discounts, quantity, and minor units handled?

Quantity defaults to 1 when the cell is blank. A discount is applied only when you map a discount percent or discount amount column. A mapped discount is a forever coupon unless a duration column says once or repeating. Duration once does not change MRR. Repeating is applied when the file has no end date. If you do not map a discount column, coupons are not subtracted. Major units mean 30.00 is 30.00. Minor units mean 3000 is 30.00 in a two-decimal currency. Zero-decimal currencies such as JPY use the amount as-is. UGX still uses a factor of 100, matching the shared normalizer, because Stripe keeps UGX amounts two-decimal. BHD, JOD, KWD, OMR, and TND use a factor of 1000. The control next to the file overrides the automatic choice.

What is ARPU on this page?

ARPU is that currency's MRR divided by the included subscriptions whose normalized amount is still above zero. A free row or a row discounted to zero stays in the subscription count and stays out of the ARPU denominator. It is not cash collected, and it is not revenue per visitor.

What is the sample CSV?

Load sample CSV and the download link use the same invented file. Every row is marked HYPOTHETICAL. It is not an export from a Stripe account and it is not the public demo. The worked example under the calculator is that file run with the default options: active only, and amount units chosen automatically.

Use it inside a SaaS metrics dashboard

This page checks one CSV in the browser. The SaaS metrics dashboard template is the self-hosted Next.js overview that reads Stripe on your own deployment: revenue, MRR, ARR, and revenue per visitor. The license is $59 once. You host it and set STRIPE_SECRET_KEY there. The overview lists status active only, so it has no switch for trialing or past_due. The live demo uses sample data and does not read a CSV or call Stripe. The Next.js Stripe analytics dashboard page is the integration write-up for that key and that route.

Sources