Beginner

Revenue Calculator — Sales Revenue & Profit Margins

Revenue is the top-line number every business starts with. Enter the selling price and units sold to get total revenue instantly. Add COGS and operating expenses to see gross and operating profit and the corresponding margin percentages.
Average price per unit sold
Number of units sold in the period
Direct costs of producing the units sold (leave 0 if unknown)
Indirect costs: salaries, rent, marketing, etc. (leave 0 if unknown)
Total Revenue
49,990

Unit price × units sold — the top-line income before any costs

Gross profit
29,990
Gross margin
59.99 %
Operating profit (EBIT)
14,990
Operating margin
29.99 %

29.99%

op. margin

Operating profit

30%

Operating expenses

30%

Cost of goods sold

40%

Step by step
  1. 1

    Total Revenue

    49.99 × 1,000 = 49,990
    Unit price multiplied by the number of units sold.
  2. 2

    Gross Profit

    49,990 − 20,000 = 29,990
  3. 3

    Operating Profit (EBIT)

    29,990 − 15,000 = 14,990
Lock the current result, then change any input to compare scenarios.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. This is not financial, investment or tax advice; consult a qualified professional. Read the full disclaimer.
Quick answer

How does this calculator work?

Revenue = Unit Price × Units Sold. Gross Profit = Revenue − COGS; Operating Profit = Gross Profit − OpEx. The gross and operating margin percentages divide each profit figure by revenue. Revenue measures what you earned; profit measures what you kept after costs.

Formula
Revenue = Unit Price × Units Sold • Gross Profit = Revenue − COGS • Operating Profit = Gross Profit − OpEx
How this is calculated

Revenue (also called turnover or top-line income) is the simplest financial metric: the number of units sold multiplied by the average selling price. It measures inflows before any costs are deducted. For a product business you need actual units and a selling price; for a service business you might use hours billed and an hourly rate in the same two fields.

Subtracting the cost of goods sold (COGS) — the direct costs of production, such as materials and direct labour — gives gross profit and the gross margin percentage. This shows how much of each revenue dollar survives after making the product. Subtracting operating expenses (salaries, rent, marketing, overheads) then gives operating profit, also called EBIT (Earnings Before Interest and Tax), and the operating margin.

This calculator treats COGS and OpEx as optional: leave them at 0 to see revenue alone. The operating profit can go negative (an operating loss) if costs exceed revenue — this is shown correctly. Note that the calculator does not model interest expense, depreciation (beyond what you include in OpEx), or income tax, so it gives a simplified view of business profitability rather than a full income statement.

Frequently asked questions

Revenue is the total amount earned from sales before any costs are deducted — sometimes called the "top line." Profit (gross or net) is what remains after subtracting costs. A business can have high revenue but low profit if its costs are high, which is why margins are as important as the headline revenue figure.

COGS includes direct costs tied to producing what you sell: raw materials, direct labour, manufacturing overhead. Operating expenses (OpEx) are indirect running costs: management salaries, rent, marketing, R&D, depreciation on non-production assets. The split matters because it determines the gross margin benchmark for your industry.

Yes. For a service business, treat "unit price" as your hourly rate (or project fee) and "units sold" as hours billed (or number of projects). COGS for a service firm would be direct service-delivery costs such as contractor fees and direct staff time.

Also known as

revenue calculator
sales revenue calculator
gross profit calculator
operating profit margin calculator
unit price times units sold
top line revenue formula
business revenue and profit

APA

TG we-Calculate Editorial Team. (2026). Revenue Calculator — Sales Revenue & Profit Margins [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/revenue-calculator

Chicago

TG we-Calculate Editorial Team. "Revenue Calculator — Sales Revenue & Profit Margins." TG we-Calculate. 2026. https://we-calculate.com/calculator/revenue-calculator.

IEEE

TG we-Calculate Editorial Team, "Revenue Calculator — Sales Revenue & Profit Margins," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/revenue-calculator

BibTeX

@misc{wecalculate_revenue_calculator, title = {Revenue Calculator — Sales Revenue & Profit Margins}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/revenue-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?