> ## 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.

# New Customer Total COGS: First-Time Buyer Cost of Goods

> Track total cost of goods sold for new customer orders. Combines product COGS and user-defined COGS for first-time buyers in Shopify.

<Tip>
  New Customer Total COGS measures the combined product costs and user-defined COGS for first-time buyer orders.
</Tip>

## Formula

<Info>
  **NC Total COGS** = **NC COGS** + **NC Other COGS**
</Info>

### Formula Components

| Metric                                                                                            | Definition                                       |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [**NC COGS**](/reference/metrics/orders/cogs/new-customer-cogs)                                   | Product cost of goods sold for first-time buyers |
| [**NC Other COGS**](/reference/metrics/orders/cogs/new-customer-other-cogs)                       | User-defined COGS for first-time buyers          |
| [**customer\_type = new\_customer**](/data-dictionary/measures-and-dimensions#visitor-dimensions) | Filters to first-time buyer orders               |

| Metadata        |                                                                                      |
| --------------- | ------------------------------------------------------------------------------------ |
| **Type**        | Currency                                                                             |
| **Data Source** | [Shopify](/sources/catalog/shopify), [Upstack Costs](/sources/catalog/upstack-costs) |
| **Aggregation** | Sum                                                                                  |

***

## Example

Your Shopify store incurred \$18,600 in total COGS for 600 new customer orders.

| Cost Category     | Value        |
| ----------------- | ------------ |
| NC Product COGS   | \$18,000     |
| NC Other COGS     | \$600        |
| **NC Total COGS** | **\$18,600** |

***

## How It Works

New Customer Total COGS combines the product-level cost of goods (pulled from Shopify variant costs) with any user-defined COGS entries configured in cost settings. This total is deducted from new customer net revenue to calculate NC CM1 (gross margin).

***

## When to Use

| Scenario                          | Action                                                 |
| --------------------------------- | ------------------------------------------------------ |
| Calculating NC gross margin       | NC Net Revenue − NC Total COGS = NC CM1                |
| Comparing NC vs RC product costs  | Track if first-time buyers purchase different products |
| Analyzing acquisition product mix | NC Total COGS/order reveals starter product costs      |
| Setting margin targets            | Ensure NC Total COGS allows for acceptable CM1         |

***

## Related Metrics

| Metric                                                                                        | Relationship                 |
| --------------------------------------------------------------------------------------------- | ---------------------------- |
| [New Customer COGS](/reference/metrics/orders/cogs/new-customer-cogs)                         | Product-level COGS component |
| [New Customer Other COGS](/reference/metrics/orders/cogs/new-customer-other-cogs)             | User-defined COGS component  |
| [Returning Customer Total COGS](/reference/metrics/orders/cogs/returning-customer-total-cogs) | Total COGS for repeat buyers |

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