← Docs

How remainr calculates

Updated October 2026

Every figure remainr shows comes from the lines your providers report. This page sets out the formula, the dates and exchange rates it uses, and what each kind of provider line counts as.

The formula

Gross minus Tax minus refunds and chargebacks is Revenue; Revenue minus Cost is Net
GrossWhat customers paid, tax included.
TaxSales tax or VAT, as the provider reports it.
Refunds and chargebacksMoney that went back to customers.
RevenueWhat you earned.
CostProcessor fees, plus hosting and other bills, Synced or Manual.
NetWhat reaches the bank and is yours to keep.

Tax counts in neither Revenue nor Cost: it was never yours. Payouts to your bank are not counted at all, since the money was counted when you earned it.

Portfolio Cost and Portfolio Net

Each Source and Manual entry counts at one level: a Project, or your Portfolio. Portfolio Cost is Cost that belongs to no single Project, such as a Claude Code plan or an accountant. It never touches a Project's Net. Portfolio Net adds up every Project's Net, then takes Portfolio Cost off. Revenue always counts for one Project, so it is never Portfolio level.

On public pages, Manual Costs with the same Preset or name show as one line with a count, such as Claude Pro ×2, and the amounts added up. Names match whatever the case or spacing. The count is the schedules and one-off entries with an Entry in the Period. On Anonymous pages, Manual Costs with a Brand show as one line per Brand name, such as Claude ×2; the rest stay on a single "Manual cost" line, with no note shown.

Cash basis

Each Entry counts on the day the money moved: the payment date, not the invoice or payout date. Days follow the owner's timezone, so a payment at 23:30 their time counts that day. There is no accrual, MRR or deferred revenue.

Usage billed per day (Vercel, OpenAI) counts on the day it was used, one Entry per day and service. OpenAI reports Cost per OpenAI Project and model in US dollars; only the OpenAI Projects you pick count.

Display currency

Every Entry is kept in the currency it moved in. Totals convert each Entry into your Display currency at the European Central Bank's daily rate for that Entry's date. Changing Display currency recalculates everything with no new sync.

Provider lines

What every kind of line a provider reports counts as, and why. These tables are the same rules the sync runs, not a copy of them. Dodo Payments · Stripe · Vercel · Cloudflare · OpenAI · Supabase · RevenueCat · Manual entries

Dodo PaymentsRevenue

Every kind of line Dodo Payments reports and what it counts as
LineCounts asWhy
paymentGrossA customer's payment, tax included. This is Gross.
taxTaxSales tax or VAT on a payment. Dodo is the merchant of record and pays it to the tax office, so it is never yours.
tax_reversalTaxTax handed back with a refund. It comes off Tax, since the customer got it back.
refundRefundMoney returned to a customer.
refund_reversalRefundA refund that was undone, so the money came back to you.
disputeChargebackA customer disputed a payment and the money was taken back.
dispute_reversalChargebackA dispute you won, so the money came back.
payment_feesFeeDodo's fee for processing a payment.
refund_feesFeeDodo's fee for processing a refund.
refund_fees_reversalFeeA refund fee given back.
dispute_feesFeeDodo's fee for handling a dispute.
dispute_fees_reversalFeeA dispute fee given back.
payout_feesFeeDodo's fee for sending money to your bank.
payout_fees_reversalFeeA payout fee given back.
dunning_feesFeeDodo's fee for chasing a failed subscription payment.
payment_retry_feeFeeDodo's fee for retrying a failed payment.
abandoned_cart_recovery_feeFeeDodo's fee for a sale won back from an abandoned checkout.
byop_feeFeeDodo's fee for a payment through your own processor.
ethoca_feesFeeA fee for a dispute alert that stopped a chargeback.
ethoca_fees_reversalFeeA dispute alert fee given back.
visa_rdr_feeFeeA fee for a Visa dispute resolved by an automatic refund.
deflection_feesFeeA fee for heading off a dispute.
deflection_fees_reversalFeeA dispute deflection fee given back.
moderation_feesFeeDodo's fee for reviewing your business.
dodo_fixed_feeFeeDodo's fixed fee per payment, when listed on its own.
interchange_feeFeeThe card network's interchange fee, when listed on its own. It moved your balance, so it is a real cost.
scheme_feeFeeThe card scheme's fee, when listed on its own. It moved your balance, so it is a real cost.
dodo_creditsFeeCredit Dodo gave you. It lowers your fees.
adjustmentFeeA correction by Dodo. It moved your balance, so it counts as a fee, or as a credit when it paid you.
payoutIgnoredMoney sent from Dodo to your bank. It was counted when you earned it.
payout_reversalIgnoredA payout that bounced back to Dodo. It was counted when you earned it.
reserve_holdIgnoredMoney Dodo holds back for a while. It is still yours, only held.
reserve_releaseIgnoredHeld money released back to your balance. It was never lost.
currency_conversionIgnoredMoney moved between your own Dodo wallets in different currencies.
opening_balanceIgnoredYour balance when Dodo's ledger began. It was earned before that history.
Currency conversion on a paymentFeeWhen a customer pays in a currency your wallet does not hold, Gross is what they paid and the difference to what reached your wallet is a conversion fee.
Any other lineFeeA line Dodo added later. It moved your balance, so it counts as a fee, or as a credit when it paid you.

StripeRevenue

Every kind of line Stripe reports and what it counts as
LineCounts asWhy
chargeGrossA customer's payment, tax included. This is Gross.
charge_failureGrossA payment that failed after it was counted, such as a bank debit that bounced. It comes off Gross.
refundRefundMoney returned to a customer.
refund_failureRefundA refund that failed, so the money came back to you.
disputeChargebackA customer disputed a payment and the money was taken back.
dispute_reversalChargebackA dispute you won, so the money came back.
feeFeeA Stripe fee billed on its own, such as Radar, Billing or Stripe Tax.
payoutIgnoredMoney sent from Stripe to your bank. It was counted when you earned it.
payout_reversalIgnoredA payout that bounced back to Stripe. It was counted when you earned it.
transferIgnoredMoney moved to another Stripe account you control.
transfer_reversalIgnoredA transfer that came back.
topupIgnoredMoney you added to your own Stripe balance.
topup_reversalIgnoredA top-up that was reversed.
risk_reserved_fundsIgnoredMoney Stripe holds back for a while. It is still yours, only held.
connect_reserved_fundsIgnoredMoney held for a connected account. It is still yours, only held.
The fee on a charge, refund or disputeFeeStripe's processing fee, taken from that line before the money reaches your balance.
Tax on a chargeTaxSales tax or VAT on the charge's invoice or Checkout Session. You owe it to the tax office, so it is not yours.
Tax given back on a refundTaxThe tax on the refund's credit note, or all of the charge's tax on a full refund. It comes off Tax, since the customer got it back.
Tax on a partial refund with no credit noteTaxStripe does not say how much tax went back, so remainr takes the refund's share of the charge's tax. This is the one estimate remainr makes.
Any other categoryIgnoredLines remainr does not count yet, such as Connect platform earnings or Issuing.

VercelCost

Every kind of line Vercel reports and what it counts as
LineCounts asWhy
UsageCostWhat your Vercel projects used: bandwidth, functions, builds and the rest, per service and day.
PurchaseCostA plan, seat or add-on Vercel billed you for.
CreditCostA credit Vercel gave you. It lowers your Cost.
AdjustmentCostA correction Vercel made to your bill, up or down.
TaxIgnoredTax on your Vercel bill. remainr counts the bill before tax, since many businesses reclaim it.

CloudflareCost

Every kind of line Cloudflare reports and what it counts as
LineCounts asWhy
ChargeCostA paid item on your Cloudflare bill, kept per Service (Workers Paid, R2, a domain renewal).
Refund or creditCostMoney Cloudflare gave back. It lowers your Cost.
Failed, declined, voided, cancelled, pending or unpaidIgnoredNo money left your account for it.

OpenAICost

Every kind of line OpenAI reports and what it counts as
LineCounts asWhy
Line item (model)CostWhat one OpenAI Project spent on one model or tool that day, such as gpt-4o input tokens or gpt-image-2 images. OpenAI reports it in US dollars.
Spend outside your picked OpenAI ProjectsIgnoredA read-only admin key sees the whole organization. Only the OpenAI Projects you pick count for this Project.

SupabaseCost

Every kind of line Supabase reports and what it counts as
LineCounts asWhy
Pro plan / Team planCostThe organization's plan fee at list price ($25 Pro, $599 Team), for the billing cycle that starts that day. It belongs to no Supabase project.
ComputeCostEach project's compute size at its list hourly price ($0.01344 Micro, $0.0206 Small, $0.0822 Medium and up), for every hour of the cycle just ended since the project existed. Paused projects cost nothing.
Compute creditsCostThe $10 a month every paid plan gets toward compute. It lowers your Cost, never by more than the compute itself.
Disk sizeCostProvisioned disk beyond the 8 GB each project includes, at $0.000171 per GB-hour ($0.125 per GB a month). High Performance disks count every GB at $0.000267 per GB-hour.
Egress, Storage size, MAU and other usageIgnoredThe Management API does not report them. Most projects stay inside the plan's quota (250 GB egress, 100 GB storage, 100,000 MAU); add any overage as a Manual entry.
Free and Enterprise plansIgnoredA Free organization costs nothing. Enterprise prices are custom, so remainr cannot estimate them.

RevenueCatRevenue

Every kind of line RevenueCat reports and what it counts as
LineCounts asWhy
grossGrossWhat the customer paid the App Store or Google Play for a purchase or renewal, tax included, in the currency they paid in. RevenueCat estimates it from the store price.
commissionFeeThe store's cut (usually 15% or 30%), as RevenueCat estimates it.
taxTaxThe sales tax or VAT the store collects and keeps, as RevenueCat estimates it.
Refunded purchaseRefundA one-time purchase the store refunded. Gross goes back, with its tax and commission. RevenueCat gives no refund date, so it is dated on the purchase.
Sandbox purchasesIgnoredTest purchases move no money.

Manual entriesCost

Every kind of line Manual entries reports and what it counts as
LineCounts asWhy
Manual RevenueGrossMoney you received outside a connected provider, one-off or recurring. Public pages never count it as Revenue.
Manual CostCostA bill from a provider with no billing API, such as a database host or a domain, one-off or recurring. Public pages label it self-reported.

The one estimate

remainr never estimates a figure a provider reports. The single exception: when part of a Stripe charge is refunded with no credit note, Stripe does not say how much tax went back. remainr takes the refund's share of the charge's tax: refund ÷ charge × tax, rounded to the cent.

Estimated Entries

Some Sources work out an amount themselves instead of reporting money that moved: usage priced at list rates, or app store proceeds before the store pays out. Their Entries are Estimated Entries. Each one is labelled Estimated, and any total that contains one says “includes estimates”. Estimated Revenue never counts toward the history a Listed Project needs and is left out of Owner match, so a Project whose only Revenue is estimated cannot be Listed. Beside a Source that moves money, such as Stripe, it neither helps nor blocks Listing. Public pages show estimated Revenue, labelled.

Supabase is estimated this way. Its API reports no invoice, so remainr reads the organization's plan and each project's compute size and disk today, prices them at the list rates in the Supabase table above, and takes off the $10 Compute Credits, never more than the compute. The Cost lands on the day the billing cycle resets, one Entry per service and Supabase project: the plan fee for the cycle starting, compute and disk for the cycle just ended. The cycle day is taken from the organization's first project, since the API does not show when the organization started. A size changed mid-cycle is priced as if it held all cycle. Egress, storage and MAU overages are not in the API, so they are not counted: past the included quota, the estimate runs below the invoice. On Supabase's own example invoice the estimate lands within 2%.

RevenueCat reports each App Store and Google Play purchase or renewal with its own estimate of the price, the store's commission and the tax, in the currency the customer paid (one-time purchases in US dollars). remainr turns those into a charge, a fee and a tax Entry, all Estimated, dated on the purchase. A refunded one-time purchase takes all three back on the same date, since RevenueCat gives no refund date. Subscription refunds are not in the API, so they are missing rather than guessed, and Net runs high by whatever the stores refunded. One-time purchases have no local price in the API, so they stay in US dollars. Revenue is split by product; when a RevenueCat project has several apps, each product is shown with its app, so mapping an app's products splits Revenue by app. Sandbox purchases are skipped.

What it matches

  • Dodo Payments. Net matches the money that moved your Dodo wallets, to the cent, in each wallet's currency.
  • Stripe. Net matches what Stripe added to your balance, payouts and transfers left out, less the Tax you collected, to the cent.

Each is checked by a test that runs on every change to remainr.

Where Gross differs from the provider's

  • Dodo Payments. Dodo's dashboard adds up payments in US dollars at its own rates. remainr keeps each payment in the currency the customer paid and converts it at the ECB rate for its day, so in your display currency the totals can differ slightly.
  • Stripe. Stripe's dashboard converts every charge into your account currency at the rate of the day it settled. remainr keeps each charge in the currency it reached your balance in and converts it at the ECB rate for its day, so in your display currency the totals can differ slightly.

More

How Net works covers Synced, self-reported and what Public pages show. Integrations lists what each provider key reads.