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

# Cost per Fulfillment: Ad Efficiency for Fulfilled Orders

> Track your cost per fulfilled order in Shopify. Calculate ad spend efficiency for orders that completed fulfillment to optimize your marketing ROI.

<Tip>
  Cost per Fulfillment measures the average advertising spend required to generate one fulfilled order in your Shopify store.
</Tip>

## Formula

<Info>
  **Cost per Fulfillment** = **Channel Spend** ÷ **Order Fulfilled Events**
</Info>

### Formula Components

| Metric                     | Definition                                                                 |
| -------------------------- | -------------------------------------------------------------------------- |
| **Channel Spend**          | Total advertising spend across all connected ad platforms                  |
| **Order Fulfilled Events** | Total orders that reached fulfillment status, tracked by the Upstack pixel |

| Metadata        |                         |
| --------------- | ----------------------- |
| **Type**        | Currency                |
| **Data Source** | [Upstack Pixel](/pixel) |
| **Aggregation** | Ratio                   |

***

## Example

Your Shopify store spent **\$15,000** on advertising in March and fulfilled **750 orders** during the same period.

| Metric                   | Value       | Calculation      |
| ------------------------ | ----------- | ---------------- |
| Channel Spend            | \$15,000    | Total ad spend   |
| Fulfilled Orders         | 750         | Orders completed |
| **Cost per Fulfillment** | **\$20.00** | \$15,000 ÷ 750   |

***

## How It Works

Cost per Fulfillment divides your total advertising spend by the number of orders that were successfully fulfilled. Unlike Cost per Purchase, this metric only counts orders that progressed past payment to actual fulfillment, giving you a more accurate picture of customer acquisition cost for completed transactions.

***

## When to Use

| Scenario                         | Action                                                                                |
| -------------------------------- | ------------------------------------------------------------------------------------- |
| Evaluating true acquisition cost | Use this metric to exclude cancelled or unfulfilled orders from your CPA calculations |
| Comparing channel efficiency     | Identify which ad platforms drive the most cost-effective fulfilled orders            |
| Subscription box businesses      | Track acquisition cost for orders that actually ship to customers                     |
| High-cancellation product lines  | Get accurate CPA by focusing on orders that complete fulfillment                      |

***

## Related Metrics

| Metric                                                                                 | Relationship                                                   |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [Cost per Purchase](/reference/metrics/funnel/conversions/cost-per-purchase)           | Cost per completed purchase (regardless of fulfillment status) |
| [Cost per Order Shipped](/reference/metrics/funnel/conversions/cost-per-order-shipped) | Cost per order that entered shipping status                    |
| [Fulfillments](/reference/metrics/funnel/conversions/fulfillment)                      | Total count of fulfilled orders                                |

[See all Conversions metrics →](/reference/metrics/funnel/conversions)
