Skip to main content
The total cost of products sold, including manufacturing or purchase costs.

Formula

COGS = SUM ( Product Cost × Quantity )

Formula Components


Example

Your store sold $125,000 in January with $47,500 in product costs:

How It Works

COGS sums the cost-per-item values from your Shopify product variants multiplied by units sold. If product costs aren’t set in Shopify, those items contribute $0 to COGS. You can also override COGS in Upstack Cost Settings (e.g., “10% of net revenue”).

When to Use


See all COGS metrics →