Skip to content
OverCalculator
  1. Home
  2. Financial
  3. Margin Calculator (Classic)
Financial

Margin Calculator (Classic)

Calculate achieved gross margin from cost and revenue, with gross profit, markup, cost share, and revenue-to-cost multiple shown for audit checks.

Published

Gross margin
Gross margin
35%
Gross profit
$35.00
Markup on cost
53.85%
Cost share of revenue
65%
Revenue-to-cost multiple
1.538×

$100.00 revenue less $65.00 cost leaves $35.00, so the classic gross margin is 35%.

Direct cost for the item, order, or job.
$
The price charged before taxes collected on behalf of a tax authority.
$

Results update as you type.

Margin Calculator (Classic)

The Margin Calculator (Classic) measures the gross margin you actually achieved from a known cost and revenue. Enter the direct cost of an item, order, job, or service, then enter the revenue or pre-tax selling price. The main result is gross margin. The result panel also shows gross profit, markup on cost, cost share of revenue, and the revenue-to-cost multiple.

This page is intentionally narrow. It does not ask for a desired margin and it does not solve for price. It is an audit tool for a completed or proposed transaction where cost and revenue are already known. If you need to set a price from a target margin, use the margin calculator. If you think in cost-plus terms, compare the markup calculator. If a quote includes taxes collected from customers, keep those amounts separate with the sales tax calculator or vat calculator before measuring margin.

What the calculator does

The calculation method is direct. It converts cost and revenue to numbers, requires both to be positive, subtracts cost from revenue to get gross profit, and divides that profit by revenue to get gross margin. It also divides profit by cost to calculate markup, divides cost by revenue to calculate cost share, and divides revenue by cost to show the revenue-to-cost multiple.

The calculator accepts cases where cost is greater than revenue. That produces negative profit, negative margin, negative markup, and a revenue-to-cost multiple below one. Those results are not errors; they are useful warnings. They show that the sale did not cover the direct cost entered.

Formula

Gross profit is:

gross profit=revenuecost\text{gross profit} = \text{revenue} - \text{cost}

Gross margin is:

gross margin=gross profitrevenue×100%\text{gross margin} = \frac{\text{gross profit}}{\text{revenue}} \times 100\%

Markup is shown for comparison:

markup=gross profitcost×100%\text{markup} = \frac{\text{gross profit}}{\text{cost}} \times 100\%

Cost share is:

cost share=costrevenue×100%\text{cost share} = \frac{\text{cost}}{\text{revenue}} \times 100\%

The revenue-to-cost multiple is:

revenue-to-cost multiple=revenuecost\text{revenue-to-cost multiple} = \frac{\text{revenue}}{\text{cost}}

Checking a margin calculator (classic) scenario

Use the default values in the inputs: $65 cost and $100 revenue. The calculator first finds gross profit:

gross profit=$100$65=$35\text{gross profit} = \$100 - \$65 = \$35

Then it calculates gross margin:

gross margin=$35$100×100%=35%\text{gross margin} = \frac{\$35}{\$100} \times 100\% = 35\%

The equivalent markup is:

markup=$35$65×100%=53.85%\text{markup} = \frac{\$35}{\$65} \times 100\% = 53.85\%

Cost share is:

cost share=$65$100×100%=65%\text{cost share} = \frac{\$65}{\$100} \times 100\% = 65\%

The revenue-to-cost multiple is 1.538×, because $100 divided by $65 equals about 1.538. The primary result is 35% gross margin, and the note matches the calculation method: $100 revenue less $65 cost leaves $35, so the classic gross margin is 35%.

Use cases for achieved margin

Use this calculator after a sale closes, when reviewing a quote before approval, or when cleaning up product profitability data. A retailer might compare the margin on several SKUs after freight and packaging are included in cost. A contractor might enter labor and material cost for a job and compare it with billed revenue. A software or service team might use project delivery cost and contract revenue to estimate gross margin before overhead.

The cost input should include the direct costs you want the margin to cover. For a product, that may include purchase cost, inbound freight, packaging, payment processing, waste, and returns allowance. For a service, it may include billable labor, subcontractors, travel, and project-specific software. If you omit meaningful direct costs, the calculator will overstate the achieved margin.

Caveats and interpretation

Gross margin is not net margin. This calculator stops before rent, salaried administration, marketing, insurance, interest, income taxes, and other overhead. A product can have a positive gross margin and still fail to support the business if overhead is too high or sales volume is too low.

Margin also depends on clean revenue. Do not include sales tax, VAT, refundable deposits, reimbursed expenses, or other pass-through amounts unless the purpose is a special internal analysis. Those amounts can make revenue look larger without increasing gross profit. If discounts or credits reduce what you keep, enter the net revenue after those reductions.

Finally, use the label “margin” only when profit is divided by revenue. Dividing profit by cost gives markup. The classic markup page can solve for missing price, cost, or markup, while this classic margin page simply audits a known cost and revenue pair. That narrower workflow is what makes it useful for quick checks and consistent reporting.

For recurring analysis, keep the cost definition consistent. A monthly product dashboard is much more useful when every product includes the same cost categories. Mixing landed cost for one SKU with supplier invoice cost for another makes the margin comparison misleading. The calculator cannot know which costs belong in your model, but it makes the consequence visible: every extra dollar of direct cost lowers gross profit, lowers gross margin, increases cost share, and reduces the revenue-to-cost multiple.

If you are reviewing many deals, sort the results by margin and by dollar profit. A low-margin sale with high revenue may still contribute meaningful dollars, while a high-margin sale with tiny volume may not move the business. This page gives the percentage view and the dollar view together so neither signal is lost.

Sources

  • Corporate Finance Institute, Gross margin — gross margin definition and formula.
  • AccountingTools, Gross margin — explanation of gross margin analysis and interpretation.
  • AccountingTools, Markup definition — markup formula used for comparison with margin.

Frequently asked questions

What does the classic margin calculator calculate?
It calculates achieved gross margin from two known values: cost and revenue. The calculator subtracts cost from revenue to find gross profit, divides that profit by revenue to find margin, and also shows markup, cost share of revenue, and the revenue-to-cost multiple.
Should revenue include sales tax or VAT?
Usually no. Enter revenue before taxes collected for a government authority, because those pass-through amounts are not business profit. If your receipt or invoice includes VAT or sales tax, separate the tax first, then use the net selling price as revenue for this margin calculation.
Why does the result include markup?
Markup shows the same gross profit divided by cost instead of revenue. It helps translate an achieved margin into cost-plus language. Profitable sales normally have a higher markup percentage than margin percentage because cost is lower than selling price and therefore a smaller denominator.
Can the gross margin be negative?
Yes. If cost is greater than revenue, gross profit is negative and the gross margin is negative. The calculator still reports that result because it is useful for spotting loss-making jobs, clearance sales, billing errors, and products whose direct costs were not fully recovered.

Related calculators

Margin Calculator (Classic) updated at