Quick answer
Total revenue is all the money a business earns from selling goods and services in a period, before costs are subtracted: price × quantity for each product, summed. In analytics it is the sum of revenue events, so tax, shipping, refunds and currency rules decide whether it matches finance.
Formula: Total revenue = Σ (price_i × quantity_i); analytics view: purchase revenue + subscription revenue + ad revenue (− refunds, if the report nets them)
What is total revenue?
Total revenue is all the money a business earns from selling its goods and services in a period, before any costs are subtracted. In economics it is price times quantity sold: OpenStax's Principles of Economics puts it as "total revenue is price times the quantity" sold. In a company's income statement it is the top line, the figure that expenses, taxes and profit are later taken from.
The definition is simple. The trouble starts when the number on an analytics dashboard, the number in the payment processor and the number in the accounts all claim to be "total revenue" and none of them match. Most of that gap comes from four things: which revenue streams are added, whether refunds are taken off, whether tax and shipping are inside the amount, and which currency and date each order is booked in. This page gives the formula and then shows how to reconcile those numbers.
Total revenue formula
For one product:
Total revenue = price × quantity sold
For several products or services, add each line:
Total revenue = Σ (price_i × quantity_i)
A store that sells 1,200 orders of a $45 bundle earns 1,200 × $45 = $54,000. If it also sells subscriptions, those are a second line: 500 renewals × $12 = $6,000. Total revenue for the month is $54,000 + $6,000 = $60,000.
For an online business that also earns ad income, the analytics version is usually:
Total revenue = purchase revenue + subscription revenue + ad revenue, and some tools then subtract refunds. Google Analytics, for example, defines its total revenue metric as revenue from purchases, in-app purchases, subscriptions and ad revenue, while its purchase revenue metric is shown after refunds. Always check which of the two your report uses.
How price changes affect total revenue
Because total revenue is P × Q, raising the price only raises revenue if quantity falls by a smaller percentage. That is the price elasticity of demand:
- Inelastic demand (|elasticity| < 1): a price rise increases total revenue.
- Elastic demand (|elasticity| > 1): a price rise decreases total revenue.
- Unit elastic (|elasticity| = 1): revenue does not change.
Sample data: the store raises the bundle from $45 to $50 and monthly orders fall from 1,200 to 1,050.
| Price | Orders | Total revenue | |
|---|---|---|---|
| Before | $45 | 1,200 | $54,000 |
| After | $50 | 1,050 | $52,500 |
With the midpoint method, the change in quantity is −150 ÷ 1,125 = −13.3% and the change in price is 5 ÷ 47.5 = 10.5%, so elasticity is −13.3 ÷ 10.5 = −1.27. Demand is elastic, which is why revenue fell by $1,500 even though each order earns more. Before a price change, compare the expected drop in orders with the price increase in percent, not in units.
What total revenue means in analytics tools
An analytics tool does not read your accounts. It adds up the amount property on events your site, app or server sends, usually a purchase event and a refund event. So its total depends on what you put into those events:
| Question | Why it changes the total | What to decide |
|---|---|---|
| Which streams are included? | One-off purchases, subscriptions and ad revenue may be separate events | List every revenue event and whether the report sums it |
| Are refunds subtracted? | Some reports show gross sales, others net of refunds | Send refunds as their own event with the original order id |
| Is tax inside the amount? | Sales tax collected for a government is not your revenue | Send the amount before tax, or send tax as a separate property |
| Is shipping inside the amount? | Shipping may be booked separately by finance | Agree one rule with finance and keep it |
| Which currency and date? | Multi-currency orders are converted at some rate on some day | Store the original currency on every order |
| Duplicates and test orders | A retried confirmation page can count an order twice | Deduplicate on order id and exclude test orders |
On the accounting side, revenue is recognised under ASC 606 in the US and IFRS 15 elsewhere. Both exclude amounts collected on behalf of third parties from the transaction price, and ASC 606-10-32-2A lets a company elect to exclude sales and similar taxes collected from customers. That is the main reason a dashboard summing checkout totals is higher than the finance figure.
Worked example: reconciling one month
Sample data: the store from the formula section closes the month. Finance reports total revenue of $60,000. The analytics dashboard shows $67,920. The purchase event sends the checkout total, which includes 8% sales tax and a $3 shipping fee per order.
| Line | Calculation | Amount |
|---|---|---|
| Bundle sales | 1,200 orders × $45 | $54,000 |
| Sales tax collected | $54,000 × 8% | $4,320 |
| Shipping charged | 1,200 × $3 | $3,600 |
| Subscription renewals | 500 × $12 | $6,000 |
| Analytics total (checkout totals + renewals) | 54,000 + 4,320 + 3,600 + 6,000 | $67,920 |
| Less sales tax | −$4,320 | |
| Less shipping (booked separately by this finance team) | −$3,600 | |
| Total revenue (finance) | $60,000 | |
| Less refunds | 40 bundles × $45 + 50 renewals × $12 | −$2,400 |
| Net revenue | $57,600 |
The $7,920 gap is fully explained by tax and shipping, and the refund line explains the step from total to net. The fix is not a formula on the dashboard but a decision about what the purchase event's amount means. Here the store changes the event to send the item subtotal before tax and shipping, so the next month's analytics total lines up with finance.
Total revenue vs gross revenue vs net revenue
| Term | What it includes | In the example |
|---|---|---|
| Total revenue | All sales of goods and services in the period, before costs | $60,000 |
| Gross revenue | Usually the same as total revenue; some teams also use it for sales before returns and discounts | $60,000 |
| Net revenue | Total revenue minus refunds, returns, allowances and discounts | $57,600 |
| Net income | Revenue minus all costs, interest and taxes | Not a revenue figure |
| Average order value | Order revenue ÷ orders | $54,000 ÷ 1,200 = $45 |
The words "gross" and "total" are used loosely across companies, so write down your definition next to the report. For the full gross vs net breakdown, including discounts and chargebacks, see gross vs net revenue. For how to break total revenue down by channel, product and cohort, see revenue analytics.
What does annual revenue mean?
Annual revenue is total revenue for a 12-month period, either a fiscal year or the trailing 12 months. It is the sum of the months, not one month multiplied by 12. If the store above earned $60,000 in its best month and between $41,000 and $60,000 in the other eleven, multiplying the best month by 12 gives $720,000 and overstates the year.
For subscription businesses, annual revenue is also different from annual recurring revenue. ARR annualises the current recurring run rate and leaves out one-off sales; annual revenue is what was actually earned in the year.
Common mistakes when calculating total revenue
- Adding tax and shipping to revenue because they are inside the checkout total.
- Counting the same order twice when the confirmation page reloads or the server retries.
- Mixing currencies without converting each order at its own date's rate.
- Comparing a gross dashboard with a net ledger and treating the refund line as missing revenue.
- Calling one strong month times 12 "annual revenue".
Total revenue in TapCub
The reconciliation above maps onto All-platform analytics › Business › Commerce & revenue. TapCub records revenue from events you send. It does not process payments or keep accounts.
- Send money events from the server. On payment success, send
purchasewithorder_id,revenueandcurrency; send arefundwith the same order id. The order id is the dedupe key, so a retry does not create a second order. Event and property names can be mapped on the Commerce tab of All-platform analytics › Configuration › Business settings. - Decide what
revenuemeans. Send the item subtotal before tax and shipping if you want the dashboard to line up with finance, as in the example. - Read revenue and refunds side by side. The page shows revenue, orders, buyers and average order from purchase rows. Refunds in the same period are reported separately as a count and amount and are not subtracted, so net revenue is revenue minus the refund amount you see next to it.
- Check currency. Amounts are converted into the site base currency at the rate on the day of each order, and orders that cannot be converted are called out.
Goal revenue in Web analytics › Goals sums a property on matching events and is not the order ledger, so do not compare the two as one number.
Sources
- OpenStax, Principles of Economics 3e, 5.3 Elasticity and Pricing (total revenue as price × quantity, elasticity and revenue).
- IFRS Foundation, IFRS 15 Revenue from Contracts with Customers.
- PwC Viewpoint, Revenue from contracts with customers, 10.6 Amounts collected from customers and remitted to a governmental authority (ASC 606-10-32-2A sales tax election).
- Google Analytics Help, Analytics dimensions and metrics (total revenue and purchase revenue definitions).
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

Product Analyst
Focuses on event analysis, conversion funnels, and retention, using clear metric definitions and structured analysis to explain product performance.