Skip to main content
The total cost of goods sold, combining product variant costs from Shopify and user-defined COGS entries.

Formula

Total COGS = COGS + Other COGS

Formula Components

MetricDefinition
COGSProduct-level cost of goods from Shopify variants
Other COGSUser-defined cost entries with category COGS
Metadata
TypeCurrency
Data SourceShopify, Upstack Costs
AggregationSum

Example

Your store had $16,900 in Total COGS for January:
ComponentValueSource
Product COGS$12,400Shopify variants
Packaging materials$2,150Cost entry
Import duties$1,460Cost entry
Quality inspection$890Cost entry
Total COGS$16,900Combined

How It Works

Total COGS combines two sources: product variant costs from Shopify (COGS) and any additional cost-of-goods entries you’ve configured (Other COGS). This complete picture of goods costs is deducted from Net Revenue to calculate CM1—your first contribution margin.

When to Use

ScenarioAction
Calculating CM1Subtract Total COGS from Net Revenue
Margin analysisUse for accurate gross profit calculations
Cost trackingMonitor all goods costs in one metric
Product profitabilityCompare Total COGS against revenue

MetricRelationship
COGSProduct costs only (this metric includes it)
Other COGSUser-defined costs (this metric includes it)
CM1Net Revenue − Total COGS
Net RevenueRevenue used in CM1 calculation
Gross ProfitRelated margin metric
See all COGS metrics →