Article — Revenue Calculator
Revenue calculator: top-line sales and gross profit
Revenue is the total value of goods and services a company sells in a period, calculated as price times quantity. The formula is Revenue = P × Q. A retailer that sells 1,000 units at $50 each books $50,000 in revenue. Add the cost per unit and the calculator returns gross profit, gross margin and markup. Revenue is the top line of every income statement and the starting point for every profitability metric below it.
Revenue is not cash and is not profit. Under accrual accounting it is recognised when the product is delivered, not when payment arrives. After subtracting cost of goods sold, operating expenses, interest and tax, what remains is net income.
What is revenue?
Revenue is the price the customer pays for a delivered good or service, summed across all transactions in a reporting period. It excludes refunds, returns and rebates — those appear as contra-revenue lines and reduce the reported figure. A retailer that grosses $100 million in sales but processes $5 million in returns reports $95 million in net revenue.
For service businesses, revenue is recognised over the performance obligation. A consulting firm with a six-month contract worth $120,000 recognises $20,000 of revenue per month, regardless of when invoices are paid. The Financial Accounting Standards Board codified this in ASC 606, which became effective for public companies in 2018.
How to calculate revenue
Revenue = P × QGross profit = Revenue - COGSGross margin = Gross profit / RevenueMarkup = (P - C) / CFor a single product line the calculation is one multiplication. A SaaS selling 1,200 seats at $40 per month books $48,000 in monthly recurring revenue, or $576,000 annually if the customer base holds steady. Add the cost per seat ($6 for hosting and support, say) and the calculator returns $40,800 gross profit per month, an 85% gross margin and a 567% markup. The same arithmetic scales from a one-person freelance practice to a Fortune 500 division.
Revenue vs profit vs income
The three terms get mixed in casual writing but have precise meanings on an income statement. Revenue is the top line. Gross profit is revenue minus the direct cost of goods sold. Operating profit is gross profit minus operating expenses such as marketing and R&D. Net income is operating profit minus interest, tax and other items.
Apple reported $383 billion in revenue in fiscal 2023 and $97 billion in net income. The ratio (net income margin) of 25% is exceptionally high for a hardware company; the comparable metric at Walmart is about 2.4%. The gap reflects pricing power: Apple commands premium pricing for branded products, while Walmart competes on cost in a margin-compressed retail market. Same income statement structure, very different stories.
For investors, the difference matters because each line responds to different decisions. Revenue tracks customer acquisition and pricing. Gross profit reflects cost structure. Operating profit shows operational discipline. Net income captures the entire company, including financial structure and tax strategy. Reading them in sequence builds a picture of how the business converts customer demand into shareholder value.
Revenue recognition rules
Revenue recognition is the most fraud-prone area of accounting, and the rules are detailed. ASC 606 (US GAAP) and IFRS 15 (international) share a five-step framework: identify the contract, identify the performance obligations, determine the transaction price, allocate the price to the obligations, and recognise revenue as each obligation is satisfied.
The framework changed several industries materially. Software companies that previously recognised perpetual licence revenue all at once now recognise some of it over time if they have ongoing performance obligations. Construction firms with multi-year contracts recognise revenue using percentage-of-completion methods. The Securities and Exchange Commission enforces these rules and has brought enforcement actions against firms that recognised revenue too aggressively.
If you read an income statement and the revenue line jumped sharply with no obvious business reason, check the company's revenue-recognition disclosures in the 10-K footnotes. Changes in recognition methodology can shift reported revenue without any change in underlying customer demand. Investors who skip the footnotes miss the explanation.
Revenue and gross margin by industry
The relationship between revenue and profit varies wildly by industry. Software companies operate at 70-85% gross margin because the marginal cost of serving an additional customer is nearly zero. Supermarkets operate at 25-30% gross margin because every loaf of bread has direct food cost. Commodity chemical producers operate at 5-15% because they are price-takers in a global market.
- SaaS 70-85% gross margin, scales with customer base
- Pharma 65-80%, low production cost, high R&D recoup
- Luxury goods 60-75%, brand premium dominates
- Retail apparel 40-55%, inventory risk and markdowns
- Supermarkets 25-30%, volume model
- Auto manufacturing 15-25%, heavy fixed-cost base
- Construction 15-25%, materials-dominated
- Commodity chemicals 5-15%, price-taker market
Marginal revenue and pricing decisions
Marginal revenue measures revenue from one additional unit sold. Under perfect competition every additional unit sells at the market price, so marginal revenue equals price. Under imperfect competition, selling one more unit requires accepting a slightly lower price for all units, so marginal revenue falls below price.
Profit-maximising firms produce where marginal revenue equals marginal cost. Producing beyond that point loses money on each additional unit; producing short of it leaves money on the table. The rule is the foundation of microeconomic pricing theory and shapes decisions from Uber's surge pricing to airline yield management.
Revenue growth rate benchmarks
Revenue growth is the most-watched single number for early-stage companies. Mature S&P 500 firms grow 2-5% annually because they are already at scale. Public SaaS at scale (Microsoft, Salesforce) targets 15-25%. Early-stage SaaS targets 100-300% per year, often called "T2D3" for tripling twice then doubling three times in five years.
If costs grow faster than revenue, profit shrinks even as revenue rises. Amazon famously grew revenue 25% per year through the 2010s while operating margin compressed from logistics investment. Margin compression is a warning sign for investors. Conversely, profit can grow while revenue shrinks during a cost-cutting phase, but that strategy has a ceiling.
Common revenue mistakes
Confusing revenue with cash. Revenue is recognised when delivered; cash arrives whenever the customer pays. A company can have $10 million in revenue and $2 million in cash if customers pay slowly. The two appear on different financial statements.
Treating gross revenue as net revenue. Returns, allowances and rebates reduce reported revenue. A retailer that grosses $100M but takes $8M in returns reports $92M, not $100M.
Reading revenue without margin. A 25% revenue jump that came with 30% cost growth is a margin-compression event, not a growth event. Top-line growth without margin discipline destroys value.
Comparing absolute revenue across sizes. A $50M company growing 50% is more impressive than a $5B company growing 5%, but the absolute revenue numbers reverse the ranking. Use growth rates and per-customer revenue (ARPU) for cross-size comparison.
Ignoring revenue concentration. $20M in revenue from 200 customers is more resilient than $20M from two customers. Concentration risk does not appear in the headline revenue figure but shows up in financial filings as customer-concentration disclosures.