Gross Margin Calculator

Calculate gross margin from Revenue and Cost of Goods Sold (COGS). See your gross profit, percentage, and a quick interpretation.

$
$
%

Results

  • Gross Profit $
  • Gross Margin %
  • Category
  • Revenue $
  • COGS $
  • Benchmark Gross Margin %
  • Gross Margin − Benchmark %

What is Gross Margin?

Gross margin (gross profit margin) is the percentage of net revenue left after subtracting cost of goods sold (COGS).

It shows how efficiently a company turns sales into gross profit before operating expenses, and is a core signal of pricing power, cost discipline, and scalability in the value-creation chain.

Investors, lenders, and management track gross margin to compare profitability across products, business models, and competitors, and to assess whether there is enough spread to fund operating expenses, growth capex, and debt service.

Formula

In percentage terms, gross margin is:

Where:

  • Revenue (Net Sales) = sales after returns, discounts, and allowances
  • COGS = direct costs tied to producing or delivering goods/services (materials, direct labor, manufacturing or service delivery costs)

Gross profit in currency terms is:

Example

A company reports:

  • Revenue (Net Sales): $100,000
  • Cost of Goods Sold (COGS): $60,000

Step 1 – Compute gross profit:

$100,000 − $60,000 = $40,000 gross profit.

Step 2 – Compute gross margin:

Gross Margin = $40,000 ÷ $100,000 × 100% = 40%.

A 40% gross margin means the company retains $0.40 of gross profit for every $1 of revenue to cover operating expenses, contribute to EBITDA and operating margin, and ultimately support ROIC and equity value creation.

How to Use the Gross Margin Calculator

Use this calculator to turn your revenue and COGS into a clear gross margin %, then compare it to a healthy benchmark range so you know if your pricing and direct costs are on track.

  1. Enter your Revenue (Net Sales)

    • In the left input, type your total revenue for the period (after returns, allowances, and discounts).
  2. Enter your Cost of Goods Sold (COGS)

    • In the right input, enter all direct product costs for the same period (materials, production, shipping-in, etc.).
  3. Review the core results

    • The Results panel shows your Gross Profit and Gross Margin %. The margin is calculated as:
  4. Interpret the “What It Means” section

    • Check the health label (e.g., “Healthy Margin”) and the category band (such as 40–60%) to quickly understand how strong your margin is and whether you should adjust pricing or costs.
  5. Use scenarios, benchmarks, and reset

    • (Optional) Toggle “Compare to Benchmark” or use the “Scenarios” dropdown to compare your margin against target ranges, then hit “Reset” to clear the inputs and test a new revenue/COGS combination. You can also expand “Show charts (optional)” for a visual view of your margin over scenarios.

Frequently Asked Questions

Methodology & Sources

Bibliography

  1. (n.d.). Setting Your Price: Understanding Gross Margin — University of Minnesota
    Accessed 2025-11-28
  2. (n.d.). Financial Statement Analysis and Interpretation – 5.1.2 Gross Profit Margin — OpenLearn, The Open University
    Accessed 2025-11-28
  3. (n.d.). Product Pricing and Breakeven Concept — Mississippi State University Extension
    Accessed 2025-11-28