ROT

Gross Margin Calculator

The cleanest read on how much of every sales dollar you actually keep after paying for the goods. Gross margin drives every downstream financial decision in retail: what to price, what to promote, what to keep on the shelf. This calculator returns the margin percent plus the markup equivalent, cost-as-percent-of-revenue, and the price-to-cost multiplier so operators can translate between the three lenses in one view.

Inputs

Enter your numbers

$

Net selling price after refunds and returns. Do NOT include sales tax. For a single SKU use unit selling price. For a category use net revenue for the period.

$

Landed cost of the goods sold: supplier invoice plus inbound freight, duty and direct handling. Do NOT include store rent, payroll or marketing (those belong in operating margin, not gross margin).

Result

Your calculation

Gross Margin

40.00%

Gross Profit

$400.00

Markup Equivalent

66.67%

COGS as % of Revenue

60.00%

Price-to-Cost Multiplier

1.67x

Revenue

$1000.00

COGS

$600.00

Formula Used

Gross Margin % = ((Revenue − COGS) ÷ Revenue) × 100

Formula

How the number is calculated

Gross Margin % = ((Revenue − COGS) ÷ Revenue) × 100

Gross margin is the percentage of revenue that remains after paying for the goods you sold. It answers one question every retailer needs to know: for every dollar the customer paid, how much is left to cover rent, payroll, marketing and profit? A 40 percent gross margin means 40 cents of every dollar is available for everything downstream, and 60 cents already went to the supplier. Two nuances trip most first-time users. First, gross margin uses NET revenue (after refunds, returns, and excluding sales tax), not gross sales. Using the wrong revenue base overstates margin by 2 to 4 percent depending on return rate. Second, COGS must be fully landed cost, which means supplier invoice plus inbound freight, duty and direct handling labor. Retailers who use supplier invoice alone systematically overstate gross margin by 3 to 8 percent, and the gap grows for offshore-sourced goods. Get both inputs right and gross margin becomes the anchor from which pricing, markup, ROI and inventory turnover decisions get sanity-checked.

Worked Example

A specialty apparel retailer sells a jacket for $200. The supplier invoice was $110. Inbound freight, duty and direct handling added another $10, so landed COGS = $120. Gross Margin = ((200 − 120) / 200) × 100 = 40 percent. Gross profit = $80 per unit. The markup equivalent is 66.67 percent (calculated on cost), which is why the same product looks like a 40 percent margin to finance and a 67 percent markup to the buyer. Now the what-ifs. Push the retail price to $220 through a modest premium positioning: gross margin climbs to 45.5 percent and gross profit rises to $100 per unit. That is a 25 percent lift in gross profit dollars from a 10 percent price increase, which is why sustained pricing power is the single highest-leverage line item on the retail P&L. Cut price to $170 for a promotion: gross margin falls to 29.4 percent and gross profit drops to $50 per unit, meaning the retailer has to sell 60 percent more units at $170 than at $200 just to hold gross profit dollars flat. This is the math that makes reckless promotional pricing so expensive. Renegotiate the landed COGS down to $100 through better sourcing: gross margin rises to 50 percent at the original $200 price, and gross profit jumps to $100 per unit. A 17 percent cost reduction produces the same $100 gross profit as a 10 percent price increase, but does so silently, without touching the customer-visible price ladder. That is why category managers with strong supplier negotiation skills tend to outperform those who rely on price hikes to lift margin.

Frequently Asked Questions

What is a good gross margin in retail?+

It varies dramatically by category. Grocery and convenience: 20 to 30 percent. Consumer electronics: 15 to 25 percent. Apparel and fashion: 45 to 60 percent. Health and beauty: 30 to 45 percent. Furniture and home decor: 35 to 50 percent. Jewelry and luxury: 45 to 65 percent. Benchmark against direct competitors in the same vertical, not against cross-category averages. The Gross Margin Guide has the full benchmark table with operating context for each range.

Is gross margin the same as markup?+

No, and mixing them up is the single most common pricing mistake in retail. Margin is calculated as a percentage of REVENUE. Markup is calculated as a percentage of COST. A 40 percent margin equals a 66.67 percent markup on the same item. The Markup Calculator does the translation and the Gross Margin Guide has the full conversion table.

Should sales tax be included in revenue?+

No. Use NET revenue (excluding sales tax, VAT, or any pass-through consumer levy). Sales tax belongs to the government, not the retailer, and including it in the numerator inflates gross margin by the tax rate. Refunds and returns should also be netted out for the same reason: they never contributed to gross profit.

Does gross margin include operating expenses?+

No. Gross margin only subtracts COGS (landed cost of goods sold). Rent, payroll, marketing, utilities and depreciation belong in operating margin (also called EBIT margin), not gross margin. This is deliberate: gross margin measures product economics, and operating margin measures the whole business. Mixing them defeats the analytical purpose of each metric.

What should be included in COGS?+

Fully landed cost: supplier invoice, inbound freight, duty, direct handling labor at receiving, and any inspection cost. Retailers who use supplier invoice alone systematically overstate gross margin by 3 to 8 percent, and the gap grows for offshore-sourced goods. On direct-import categories with heavy freight, freight alone can be 10 to 15 percent of landed cost.

How is gross margin related to GMROI?+

GMROI (Gross Margin Return on Inventory Investment) = Gross Margin percent × Inventory Turnover. It measures the return each dollar of inventory generates. A 40 percent margin at 5x turn produces GMROI of 2.0. A 30 percent margin at 8x turn produces GMROI of 2.4. Chasing turn without watching margin (or vice versa) trades one metric for the other. GMROI keeps both honest, and the Inventory Turnover Guide covers the interaction in depth.

How much does a 1 percent margin improvement matter?+

It scales linearly with revenue. On $1M revenue, one percentage point of gross margin equals $10,000 in gross profit. On $100M revenue, the same one point equals $1M. For most retailers, the fastest path to a full percentage point improvement is a mix of supplier renegotiation on the top-20 SKUs (typically 2 to 4 percent COGS reduction achievable), private label expansion (5 to 15 percent margin lift on cost-parity categories), and disciplined markdown management (1 to 2 percent margin retention through earlier action).

Why does my gross margin drop during promotions?+

Because promotional pricing directly reduces the revenue side of the equation while COGS stays fixed. A 20 percent discount on a 40 percent margin item drops margin to 25 percent, meaning the retailer needs to sell 60 percent more units just to hold gross profit dollars flat. This is why unplanned or reactive promotions destroy annual margin so quickly. Planned promotions with clear volume elasticity assumptions are a different conversation. See the Markdown Calculator for the full math on markdown impact.

How often should I calculate gross margin?+

Category-level margin should be reviewed weekly. SKU-level margin should be pulled at minimum monthly, with quarterly deep dives on the bottom decile. Aged inventory should trigger an automatic margin re-check because carrying cost compounds against gross profit every additional week. Merchandising teams that see margin only in the quarterly close are already 60 to 90 days behind on decisions they could have made in real time.

What are the most common gross margin mistakes?+

Four show up repeatedly. Using supplier invoice as COGS instead of fully landed cost. Confusing margin with markup during pricing decisions. Including sales tax in revenue. And celebrating category margin without checking whether high-margin SKUs are actually turning through. The last one is where GMROI becomes essential, because a 60 percent margin on inventory that never sells produces zero return. The Gross Margin Guide covers each with a specific fix.

Related Articles

Deep-dive guides that explain the math behind this calculator.

Related Calculators

Markup Calculator

Set a selling price from cost or reverse-engineer the markup baked into an existing price. Markup is the buyer’s language of pricing (percent added on top of cost), while margin is the finance language (percent kept from revenue). This calculator returns markup percent alongside profit per unit, the margin equivalent, and the price-to-cost multiplier so pricing decisions get made in the right language across both teams.

Open

ROI Calculator

Calculate return on investment for any retail project, marketing campaign, or capital purchase.

Open

Inventory Turnover Calculator

Measure how many times a year your average inventory sells through and gets replaced. The single most consequential operational KPI in retail. It connects buying decisions, warehouse cash, markdown risk, and finance targets into one number. This calculator returns the turn ratio, converts it into days and weeks of supply, and shows how much working capital a one-turn improvement releases.

Open

Days Inventory Outstanding Calculator

Convert your inventory position into a number finance actually reads: the average days of cash sitting on the warehouse floor. DIO is the same measurement as inventory turnover in days instead of a ratio, and it maps directly onto working capital, cash conversion cycle and reorder cadence. This calculator returns DIO, weeks of supply, implied turnover, and the exact cash a 10-day DIO improvement would release.

Open

ABC Analysis Calculator

Paste a list of SKUs and their revenue and get an instant A / B / C classification. Use the output to set service levels, safety stock, and buying priority the way experienced planners do.

Open

Explore Related Resources

Handpicked benchmarks, templates and guides to help you dig deeper.

Five core calculators every buyer, merchandiser and category manager reads together. Open the metric that is behind, and let the others sanity-check it.