Skip to main content
The percentage of revenue remaining after subtracting the cost of goods sold.

Formula

Product Margin % = ( Gross RevenueCOGS ) ÷ Gross Revenue × 100

Formula Components


Example

Your store generated $50,000 in revenue with $30,000 in product costs, resulting in a 40% product margin:

How It Works

Product Margin % calculates the percentage of each revenue dollar that remains after covering product costs. Shopify provides product cost data through inventory settings or metafields. This metric aggregates across all line items in orders, weighted by revenue contribution.

When to Use


See all Product Margin metrics →