Skip to main content
Cost of goods sold for orders placed by returning customers—used to calculate repeat buyer gross margin.

Formula

Returning Customer COGS = SUM ( Product Cost ) WHERE customer_type = returning_customer

Formula Components


Example

Your returning customers generated $24,680 in COGS this month from 589 repeat orders: Returning customers have better margins—they buy fewer discounted starter products.

How It Works

Returning Customer COGS sums the product costs for all orders placed by repeat buyers during the selected period. Product costs come from Shopify variant cost data. Compare to new customer COGS to understand how product mix differs by customer segment.

When to Use


See all COGS metrics →