Skip to content
Margin Calculator
Menu

Gross Margin Calculator

Gross margin shows how much of each sale is left after the direct cost of what you sold. Enter revenue and cost of goods sold for a period.

Updated · Industry data: NYU Stern, January 2026

$
$

Gross margin

35.00%

$87,500 gross profit

Gross profit
$87,500
COGS as a share of revenue
65.00%
Markup on cost
53.85%

What counts as cost of goods sold

Not included: rent for the office, marketing, administrative salaries, interest and taxes. Those come out later, in operating and net margin. The profit margin calculator handles all three.

Gross margin vs gross profit

Gross profit is a dollar amount: revenue minus cost of goods sold. Gross margin is the same thing as a percentage of revenue. A store with $250,000 of sales and $162,500 of COGS has $87,500 of gross profit and a 35% gross margin. Use the dollar figure to see whether you can cover overhead, and the percentage to compare with other periods or businesses.

Gross margin vs markup

A 35% gross margin equals a markup of about 53.8% on cost. If your team prices with markup, convert before comparing with industry margins; see markup vs margin.

Gross margin vs operating and net margin

In NYU Stern's January 2026 data for U.S. companies outside finance, the average gross margin was 34.4%, operating margin 13.1% and net margin 8.6%. The gap between them is overhead, interest and tax.

How to calculate gross margin percentage, step by step

  1. Add up revenue for the period (sales minus returns and discounts).
  2. Add up cost of goods sold for the same period.
  3. Gross profit = revenue − COGS.
  4. Gross profit margin = gross profit ÷ revenue × 100.

That last number is the gross margin percentage. Using the example above: $87,500 ÷ $250,000 × 100 = 35%. Pricing a single product instead? The margin calculator does it per item, and the markup calculator works from cost.

Questions people ask

What is gross margin?

Revenue minus the direct cost of what you sold, as a percentage of revenue: what's left of each sale to cover overhead and profit.

What is the gross margin formula?

(Revenue − COGS) ÷ revenue × 100. $250,000 revenue, $162,500 COGS: $87,500 gross profit, a 35% gross margin.

Is gross margin the same as gross profit?

No. Gross profit is dollars; gross margin is those dollars as a percentage of revenue.

What is a good gross margin?

It varies by industry. Across U.S. non-financial public companies the average was about 34% (NYU Stern, January 2026): software near 72%, grocery near 26%. See margins by industry.

Sources

More margin calculators