SellerTrove
Pricing

Contribution Margin Calculator for Ecommerce Orders

A contribution number is honest only when its cost boundary is printed beside it.

By SellerTroveUpdated September 28, 2026 6 min read
business calculator ecommerce finance — guide overview.
Photo by RDNE Stock project on Pexels

Ecommerce contribution margin calculator

Contribution before fixed costs

$40.10

52.1% of $77.00 net order revenue remains.

This calculator runs in your browser and sends no inputs anywhere. Keep cohort rules and revenue treatment consistent when comparing periods.

Opening Answer

SellerTrove’s contribution margin calculator shows how much net revenue remains after order-level variable costs, before customer acquisition and fixed overhead. For an $80 order with $3 in discounts, net revenue is $77. Subtracting $24 COGS, $7 fulfillment, $2.70 payment fees, and a $3.20 returns allowance leaves $40.10 of contribution. The contribution margin is therefore:

$40.10 ÷ $77 × 100 = 52.1%

That $40.10 is the amount available to support acquisition costs, fixed operating expenses, taxes, and eventual profit. It is not net profit because fixed costs remain outside the calculation. A useful contribution margin is therefore not just a percentage; it is a percentage with a clearly printed cost boundary. The standard definition is consistent with the idea that contribution equals revenue minus variable costs. See the contribution margin definition.

This distinction makes the calculator useful for pricing, promotion, CAC limits, and break-even decisions. It also prevents an attractive margin percentage from hiding fulfillment, returns, payment, or discount costs. Use SellerTrove’s pricing tools to evaluate the operating stack, compare the result with the break-even ROAS calculator and return-cost calculator, then document the chosen workflow in the Stack Builder.

Table of Contents

What Does the Calculator Measure?

The calculator measures the money left from net revenue after costs that change with each order. Its core formula is:

Contribution = Net revenue − Variable costs

The percentage formula is:

Contribution margin % = Contribution ÷ Net revenue × 100

Net revenue should reflect the amount retained after discounts, credits, or other reductions that directly lower the order’s realized revenue. Variable costs should reflect costs caused by selling and fulfilling that order. The result is an operating contribution, not a final profit measure.

A contribution margin is different from gross margin because the boundary can include more than product cost. Gross margin often focuses on revenue less COGS, while contribution margin may also subtract fulfillment, payment processing, packaging, returns allowances, and other order-variable expenses. The correct comparison depends on the exact definitions printed beside each metric.

The calculator should therefore display its inputs, formulas, and exclusions together. The break-even point reference reinforces why contribution matters: contribution helps cover fixed costs before a business reaches profit.

Which Costs Belong Above Contribution?

Costs belong above contribution when they are reasonably driven by the order and would decline if the order did not occur. The boundary should be explicit enough that two operators can reproduce the same result.

Common order-variable costs include:

Cost categoryTypical treatment
Product costInclude COGS or unit cost tied to the items sold
FulfillmentInclude pick, pack, handling, and order-level warehouse charges
ShippingInclude the portion paid by the seller
Payment feesInclude percentage and per-transaction charges
ReturnsUse a realized cost or clearly defined allowance
DiscountsReduce net revenue rather than being counted twice
PackagingInclude packaging that scales with shipped orders
Variable commissionsInclude sales or marketplace fees tied to the transaction

Fixed salaries, rent, software subscriptions, and general administrative costs usually remain below contribution. They matter for total profitability but do not belong in an order-level contribution calculation unless the business has deliberately defined a different allocated metric.

Inventory and cost timing also need consistency. A repeatable method for recognizing inventory and related costs is more useful than switching methods whenever a result looks better. The accounting-period guidance provides context for consistent treatment of income, expenses, and inventory records.

How Do You Calculate a Worked Order?

The worked order produces $40.10 of contribution and a 52.1% contribution margin before acquisition cost.

Start with the listed order value of $80. Apply the $3 discount:

$80 − $3 = $77 net revenue

Then add the order-variable costs:

$24 COGS + $7 fulfillment + $2.70 payment fee + $3.20 returns allowance = $36.90

Finally, subtract those costs from net revenue:

$77 − $36.90 = $40.10 contribution

The percentage is:

$40.10 ÷ $77 × 100 = 52.1%

The calculation can be represented in a compact table:

MetricAmount
Listed order value$80.00
Discount−$3.00
Net revenue$77.00
COGS−$24.00
Fulfillment−$7.00
Payment fee−$2.70
Returns allowance−$3.20
Contribution$40.10
Contribution margin52.1%

Because acquisition cost has not yet been deducted, this is contribution before acquisition. It should not be labeled net profit. Fixed costs remain, and additional variable costs may exist if they are outside the selected boundary.

How Does Contribution Set CAC and ROAS Limits?

Contribution before acquisition sets the order-level ceiling for CAC, while the chosen revenue convention determines the ROAS calculation.

In the worked order, $40.10 is the maximum acquisition cost that would reduce contribution to zero before fixed costs, taxes, and other excluded expenses. A practical CAC target should normally be below that ceiling because the business still needs to support fixed operating costs and absorb uncertainty.

The basic relationship is:

Contribution after acquisition = Contribution before acquisition − CAC

For the example:

$40.10 − CAC = contribution after acquisition

If CAC is $20, the remaining contribution is $20.10. If CAC is $40.10, the order reaches a zero contribution result before fixed costs. If CAC is higher than $40.10, the order produces negative contribution under this boundary.

A contribution-based ROAS floor depends on whether ROAS uses net revenue or listed order revenue. Using net revenue:

Break-even ROAS = Net revenue ÷ Contribution before acquisition

$77 ÷ $40.10 ≈ 1.92x

This is a break-even ceiling or floor only under the stated definitions. It is not a universal advertising benchmark. The break-even point explanation is useful here because break-even depends on the relationship between contribution and costs that do not vary directly with each order.

How Should Operators Segment and Reconcile It?

The calculator becomes more useful when contribution is segmented by the dimensions that change its cost boundary.

Useful segments include:

  • Product or SKU
  • Order value band
  • New versus returning customer
  • Acquisition channel
  • Promotion or discount type
  • Shipping method
  • Region
  • Return-risk group
  • Subscription or one-time order

Each segment should use the same formulas while allowing different inputs where the economics genuinely differ. For example, shipping, return allowances, payment fees, and discounts may vary by order type. The calculation should preserve the distinction between observed costs and assumptions. A returns allowance is an estimate until it is reconciled with actual return and refund records.

Reconciliation should compare calculator inputs with order, payment, fulfillment, refund, and marketing records. Keep the measurement window consistent, and document whether the view is order-date, payment-date, shipment-date, or return-adjusted. Analytics dimensions and conversion definitions should also be aligned with the business’s order and revenue definitions; the analytics measurement guidance provides a reference for keeping event and conversion reporting structured.

The output should show both the result and the boundary:

Contribution margin: 52.1% before acquisition; excludes fixed costs and CAC

That label is more decision-useful than a percentage shown without context.

Sources

contribution margincontribution margin formulaunit economicsecommerce
How we know this: evidence comes from the linked primary sources and SellerTrove's structured catalog where noted. We're an independent directory — some outbound links are affiliate links, and we never sell ranking. See our methodology.

FAQ

Is contribution margin the same as gross margin?

No. Gross margin commonly subtracts COGS from revenue, while contribution margin can subtract a broader set of order-variable costs. SellerTrove’s calculator should state whether fulfillment, payment fees, returns, shipping, discounts, and packaging are included. The two metrics can be identical only when they use the same cost boundary.

Should ad spend be included?

Ad spend should be kept separate when the calculator is measuring contribution before acquisition. In that structure, contribution sets the maximum CAC that an order can support. If acquisition cost is included, label the result as contribution after acquisition and show the CAC input separately so the boundary remains visible.

Are refunds variable costs?

Refunds and return-related losses are usually variable when they arise from individual orders. They can be recorded as realized costs or represented through a returns allowance. Do not count the same refund once in reduced net revenue and again as a return cost unless the definition intentionally separates those effects.

Can contribution margin be negative?

Yes. Contribution margin is negative when variable costs exceed net revenue. This can happen through excessive discounts, high COGS, expensive fulfillment, payment fees, refunds, or acquisition costs. A negative result signals that the order does not help cover fixed costs under the selected boundary.

Get the data, not the hype

We track pricing and new tools across the whole catalog. Get an email when prices move or a better tool launches.

More guides