Skip to main content
Opex tracks user-defined operating expenses from order cost entries. These costs are deducted from CM3 to calculate CM4.

Formula

Opex = SUM ( Order Cost Entries ) WHERE category = Operating Expenses

Formula Components

MetricDefinition
Order Cost EntriesUser-defined costs configured in Upstack Cost Settings
category = Operating ExpensesFilters to costs categorized as opex
Metadata
TypeCurrency
Data SourceUpstack Costs
AggregationSum

Example

Your Shopify store has $25,000 in operating expenses allocated across 500 orders.
MetricValueCalculation
Total Orders500All orders in period
Opex$25,000Sum of opex cost entries
Opex Per Order$50.00$25,000 ÷ 500
Operating expenses include overhead costs like rent, salaries, software subscriptions, and other fixed business costs.

How It Works

Opex is pulled from cost entries you configure in Upstack Cost Settings. Fixed monthly costs are allocated across orders in the period. These costs are deducted after CM3 to calculate CM4, giving you a complete view of business profitability.

When to Use

ScenarioAction
Complete profitability analysisInclude opex in contribution margin
Break-even analysisUnderstand minimum revenue needed to cover opex
Scaling decisionsModel how opex changes with volume
Cost allocationTrack opex impact per order

MetricRelationship
NC OpexOperating expenses for new customer orders
RC OpexOperating expenses for returning customer orders
Agency FeesAgency costs, also deducted for CM4
Total CostAll costs combined
See all Contribution Margin metrics →