Gross Margin Calculator

Enter revenue and cost of goods sold to get gross profit and gross margin.

Quick answer

What is gross margin? Gross margin is the share of revenue left after paying the direct cost of the goods you sold (COGS). Gross margin = (revenue − COGS) ÷ revenue × 100.

Gross margin formula

Gross margin = (revenue − cost of goods sold) ÷ revenue × 100

It shows how much each sale contributes before overheads. It is the number to track month to month as your sourcing and pricing change.

Worked examples

1. $1,000 revenue, $650 COGS

Gross profit $350.00, gross margin 35%.

2. A reseller's year: $48,000 sales, $21,600 inventory cost

Gross profit $26,400.00, gross margin 55%. Fees, shipping supplies and mileage come out after this.

3. A loss month: $5,000 sales, $5,400 COGS

Gross margin -8%. Usually a sign of clearance pricing or a sourcing problem.

How to improve gross margin

Frequently asked questions

What is gross margin?

Gross margin is the share of revenue left after paying the direct cost of the goods you sold (COGS). Gross margin = (revenue − COGS) ÷ revenue × 100.

What goes into cost of goods sold?

For a reseller: what you paid for the items you sold, plus inbound shipping to you. For a maker: materials and direct labor. Platform fees, ads and rent are usually operating expenses, not COGS.

What is the difference between gross margin and gross profit?

Gross profit is a dollar amount (revenue − COGS). Gross margin is that amount as a percentage of revenue. $1,000 revenue and $650 COGS gives $350.00 gross profit and a 35% gross margin.

What is a good gross margin?

It varies widely: grocery stores often run under 30%, while software and handmade goods can exceed 60%. Resellers buying at thrift prices often reach 60% or more.

Can gross margin be negative?

Yes, if COGS is higher than revenue. $5,000 revenue with $5,400 COGS is -8%.

Is gross margin the same as profit margin?

Gross margin is one kind of profit margin. Net profit margin subtracts every expense, not just COGS.

Fees change often. See every platform side by side in our 2026 seller fees table and every recent change on our fee changes log.

Last updated: . Estimates only. Fees can change; check the platform before you list. Found an error? Tell us and we will fix it.