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

# Variable Costs Per Order: Average Variable Cost Per Transaction

> Track average variable costs per order including handling, gateway, shipping, and other fees. Essential for unit economics and pricing analysis.

<Tip>
  Average variable cost per order—shows the per-transaction burden of handling, gateway, shipping, and other operational fees.
</Tip>

## Formula

<Info>
  **Variable Costs Per Order** = [**Variable Costs**](/reference/metrics/orders/cogs/variable-costs) ÷ [**Total Orders**](/reference/metrics/orders/counts/total-orders)
</Info>

### Formula Components

| Metric                                                              | Definition                                  |
| ------------------------------------------------------------------- | ------------------------------------------- |
| [**Variable Costs**](/reference/metrics/orders/cogs/variable-costs) | Handling + Gateway + Shipping + Other costs |
| [**Total Orders**](/reference/metrics/orders/counts/total-orders)   | Number of orders placed                     |

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

***

## Example

Your store had **\$18,421** in variable costs across **1,842** orders:

| Metric                       | Value       |
| ---------------------------- | ----------- |
| Variable Costs               | \$18,421    |
| Total Orders                 | 1,842       |
| **Variable Costs Per Order** | **\$10.00** |

Each order incurs \$10.00 in variable operational costs on average.

***

## How It Works

Divides total Variable Costs by order count. This metric helps you understand the fixed-cost-like burden of per-order operational fees. Add this to COGS Per Order to see the total cost per transaction before margin.

***

## When to Use

| Scenario            | Action                                            |
| ------------------- | ------------------------------------------------- |
| Unit economics      | Calculate per-order profit after all costs        |
| Pricing floors      | Ensure AOV covers COGS + Variable Costs per order |
| Cost optimization   | Identify which variable costs are highest         |
| Break-even analysis | Factor into minimum order value                   |

***

## Related Metrics

| Metric                                                                    | Relationship                           |
| ------------------------------------------------------------------------- | -------------------------------------- |
| [Variable Costs](/reference/metrics/orders/cogs/variable-costs)           | Total costs (numerator)                |
| [Total Orders](/reference/metrics/orders/counts/total-orders)             | Order count (denominator)              |
| [Variable Costs %](/reference/metrics/orders/cogs/variable-costs-percent) | As percentage of revenue               |
| [COGS Per Order](/reference/metrics/orders/cogs/cogs-per-order)           | Product cost per order (add for total) |

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