Margin calculator

Calculate gross margin percentage, gross profit dollars, and markup equivalent from revenue and cost of goods.

What this calculator covers

Use this margin calculator to translate revenue and cost of goods into a gross margin percentage and gross profit dollars.

Margin answers how much of each revenue dollar is left after direct product cost is covered, while the markup equivalent shows the same spread from the cost side.

Frequently asked questions

What costs should I include in cost of goods?
Cost of goods sold should include only direct costs that vary with the product — materials, manufacturing, and direct labor are typical examples. Overhead, rent, salaries for non-production staff, and financing costs are not included in gross margin calculations.
What is the difference between gross margin and net margin?
Gross margin subtracts only cost of goods sold from revenue, while net margin also deducts operating expenses, interest, and taxes. A high gross margin can still produce a low or negative net margin if overhead or other costs are large.
Why does this calculator also show a markup equivalent?
Markup and margin describe the same profit spread from different reference points — markup divides profit by cost, while margin divides profit by revenue. Showing both makes it easier to translate between cost-based pricing rules and revenue-based targets without recalculating by hand.
What gross margin is considered healthy?
Healthy gross margin varies significantly by industry. Software and services businesses often carry margins well above 50 percent, while physical-goods retailers may operate closer to 20 to 30 percent. Comparing against industry benchmarks is more meaningful than a single universal threshold.

Tool

Run the calculation

$
$

Result

RESULT · MARGIN

â„–167

$200,000.00 in revenue minus $120,000.00 in cost of goods leaves $80,000.00 in gross profit, which is a 40.00% gross margin.

Revenue
$200,000.00
Cost of goods
$120,000.00
Gross profit
$80,000.00
Markup equivalent
66.67%

Step-by-step solution

  1. 1.Subtract cost of goods from revenue to find gross profit: $200,000.00 - $120,000.00 = $80,000.00.
  2. 2.Divide gross profit by revenue to convert profit dollars into a margin ratio.
  3. 3.Express the ratio as a percent to read the final margin of 40.00%.

Walkthrough

Visual walkthrough

Margin answers how much of each revenue dollar is left after direct product cost is covered.

  1. 01

    Start with revenue and direct cost

    $200,000.00 - $120,000.00 = $80,000.00

    Gross profit is the dollar spread between what the sale brings in and what the product costs to deliver.

  2. 02

    Scale profit by revenue

    $80,000.00 ÷ $200,000.00

    Dividing by revenue turns raw dollars into a share of each sales dollar.

  3. 03

    Read the gross margin

    The resulting percent is the portion of revenue left over before overhead, operating expense, and taxes.

    40.00% margin