> ## 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 Gross Rate: Repeat-Buyer Cost Ratio

> Measure returning customer COGS as a percentage of their gross revenue. Track repeat-buyer cost efficiency and compare margin ratios across segments.

<Tip>
  Returning customer COGS as a share of their gross revenue—shows what percentage of repeat-buyer revenue goes to product costs.
</Tip>

## Formula

<Info>
  **Returning Customer COGS Gross Rate** = ( [**Returning Customer COGS**](/reference/metrics/orders/cogs/returning-customer-cogs) ÷ [**Returning Customer Gross Revenue**](/reference/metrics/orders/revenue/returning-customer-gross-revenue) ) × 100
</Info>

### Formula Components

| Metric                                                                                                     | Definition                                              |
| ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| [**Returning Customer COGS**](/reference/metrics/orders/cogs/returning-customer-cogs)                      | Cost of goods sold for repeat buyer orders              |
| [**Returning Customer Gross Revenue**](/reference/metrics/orders/revenue/returning-customer-gross-revenue) | Gross revenue from returning customers before discounts |

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

***

## Example

Your returning customers generated **\$68,400** in gross revenue with **\$24,680** in product costs:

| Segment             | COGS     | Gross Revenue | COGS/Gross Rate |
| ------------------- | -------- | ------------- | --------------- |
| Returning Customers | \$24,680 | \$68,400      | 36.1%           |
| New Customers       | \$18,340 | \$47,200      | 38.9%           |

Returning customers have a lower COGS rate—they purchase higher-margin products without introductory bundles.

***

## How It Works

This metric divides Returning Customer COGS by Returning Customer Gross Revenue. Lower percentages indicate better cost efficiency. Unlike margins which show what you keep, this rate shows what percentage goes directly to product costs.

***

## When to Use

| Scenario              | Action                                                           |
| --------------------- | ---------------------------------------------------------------- |
| Segment cost analysis | Compare to new customer COGS rate for efficiency differences     |
| Margin benchmarking   | Track whether repeat buyers maintain cost efficiency over time   |
| Product mix review    | Identify if returning customers shift toward lower-cost products |
| Pricing validation    | Confirm retention pricing preserves healthy cost ratios          |

***

## Related Metrics

| Metric                                                                                                 | Relationship                              |
| ------------------------------------------------------------------------------------------------------ | ----------------------------------------- |
| [Returning Customer COGS](/reference/metrics/orders/cogs/returning-customer-cogs)                      | Numerator—product costs for repeat orders |
| [Returning Customer Gross Revenue](/reference/metrics/orders/revenue/returning-customer-gross-revenue) | Denominator—pre-discount revenue          |
| [COGS Gross Rate](/reference/metrics/orders/cogs/cogs-gross-rate)                                      | All-customer comparison                   |
| [New Customer COGS Gross Rate](/reference/metrics/orders/cogs/new-customer-cogs-gross-rate)            | First-time buyer comparison               |

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