What counts as cost of goods sold
- Products bought for resale, or raw materials for products you make
- Direct labor to make the product
- Freight in, packaging, and manufacturing overhead tied to production
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
- Add up revenue for the period (sales minus returns and discounts).
- Add up cost of goods sold for the same period.
- Gross profit = revenue − COGS.
- 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.