Gross profit margin (retail)
Gross profit margin in retail is gross profit — net revenue minus the cost of goods sold — divided by net revenue, as a percentage. It measures how much of each sales dollar is left after the cost of the merchandise itself, before operating expenses. It is distinct from markup (profit over cost) and is reduced by discounts and returns, which is why it is computed on net rather than gross sales.
What this means
Gross profit margin = (net revenue − COGS) ÷ net revenue, as a percentage. Net revenue is gross sales less discounts and returns. COGS is the cost of the merchandise sold. The margin shows the share of each net sales dollar remaining to cover store operations, marketing, and profit.
Margin versus markup
Margin and markup are often confused. Markup is gross profit divided by cost; margin is gross profit divided by revenue. The same dollar of profit yields a higher markup percentage than margin percentage because the denominators differ. Pricing decisions made on markup must be converted to margin to understand profitability per sale.
- Gross profit margin = (net revenue − COGS) ÷ net revenue
- Computed on net sales, after discounts and returns
- Margin (÷ revenue) ≠ markup (÷ cost)
Why it misleads
A blended gross profit margin hides product-level differences — high-margin and clearance items average together. It also excludes operating costs, so a healthy gross margin can still accompany an unprofitable business. Read it per category and alongside contribution and operating margin, not as the whole profitability picture.
How it appears in analytics and logs
A shrinking gross profit margin means merchandise cost, discounting, or returns are taking a larger bite of each sale — promotions or supplier-cost increases are eroding profitability before overhead.
Diagnostic use case
Use gross profit margin to track merchandise profitability per sales dollar, computing it on net revenue so discounts and returns are reflected, and distinguishing it from markup.
What WebmasterID can help detect
WebmasterID records purchase and refund events first-party, supplying net-revenue signals that pair with merchandise cost to compute margin.
Common mistakes
- Confusing margin (÷ revenue) with markup (÷ cost).
- Computing margin on gross sales, ignoring discounts and returns.
- Reading a blended margin that hides product-level spread.
Privacy and accuracy notes
Gross profit margin is computed from aggregate sales and cost figures, not personal data. This is educational, not legal or accounting advice.
Related pages
- Gross margin
Gross margin is revenue minus the cost of goods sold (COGS), divided by revenue, as a percentage. It shows how much of each revenue dollar remains after the direct cost of delivering the product, before operating expenses like sales and R&D. For software, what belongs in COGS — hosting, third-party APIs, support, payment fees — is a judgement call that materially changes the margin, so the definition must travel with the number.
- Discount rate (markdown rate)
Discount rate in retail (markdown rate) is the total value of discounts and markdowns divided by gross sales, as a percentage. It shows how much of potential revenue was given up to promotions, coupons, and clearance. It is distinct from the finance term 'discount rate' used in present-value calculations. A persistently high markdown rate erodes gross margin and can train customers to wait for sales rather than pay full price.
- Refund rate
Refund rate measures how much of what was sold is given back to buyers. It can be computed by count (refunded orders ÷ orders) or by value (refunded amount ÷ revenue), and partial refunds make these two diverge. GA4 has a dedicated refund event so refunds can be tracked rather than guessed. The metric is a quality and margin signal that erodes GMV and recognized revenue.
- Event Explorer
Purchase and refund events first-party.
Sources and verification notes
- U.S. SEC — GAAP basics (gross profit / COGS)GAAP gross-profit basis; retail margin formula is convention.
Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.