Skip to main content
The profit remaining after subtracting cost of goods sold (COGS) from gross revenue.

Formula

Product Margin = Gross Revenue โˆ’ COGS

Formula Components

MetricDefinition
Gross RevenueTotal revenue from order line items before discounts and adjustments
COGSCost of goods sold based on product costs in Shopify
Metadata
TypeCurrency
Data SourceShopify
AggregationSum

Example

Your store generated $85,000 in gross revenue with $42,500 in COGS:
PeriodGross RevenueCOGSProduct Margin
January$85,000$42,500$42,500
February$92,000$44,160$47,840
March$78,000$39,780$38,220
Product Margin shows how much profit remains from each sale before fulfillment, transaction costs, and marketing expenses are deducted.

How It Works

Product Margin calculates the difference between what you charge customers and what you paid for the products. COGS is pulled from product cost data in Shopify. This metric represents your first layer of profitability before operational costs.

When to Use

ScenarioAction
Evaluating product profitabilityCompare margin across product lines or SKUs
Pricing decisionsEnsure prices cover costs and target margin
Supplier negotiationsIdentify products where COGS reduction would have the biggest impact
Product mix optimizationShift marketing toward higher-margin products

MetricRelationship
Gross RevenueRevenue component in the Product Margin calculation
COGSCost component subtracted from revenue
Contribution MarginProduct Margin minus additional variable costs
Net RevenueRevenue after discounts and refunds
See all Product Margin metrics โ†’