Skip to main content
Agency Fees tracks user-defined agency costs from order cost entries. These fees are deducted from CM3 to calculate CM4.

Formula

Agency Fees = SUM ( Order Cost Entries ) WHERE category = Agency Fees

Formula Components

MetricDefinition
Order Cost EntriesUser-defined costs configured in Upstack Cost Settings
category = Agency FeesFilters to costs categorized as agency fees
Metadata
TypeCurrency
Data SourceUpstack Costs
AggregationSum

Example

Your Shopify store has $15,000 in agency fees configured across 500 orders.
MetricValueCalculation
Total Orders500All orders in period
Agency Fees$15,000Sum of agency cost entries
Agency Fees Per Order$30.00$15,000 ÷ 500
Agency fees represent the costs of external marketing agencies and consultants that manage your advertising.

How It Works

Agency Fees are pulled from cost entries you configure in Upstack Cost Settings. They can be set as flat fees per order, percentage of revenue, or fixed monthly amounts allocated across orders. These costs are deducted after CM3 to calculate CM4.

When to Use

ScenarioAction
Full profitability analysisInclude agency fees in contribution margin
Agency ROI evaluationCompare agency costs to incremental revenue
Cost structure planningUnderstand agency impact on margins
In-house vs agency comparisonModel cost differences

MetricRelationship
NC Agency FeesAgency fees for new customer orders
RC Agency FeesAgency fees for returning customer orders
OpexOperating expenses, also deducted for CM4
Marketing CostOther marketing costs
See all Contribution Margin metrics →