Revenue Calculator

Revenue calculator.

Money Optional cost & profit Margin and markup
Rate this calculator · 5.0 (2)

Revenue calculator

Total revenue · gross profit · gross margin

Instructions — Revenue Calculator

1

Enter unit price

The price at which a single unit sells. For a service company this is the rate per project or hour; for a SaaS it is the per-seat or per-month price. The calculator handles any currency via the dropdown.

2

Enter quantity sold

Number of units sold in the period. Revenue is recognised when the good or service is delivered, not when cash arrives, so use the delivered count if the company reports under accrual accounting (GAAP or IFRS).

3

Optionally enter cost per unit

If you also supply the cost per unit, the calculator returns gross profit, gross margin (profit as percent of revenue) and markup (margin over cost). Leave the cost field blank if you only need top-line revenue.

Revenue is not cash. Under accrual accounting, revenue is recognised when delivered. A SaaS company that signs a 12-month contract today recognises one twelfth of the contract as revenue this month, regardless of when the customer pays. The Securities and Exchange Commission enforces ASC 606 to standardise this.
Gross margin separates good and bad businesses. SaaS companies sit at 70-85% gross margin; supermarkets at 25-30%; commodity manufacturers at 10-20%. The gap reflects the cost structure: software scales cheaply, physical goods do not.

Formulas

Revenue calculations build a stack: top line first, then subtract costs to reach profit, then margin and markup. Each step is one operation away from the previous.

Total revenue
$$ \text{Revenue} = P \times Q $$
Price per unit times quantity sold. The simplest line in the income statement. A SaaS selling 1,000 seats at $50 per month recognises $50,000 of monthly recurring revenue.
Gross profit
$$ \text{Gross profit} = \text{Revenue} - \text{COGS} $$
Revenue minus cost of goods sold (COGS). The calculator computes COGS as cost-per-unit times quantity. Gross profit excludes operating expenses like marketing, R&D and overhead — those come out below the line.
Gross margin
$$ \text{Gross margin} = \frac{\text{Revenue} - \text{COGS}}{\text{Revenue}} \times 100\% $$
Profit as a percentage of revenue. SaaS companies target 75%+; retailers run 25-40%; commodity industries sit at 5-15%. Margin compression (margin falling year over year) is a warning sign for investors.
Markup
$$ \text{Markup} = \frac{P - C}{C} \times 100\% $$
Profit as a percentage of cost. A $10 item that sells for $15 has a 50% markup and a 33% gross margin. Markup is the pricing language; margin is the reporting language. They produce different numbers from the same data.
Marginal revenue
$$ MR = \frac{\Delta \text{Revenue}}{\Delta Q} $$
Revenue from one additional unit sold. In perfect competition MR equals price. Under any imperfect competition MR is less than price because selling more requires cutting price. The point where marginal revenue equals marginal cost defines profit-maximising output.
Revenue growth rate
$$ g = \frac{R_2 - R_1}{R_1} \times 100\% $$
Period-over-period growth, the most-watched metric for early-stage companies. Mature S&P 500 firms grow 2-5% per year; SaaS at scale 25-40%; early-stage SaaS 100-300%. Compounded over multiple years, small differences create large outcomes.

Reference

Typical gross margin by industry (US, 2023)
IndustryGross marginNotes
Software / SaaS70-85%Low marginal cost per seat
Pharmaceuticals65-80%High R&D, low production cost
Luxury goods60-75%Brand premium dominates
Banking services50-65%Net interest margin model
Retail apparel40-55%Inventory risk, markdowns
Restaurants60-70% foodLabour pushes operating margin to 5-15%
Supermarkets25-30%Volume business
Auto manufacturing15-25%Heavy fixed-cost base
Construction15-25%Materials dominate
Commodity chemicals5-15%Price-taker market

Revenue vs profit vs income

Three terms that get mixed up in casual writing but have precise meanings in accounting. The income statement walks down the stack: revenue at the top, profit in the middle, net income at the bottom.

Top of income statement
LineFormula
RevenueP × Q
COGSDirect costs of goods
Gross profitRevenue - COGS
Gross marginGross profit ÷ Revenue
Below gross profit
LineFormula
Operating profitGross profit - opex
Pretax incomeOperating profit ± non-op
Net incomePretax income - tax
EPSNet income ÷ shares

Source: Securities and Exchange Commission 10-K filings, Bureau of Labor Statistics industry data, Federal Reserve corporate profit reports.

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 formulas
Revenue = P × Q
Gross profit = Revenue - COGS
Gross margin = Gross profit / Revenue
Markup = (P - C) / C

For 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.

Did you know

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.

Tip

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.

! Revenue can grow while profit falls

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.

FAQ

Total revenue equals price per unit multiplied by quantity sold: Revenue = P × Q. A company that sells 1,000 units at $50 each recognises $50,000 in revenue. The formula is the top line of every income statement and the starting point for every profitability metric below it.
Revenue is the top line, profit is in the middle, net income is at the bottom. Revenue = sales. Gross profit = Revenue minus COGS. Operating profit = Gross profit minus operating expenses. Net income = Operating profit minus interest and tax. A company with $10M revenue, $4M COGS, $4M operating expenses, and $400k tax has $6M gross profit, $2M operating profit, and $1.6M net income.
Marginal revenue is the revenue from one additional unit sold: MR = change in revenue divided by change in quantity. Under perfect competition MR equals price. Under imperfect competition MR is less than price because selling more requires cutting price. Firms maximise profit where marginal revenue equals marginal cost.
Revenue is recognised when the good or service is delivered, not when cash is received. The SEC enforces this through ASC 606, which requires revenue to be recognised over the performance obligation. A 12-month SaaS contract signed today recognises one twelfth of the contract value this month, even if the customer paid the full amount up front.
It depends on company stage. Mature S&P 500 firms grow 2-5% annually. Public SaaS at scale (Microsoft, Salesforce) targets 15-25%. Early-stage SaaS targets 100-300% per year. The Rule of 40 (growth percent plus profit margin percent should exceed 40) is a common benchmark for software efficiency.
Both measure pricing relative to cost, but they use different denominators. Gross margin = profit as a percent of revenue. Markup = profit as a percent of cost. A $10 item that sells for $15 has a 50% markup ($5 over $10 cost) and a 33% gross margin ($5 over $15 revenue). Retailers use markup when pricing; investors read gross margin in reports.
Yes, and it is common. 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. Investors call this margin compression and watch it carefully. The reverse — profit growing while revenue shrinks — happens during cost-cutting phases.
Revenue per unit equals total revenue divided by quantity sold. Under uniform pricing it always equals the unit price. Under bundling or volume discounts it can differ from list price. Airlines compute revenue per available seat mile (RASM) as a unit metric. SaaS firms compute average revenue per user (ARPU). Both let cross-company comparison normalise away size.
In US GAAP and IFRS the terms are largely synonymous, both meaning the top line of the income statement. Some industries distinguish between sales (units × price) and revenue (net of returns, allowances and rebates). A retailer might report $100M gross sales, $5M returns, and $95M net revenue. Public filings always show revenue net of returns.