> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Returning Customer COGS Per Order: Average Cost for Repeat Orders

> Track average cost of goods sold per returning customer order. Understand repeat buyer cost structure for LTV and margin analysis.

<Tip>
  Average product cost per returning customer order—compare to new customers to assess cost mix differences.
</Tip>

## Formula

<Info>
  **Returning Customer COGS Per Order** = [**Returning Customer COGS**](/reference/metrics/orders/cogs/returning-customer-cogs) ÷ [**Returning Customer Orders**](/reference/metrics/orders/counts/returning-customer-orders)
</Info>

### Formula Components

| Metric                                                                                      | Definition                                  |
| ------------------------------------------------------------------------------------------- | ------------------------------------------- |
| [**Returning Customer COGS**](/reference/metrics/orders/cogs/returning-customer-cogs)       | Total product costs for repeat buyer orders |
| [**Returning Customer Orders**](/reference/metrics/orders/counts/returning-customer-orders) | Number of orders from repeat buyers         |

| Metadata        |                                                                         |
| --------------- | ----------------------------------------------------------------------- |
| **Type**        | Currency                                                                |
| **Data Source** | [Shopify](/sources/shopify), [Upstack Costs](/dashboard/settings/costs) |
| **Aggregation** | Ratio                                                                   |

***

## Example

Your store had **\$24,680** in returning customer COGS across **589** repeat orders:

| Segment             | COGS     | Orders | COGS/Order |
| ------------------- | -------- | ------ | ---------- |
| Returning Customers | \$24,680 | 589    | \$41.90    |
| New Customers       | \$18,340 | 412    | \$44.51    |

Returning customers have lower COGS per order—they buy fewer starter bundles and more replenishment items.

***

## How It Works

Divides Returning Customer COGS by the count of returning customer orders. This metric reveals the average product cost burden for repeat transactions, helping you understand whether returning customers are buying higher or lower-cost products compared to new customers.

***

## When to Use

| Scenario             | Action                                           |
| -------------------- | ------------------------------------------------ |
| LTV modeling         | Factor into repeat-order profit calculation      |
| Product mix analysis | See if repeat buyers shift to different products |
| Retention strategy   | Understand cost impact of loyalty programs       |
| Segment comparison   | Compare to NC COGS/Order for insights            |

***

## Related Metrics

| Metric                                                                                    | Relationship              |
| ----------------------------------------------------------------------------------------- | ------------------------- |
| [Returning Customer COGS](/reference/metrics/orders/cogs/returning-customer-cogs)         | Total costs (numerator)   |
| [Returning Customer Orders](/reference/metrics/orders/counts/returning-customer-orders)   | Order count (denominator) |
| [COGS Per Order](/reference/metrics/orders/cogs/cogs-per-order)                           | All-customer average      |
| [New Customer COGS Per Order](/reference/metrics/orders/cogs/new-customer-cogs-per-order) | First-time buyer average  |

[See all COGS metrics →](/reference/metrics/orders/cogs)
