CalcWorldHub
Online selling · CalcWorldHub

How to Calculate Profit Per Ecommerce Order

For one order, the calculator subtracts product cost, shipping, packaging, a percentage fee, and allocated advertising cost from selling price. At $100 with $40 product cost, $8 shipping, $2 packaging, a 12% fee ($12), and $5 of ads, the modeled contribution is $33 before overhead.

Open calculator
A retail parcel beside a receipt whose cost lines feed into a highlighted remaining contribution

Share this article

Diagram showing one sale flowing through product, shipping, packaging, fee, and advertising costs to the remaining order contribution.
An order-level estimate keeps the revenue base and each entered variable cost visible.

Formula and inputs

Use contribution = selling price − product cost − shipping − packaging − fee − ad cost, where fee = selling price × fee rate ÷ 100. Enter all amounts in the same currency for one order. In this calculator, the fee percentage is applied to the entered selling price.

The result is what remains after the listed costs, not accounting profit. It is available to help cover expenses the tool does not include, such as payroll, software, rent, taxes, refunds, and other overhead.

Worked examples

Example 1 · steady single-item order

Inputs: Selling price $100; product $40; shipping $8; packaging $2; fee rate 12%; advertising $5.

Calculation: $100 × 12% = $12 fee; $100 − $40 − $8 − $2 − $12 − $5 = $33.00.

$33.00 contribution before overhead and unentered costs.

Example 2 · lower-priced order

Inputs: Selling price $64; product $23; shipping $4; packaging $1.50; fee rate 8%; advertising $6.40.

Calculation: $64 × 8% = $5.12 fee; $64 − $23 − $4 − $1.50 − $5.12 − $6.40 = $23.98.

$23.98 contribution before overhead and unentered costs.

Worked order example: a $100 sale minus $67 of entered costs leaves $33 before overhead.
Worked example: the entered costs leave $33.00 before fixed expenses and omitted items.

Compare costs on the same basis

Use the seller-paid shipping expense and count each cost once. If the buyer pays shipping or a platform calculates fees on a different base, keep that separate or use a channel-specific fee estimate; the tool does not fetch platform rules.

The two examples show how a lower selling price or a different fee rate changes the modeled contribution. They are arithmetic demonstrations, not target margins. For each real order, align the sales amount, discount treatment, fulfillment costs, ad-attribution method, and currency.

Use contribution for a focused decision

Change one assumption at a time when comparing a product, package, channel, or promotion. A larger dollar contribution per order can still represent a smaller share of revenue. Add returns, chargebacks, and shared costs in a separate model when they matter, and reconcile a sample against settled order records.

Shopify’s product-pricing and profit-report guidance illustrates why product cost and other order expenses should be considered together. The included references describe Shopify reporting and pricing features; they are not a universal accounting definition.

Build a usable order estimate

Begin with one completed order and trace each amount to the same transaction or a clearly documented allocation. Separate the customer charge from the amount the seller actually retains when discounts, refunds, or seller-funded promotions are involved. The calculator does not decide which ledger field represents selling price; choose a definition and use it consistently across the products or channels you compare.

For a fee entered as a percentage of selling price, verify that this matches the fee rule you intend to model. Some charges use a different base, may include shipping or tax, or combine fixed and percentage components. If the real charge has several parts, calculate them from their applicable bases before entering a defensible equivalent, or keep the comparison outside this simplified one-rate model.

Advertising cost needs the same attribution basis as the order revenue. A campaign-level spend figure can be allocated across orders, but the choice of attribution window and allocation method changes the per-order amount. Record that method alongside the result; do not compare one order using attributed spend with another using total campaign spend.

Use the result as a contribution check: it is the amount left after the listed inputs, not a statement about cash received or final business profit. A useful review asks which omitted cost could reverse the decision, then tests that cost separately. Reconcile a sample to settlement and fulfillment records before treating a recurring estimate as an operating measure.

A compact worksheet can list selling price, product cost, seller-paid shipping, packaging, fee basis and rate, ad allocation, plus the resulting contribution. Mark any unavailable field rather than assuming it is zero. When an order contains multiple items, decide whether the calculation is per line or for the complete order and allocate shared shipping or advertising only once.

Sources and further reading

Share this article

Browse all articles · Calculator: Order profit calculator