Net revenue calculator
Enter your gross sales for a period and what came off them: discounts, refunds, chargebacks and payment or platform fees. See your net revenue, the share of gross you keep and each deduction as its own line. Works for stores and SaaS. Everything runs in your browser.
This is one blended number. Virling splits it by channel from your real payments: it links every visit to the payment it led to and credits each payment, after refunds, to the channel that brought it. The Channels card shows each channel's revenue net of refunds and lost disputes next to the share of its payments that were refunded, so you can see which channels bring refund-heavy buyers. See how attribution works in the docs. 14 days free.
Related: Stripe fee calculator, refund rate calculator, chargeback rate calculator, discount break-even calculator.
Gross vs net revenue
Gross revenue is the full value of what you sold at list price. Net revenue is what you keep after everything that comes off it before the money reaches your bank:
net revenue = gross sales - discounts - refunds - chargebacks - fees
Payment and platform fees are usually a percent of what the buyer paid plus a fixed amount per order. Many providers keep their fee when you refund, so fees here are charged on gross sales after discounts, before refunds:
fees = (gross sales - discounts) × fee % + orders × fixed fee
The share of gross you keep is the headline:
share kept = net revenue / gross sales
Net revenue is not profit. Product cost, shipping, ad spend, salaries and tax all still come out of it.
A worked example
The defaults above are made-up sample numbers. A store sells $50,000 at list price in a month across 800 orders. It gives $2,500 in discount codes, refunds $1,500, and loses $300 to chargebacks and dispute fees. Its payment provider charges 2.9% + $0.30.
Buyers paid $50,000 - $2,500 = $47,500, so fees are $47,500 × 0.029 = $1,377.50 plus 800 × $0.30 = $240, or $1,617.50 in all. Net revenue is $50,000 - $2,500 - $1,500 - $300 - $1,617.50 = $44,082.50.
The store keeps 88.17% of gross. Discounts are the biggest deduction at 5% of gross, then fees at 3.24%, refunds at 3% and chargebacks at 0.6%. Together $5,917.50, or 11.83% of gross, never reaches the bank.
Four businesses side by side
Example inputs, worked out with the formulas above. They are made up, fee rates included, and are not benchmarks or any provider's quote.
| Example | Gross sales | Discounts | Refunds | Chargebacks | Orders | Fee rate | Fees | Net revenue | Share kept |
|---|---|---|---|---|---|---|---|---|---|
| Store | $50,000 | $2,500 | $1,500 | $300 | 800 | 2.9% + $0.30 | $1,617.50 | $44,082.50 | 88.17% |
| SaaS with coupons | $20,000 | $2,000 | $400 | $100 | 400 | 2.9% + $0.30 | $642.00 | $16,858.00 | 84.29% |
| SaaS, higher fee | $30,000 | $0 | $900 | $0 | 600 | 5% + $0.50 | $1,800.00 | $27,300.00 | 91% |
| Store, small orders | $12,000 | $1,500 | $500 | $50 | 1,000 | 2.9% + $0.30 | $604.50 | $9,345.50 | 77.88% |
The first row is the worked example. The third pays the highest fee rate and still keeps the most, mainly because it gives no discounts. The last one keeps the least: discounts take 12.5% of gross, and at $10.50 an order the fixed $0.30 costs $300, about as much as the 2.9%.
Where to find the inputs in Stripe, Paddle and Shopify
- Stripe. Balance change from activity breaks charges, refunds, disputes and fees down for a period, and the Fees report lists the fees. A charge is what the buyer paid, so discounts are already off it. For payments with an invoice, read them from the invoice, where
total_discount_amountsis per discount, and add them back for gross at list price. Stripe says its processing fees are not returned when you refund (all read on 2026-11-25). - Paddle. The totals of each transaction have a
subtotalbefore discount and tax, adiscountand afee, the amount Paddle took. Refunds and chargebacks are in an adjustments report. The net revenue metric is already after tax and fees but before refunds and chargebacks, so do not take fees off it twice (all read on 2026-11-25). - Shopify. The Total sales breakdown has gross sales, discounts and sales reversals, without tax and shipping. Sales reports say gross sales include pending, canceled and unpaid orders. With Shopify Payments, the activity report groups charges, refunds and disputes with their fees. It leaves out Shopify billing fees and other payment providers, so add theirs (all read on 2026-11-25).
If you have the fees as one amount, enter it in place of the rate: divide it by gross sales after discounts, type that percent and set the fixed fee to 0. Leave sales tax out of every input, because it was never yours to keep.
Why net revenue by channel matters
A blended net revenue hides where the deductions come from. A deal site or a discount code shared far beyond its audience can bring orders that arrive discounted and come back as refunds, while buyers from search or a referral who knew what they wanted keep what they bought. A channel can lead on gross sales and fall behind once its refunds come off. Run the calculator per channel with each channel's numbers, or let Virling do it from your payments: it credits each payment, after refunds, to the channel, referrer, campaign and landing page of the visit that brought it. Add your fee rate to the Profit by channel card and it takes fees off each channel too; profit by marketing channel has the formula. To compare channels on refunds alone, see refund rate by traffic source.
What Virling shows per channel
Virling starts from what the buyer paid, so discounts are already off and any tax or shipping charged is included, and takes refunds off each payment. The Channels card shows that revenue for each channel. Every renewal is credited to the channel of the customer's first payment, so a subscription's later payments add to the channel that won it, and the attribution model and lookback window decide which visit gets the first one. A lost dispute on Stripe and a chargeback on Paddle count as refunds. Shopify chargebacks are not read, so take those off yourself.
Payment fees come off only where you ask for it: add a line such as Fees 2.9% + 0.30 to the monthly spend in Site settings, and the Profit by channel card takes the percent of each channel's revenue and the fixed amount for each of its payments. That percent is on revenue after refunds, while this calculator charges it before them, so the two differ a little when you refund.
Net revenue calculator FAQ
What is the difference between gross and net revenue?
Gross revenue is the full value of what you sold, at list price, before anything comes off. Net revenue is what is left after discounts, refunds, chargebacks and payment or platform fees. Net revenue is the money you actually keep to pay for products, staff and marketing.
How do you calculate net revenue?
Start with gross sales and subtract discounts, refunds, chargebacks and fees: net revenue = gross sales - discounts - refunds - chargebacks - fees. Fees are usually a percent of the amount charged plus a fixed amount per order.
Are payment fees refunded when I refund an order?
Often not. Many payment providers keep their fee on a refunded payment, so this calculator charges fees on everything you charged, after discounts and before refunds. Check your provider's terms and set the fee inputs to match.
Is net revenue the same as profit?
No. Net revenue comes before product cost, shipping, ad spend, salaries and tax. For what is left after product cost, use a gross margin or contribution margin calculation on top of net revenue.
Why does net revenue differ by channel?
Buyers from different channels refund and dispute at different rates, and some channels lean on discount codes. Two channels with the same gross sales can keep very different amounts once those come off.
Does Virling show net revenue by channel?
Yes, after refunds. The Channels card shows each channel's revenue net of refunds, and renewals count for the channel of the customer's first payment. To take payment fees off too, add a fee line in Site settings and read the Profit by channel card. Shopify chargebacks are not read.
See which channels bring the revenue you keep
These tools estimate. Virling measures: it links every visit to the payment it led to, so you see the customers and revenue after refunds that each channel brings from your real numbers. 14 days free.