TapCub is live — analytics, insights and live chat, free on one platform
Growth & Marketing

Gross Revenue vs Net Revenue: Formulas and Why Analytics Shows a Third Number

Gross revenue is total sales before deductions; net revenue subtracts discounts, refunds and allowances. The formulas, a worked month, and a line-by-line reconciliation of analytics purchase revenue with the books.

Oliver Reed Published Nov 28, 2026 14 min read Growth & Marketing
Sample data: $120,000 of gross sales less $9,000 discounts, $10,500 refunds and $1,500 allowances leaves $99,000 net revenue. The analytics total of $123,880 includes $8,880 sales tax and $4,000 shipping and subtracts no refunds.Sample data

Gross revenue is the total value of sales before deductions; net revenue is gross revenue minus discounts, returns and refunds, and allowances. Net revenue is not profit: cost of goods sold, payment fees and other expenses come after it. Analytics tools usually show a third number, the checkout total including tax and shipping with no refunds. Below: both formulas, a worked month and a reconciliation.

What you will learn

  • Net revenue = gross revenue − discounts − returns and refunds − allowances; cost of goods sold and payment fees are expenses, not deductions from the sale
  • Analytics purchase revenue often includes sales tax and shipping and never subtracts later refunds, so it runs above the books until reconciled
  • Count refunds by refund date for monthly results and by order date for campaign returns; mixing the two misstates both

What is the difference between gross revenue and net revenue?

Gross revenue is the total value of sales before anything is taken off. Net revenue is what remains after deductions that reduce the sale itself: discounts, returns and refunds, and allowances (price reductions given after the sale, for example for damaged goods the customer keeps).

The U.S. Securities and Exchange Commission's financial statement rule for income statements (Regulation S-X, Rule 5-03) uses exactly this split: companies report "net sales of tangible products", defined as gross sales less discounts, returns and allowances. Net revenue is therefore not profit. Cost of goods sold, payment fees, shipping costs, salaries and advertising all sit below it.

The practical problem this guide solves is a different one: the revenue figure in your analytics tool usually matches neither. It is the sum of whatever amount your site sent on each purchase event, which often includes sales tax and shipping, never sees refunds issued weeks later and may double-count a retried order. The rest of this guide gives the two formulas, walks one month from gross sales to net revenue, and then reconciles the analytics purchase total with the accounting figure line by line.

How do you calculate gross revenue?

Gross revenue = units sold × price charged, summed over every sale in the period.

Three choices change what "price charged" means, so decide them before comparing months:

  1. List price or price after automatic discounts? If your store shows a sale price and never records the original price, the discount never appears and gross revenue is already partly net. Under Rule 5-03's definition, gross sales are before discounts, so record the list price and the discount separately if you want a true gross figure.
  2. Orders placed or orders paid? Use orders paid. A placed order that fails payment is not a sale.
  3. Which currency and rate? For multi-currency stores, convert each order at the rate on the order date and keep that rate, so a later rate change does not rewrite past months.

What gross revenue excludes even before any deduction: sales tax collected on behalf of a government. The U.S. Census Bureau's retail surveys define sales as net of refunds and allowances for returned merchandise and exclude sales taxes collected directly from customers and paid to a tax agency. The tax was never the store's money; it passes through.

How do you calculate net revenue?

Net revenue = gross revenue − discounts − returns and refunds − allowances

Each deduction has its own counting rule:

Line itemWhat it isIn gross revenue?Deducted for net revenue?
DiscountsCoupon codes, promotional prices, volume discountsYes, if you record list priceYes
Returns and refundsMoney given back for returned or cancelled goodsYesYes, in the period the refund is issued
AllowancesPartial refunds or credits when the customer keeps the itemYesYes
Sales tax collectedTax passed through to a governmentNoNot applicable
Shipping fees chargedDelivery charge paid by the customerPolicy choiceNo
Payment processing feesCard and wallet feesYesNo, it is an expense
Cost of goods soldWhat the products cost youYesNo, it is deducted for gross profit

Two lines cause most of the confusion. Payment fees reduce the money that reaches your bank, which is why payout reports look like net revenue, but they are an operating expense, not a reduction of the sale. Cost of goods sold is subtracted to get gross profit, not net revenue; some guides blur the two, and that mixes a sales measure with a margin measure. Whether shipping fees charged to customers are counted as revenue is an accounting policy to confirm with your accountant; for reconciliation, what matters is that analytics and finance treat it the same way.

Line itemIn gross revenue?Deducted for net revenue?
DiscountsYes, if list price is recordedYes
Returns and refundsYesYes, in the refund period
AllowancesYesYes
Sales tax collectedNoNot applicable
Shipping fees chargedAccounting policyNo
Payment processing feesYesNo, an expense
Cost of goods soldYesNo, used for gross profit

Follows SEC Regulation S-X Rule 5-03 (gross sales less discounts, returns and allowances) and the Census Bureau retail definition, which excludes sales tax.

Worked month: from gross sales to net revenue

Sample data: an online store's results for one month.

LineAmountRunning total
Gross sales at list price$120,000$120,000
− Discounts (coupon codes and sale prices)−$9,000$111,000
− Refunds issued this month−$10,500$100,500
− Allowances (partial credits, item kept)−$1,500$99,000
Net revenue (net sales)$99,000
− Cost of goods sold−$48,000$51,000
Gross profit$51,000

Net revenue is 82.5% of gross sales ($99,000 ÷ $120,000). Refunds alone are 8.75% of gross sales ($10,500 ÷ $120,000). For scale, the National Retail Federation and Happy Returns estimated in December 2024 that U.S. retailers expected 16.9% of their 2024 annual sales to be returned, about $890 billion. A store whose growth looks healthy on gross revenue can be flat on net revenue if its return rate is rising.

Gross margin should be computed on net revenue: $51,000 ÷ $99,000 = 51.5%. Computing it on gross sales ($51,000 ÷ $120,000 = 42.5%) understates margin and makes discount-heavy months look worse than they are.

app.tapcub.com

From gross sales to net revenue

sample month, USD
Analytics purchase total$123,880
Gross sales at list price$120,000
After discounts$111,000
After refunds$100,500
Net revenue$99,000
Sample data
Sample data: $120,000 of gross sales less $9,000 discounts, $10,500 refunds and $1,500 allowances leaves $99,000 net revenue. The analytics total of $123,880 includes $8,880 sales tax and $4,000 shipping and subtracts no refunds.

Why does analytics revenue differ from the accounting figure?

The same store's analytics tool reports purchase revenue of $123,880 for the month, $24,880 more than the books. That is not a tracking error; it is a different definition. The purchase event sent the amount the customer paid at checkout: merchandise after discounts ($111,000), plus 8% sales tax ($8,880), plus shipping fees ($4,000).

StepAdjustmentRunning total
Analytics purchase revenue (amount paid at checkout)$123,880
Remove sales tax collected−$8,880$115,000
Remove shipping fees charged (if finance reports them separately)−$4,000$111,000
Subtract refunds issued this month−$10,500$100,500
Subtract allowances−$1,500$99,000
Matches net revenue in the books$99,000

Reconcile in this order and note any remainder. Common reasons for a remainder that is not explained by definitions:

  • Duplicates. A customer reloads the confirmation page and the purchase fires twice. Deduplicating on order ID removes them.
  • Missing purchases. A browser-side purchase event can be blocked or lost when the customer closes the tab before the page loads. Sending purchases from the server on payment success avoids it.
  • Test and internal orders. Exclude them in both systems or neither.
  • Currency. Analytics may convert at the order-date rate while the bank settles at a different rate.
  • Timing. An order placed at 23:58 on the 31st may be in different months in different time zones.

If a remainder is left after these steps, export the orders from both systems for the month and match them on order ID; the unmatched rows name the cause.

Should refunds be counted by order date or refund date?

Both are correct, for different questions.

  • By refund date (accounting view). The month's net revenue subtracts every refund issued in the month, whatever month the original order was in. Of the $10,500 above, $3,500 relates to last month's orders. This is how the books close.
  • By order date (cohort view). For judging a campaign or a month's orders, subtract only refunds on those orders: $7,000 so far for this month's orders. The figure keeps changing until the return window closes, so mark recent months as provisional.

Mixing the two is a common error: a campaign report that takes this month's orders and subtracts this month's refunds credits the campaign with refunds on orders it never generated. For more on following an order from click to refund, see revenue tracking.

Gross vs net revenue for marketplaces

For a marketplace or agency, gross and net mean something else again. If a marketplace processes $500,000 of sellers' sales and keeps a 12% commission, the $500,000 is gross merchandise value and the marketplace's own revenue is $60,000 (sample figures). The total value passing through is defined in GMV; revenue in the company's accounts depends on whether it acts as the seller or as an agent arranging the sale, which is an accounting judgment for your finance team. In analytics, track both on the same purchase event, as order value and as commission, so dashboards cannot mix them.

Which revenue figure should each report use?

Report or decisionUseWhy
Monthly financial resultsNet revenue by refund dateMatches the books and Rule 5-03 presentation
Return on ad spend by campaignNet revenue by order date, ex tax and shippingTax and shipping are not earned by the campaign; refunds on its orders are
Conversion and funnel analysisPurchase count and gross order valueRefunds arrive weeks later and should not change last week's funnel
Average order valueMerchandise after discounts, ex taxKeeps AOV comparable across regions with different tax rates
Discount strategyGross sales and discounts side by sideNet-only reporting hides how much was given away
Gross marginGross profit ÷ net revenueDividing by gross sales understates margin

For the wider set of store metrics these feed into, see ecommerce KPIs.

Common mistakes with gross and net revenue

  • Calling payout "net revenue". The bank deposit is after payment fees and sometimes reserves; it is a cash figure, not revenue.
  • Leaving sales tax in revenue. In the example it adds $8,880 (9%) to the analytics figure. Regions with higher tax look better than they are.
  • Recording only sale prices. Gross revenue then hides the discount, and the "net" figure only deducts refunds.
  • Treating gross profit as net revenue. Subtracting cost of goods sold answers a margin question, not a sales question.
  • Changing the definition mid-year. If shipping fees move out of revenue in July, mark the change, or July looks like a drop.

How to reconcile gross and net revenue in TapCub

Here is how the store in the example would set up TapCub so that its analytics revenue can be reconciled with the books. TapCub measures orders and refunds; it does not issue refunds, calculate tax or replace your accounting system.

TapCub Commerce & revenue metric cards showing GMV, orders, average order value, buyers and a separate refunds card
Demo data: the commerce page shows the successful payment amount and refunds as separate cards; refunds are not subtracted, so net revenue is computed by you. The numbers are demo data, not customer data.
  1. Decide what the amount means, then send it from the server. All-platform analytics › Business › Commerce & revenue reads amount, currency and order ID from properties on the purchase event; the default names are purchase, refund, revenue, currency and order_id. Send the purchase from your server on payment success, with the amount defined as merchandise after discounts, excluding tax and shipping ($111,000 in the example), and use the order ID as the dedupe key so a retry does not create a second order.
  2. Send refunds as their own events. Send a refund event with the same order ID when money goes back. On the commerce page, gross merchandise value is the successful payment amount, and refunds in the same period are reported separately as a count and an amount; they are not subtracted. In the example, gross merchandise value of $111,000 less refunds of $10,500 gives $100,500; the remaining $1,500 is the allowances, which you can also send as refunds against their orders if you want them in the ledger.
  3. Check currency and time. Amounts convert into the site base currency at the rate on the order date, and orders that cannot be converted are called out. Saving a new base currency or commerce mapping rebuilds the ledger.
  4. Keep goal revenue separate. A goal with Track revenue on sums a property on matching events and is not converted by exchange rate, so it will not match commerce revenue. Use the commerce page for money and goals for conversions.
  5. Use the same figure for ad returns. All-platform analytics › Business › Channel ROI divides revenue (order amount in the base currency) by the spend you import, so the definition you chose in step 1 flows into return on ad spend. Revenue there is the order amount, so subtract refunds on each channel's orders in your campaign review if refund rates differ by channel.

FAQ

What is net revenue?

Net revenue is gross revenue minus discounts, returns and refunds, and allowances. It is the value of sales the business keeps after reductions to the sale itself, before cost of goods sold and operating expenses. In the sample month, $120,000 of gross sales becomes $99,000 of net revenue.

How do you calculate net revenue?

Start with gross sales at the price charged, subtract discounts, refunds issued in the period and allowances such as partial credits. Do not subtract cost of goods sold, payment fees or shipping costs; those are expenses. Exclude sales tax from the start, because it is collected on behalf of a government.

Is net revenue the same as net income?

No. Net revenue is a sales figure: what remains of sales after discounts, returns and allowances. Net income is what remains after every expense, including cost of goods sold, salaries, marketing, interest and taxes. A store can grow net revenue and still have falling net income if costs grow faster.

Is sales tax included in gross revenue?

Generally no. Sales tax collected from customers and paid to a tax authority is not the seller's revenue, and the U.S. Census Bureau's retail surveys exclude it from sales. Analytics tools often include it because the purchase event records the checkout total, which is one reason analytics revenue runs higher than the books.

Why is my analytics revenue higher than my accounting revenue?

Usually because the purchase event records the amount paid at checkout, including tax and shipping, and does not subtract refunds issued later. Duplicate purchase events and test orders add more. Reconcile by removing tax, removing shipping if finance reports it separately, subtracting refunds and allowances, then checking duplicates.

See also: What is total revenue? Formula and how to reconcile it.

Sources

Was this article helpful?

We use your answers to fix and expand this page.

Oliver Reed

Product Experience Specialist

Explores usability, user journeys, and feature adoption through practical examples of onboarding and everyday product use.

Keep orders and refunds in one ledger

Send purchases and refunds from your server with one order ID, see payments and refunds side by side, and carry the same revenue into channel ROI.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics