Calculator
Contribution Margin Calculator
Understand contribution margin, CAC, and where your profit actually landed for the period.
Inputs
Enter one period of actuals (a month, quarter, or year).
The period of the actuals (a month, quarter, or year).
Revenue from your DTC store (Shopify/BigCommerce), before discounts/refunds.
Number of orders from your DTC store (Shopify/BigCommerce).
Revenue from Amazon for the same period (optional).
Number of orders from Amazon for the same period (optional).
Shipping revenue collected from customers.
Total discounts applied in the period.
Total refunds issued in the period.
COGS
Total cost of goods sold for the period.
Total variable costs excluding ad spend (payment fees, fulfillment, shipping paid by brand, packaging, etc.).
Total ad spend for the period (Meta, Google, etc.).
Results
Contribution margin computed from your actuals.
January 2026 Results
Gross revenue (ecom + amazon)$300,000
Shipping & handling (charged)$8,000
Discounts$50,000
Refunds$25,000
Net revenue$233,000
COGS$120,000
Gross profit$113,000
Gross margin %48.5%
Variable costs (non-ad)$60,000
Ad spend$90,000
Total variable costs$150,000
Contribution margin-$37,000
Contribution margin %-12.3%
CAC (Customer Acquisition Cost)$90
ROAS2.59
Contribution Margin Breakdown
This is the manual version.
Profit Compass automates this daily by connecting Shopify + ad platforms, so contribution margin is always up to date.
All calculations run locally in your browser. No data is stored.