Ecommerce Profit: Build a Complete Cost Model for Each Order
· omnicalc.info

Ecommerce profit must be measured after more than product cost. This guide builds a practical order-level cost model covering fulfillment, processing, shipping, advertising, refunds and overhead, with worked calculations and operational decisions.
Why ecommerce revenue is not profit
An online shop can collect thousands of dollars in orders while earning very little on each transaction. The difference comes from merchandise costs, fulfillment expenses, payment processing, shipping subsidies, customer acquisition, refunds and overhead. Revenue is the amount recognized from sales under a consistent accounting policy; profit is what remains after a defined selection of costs. A useful operational analysis begins with each order, then reconciles those results to monthly financial statements. If a dashboard shows $50,000 of revenue but excludes advertising or discounts, it cannot answer whether the business is profitable. This guide builds a reproducible order-cost model and explains the limits of every subtotal, so operators can investigate what drives earnings rather than treating an attractive revenue chart as success.
Start with net sales per order
The most useful starting point is what the merchant actually earns from a sale, not the listed product price. Record product revenue, discounts, any shipping charges billed to the customer, refunds and relevant sales taxes separately. Depending on accounting rules, sales tax collected for an authority is generally a liability rather than merchant revenue. Suppose an item lists for $120, a $12 promotional discount applies, and the buyer pays $5 shipping. Before any returns, merchant sales-related receipts equal $113, excluding sales tax. If a later partial refund of $10 is issued, the relevant net customer receipts decline to $103 in this simplified illustration. The revenue treatment of shipping and returns should match the accounting policy, and the cost model should not mix tax-inclusive proceeds with tax-exclusive product expenses.
Product cost and landed inventory
Product acquisition cost is often the largest cost in an ecommerce order, but the supplier invoice is not always the full relevant inventory cost. Inbound freight, duties, packaging required to make products sellable and manufacturing overhead may need to be allocated to units depending on the accounting framework and management purpose. Suppose a shipment of 200 units costs $4,000 plus $400 of inbound freight. The simplified landed product cost is ($4,000 + $400) ÷ 200 = $22 per unit, assuming no damaged units and no other acquisition charges. An order containing three units uses $66 of this merchandise cost. Allocations should reflect the actual shipment and units received. Do not add the same freight twice if your stock system already includes it in the landed item cost.
Payment processing fees
Card processors and payment providers commonly use percentage-based fees, fixed transaction fees or both. A simplified rate of 2.9% plus $0.30 on a $100 charge produces $3.20 of processing cost. If the provider applies fees to tax or shipping, the base may exceed your product sales revenue, and refunds might not reverse all original fees. Use the actual contracted schedule rather than assuming every transaction costs the same fraction of merchandise price. A low-priced item can face a relatively high percentage burden from a fixed transaction fee. For example, a $0.30 charge alone represents 3% of a $10 payment but only 0.3% of a $100 payment. Payment fees should be placed in the correct cost category when comparing accounting gross profit with operational contribution.
Picking and packing costs
Fulfillment cost includes more than postage. Orders may require picking, packaging materials, warehouse labor, storage handling and dispatch coordination. Suppose the variable picking expense is $1.50 per order, packaging materials cost $0.80 and an outsourced partner charges $1.20 as a handling fee. Total handling cost is $3.50 before outbound shipping. This amount may be nearly constant for a one-item order but rise for large or delicate orders. A useful model distinguishes per-order fees from per-item charges and from monthly warehouse rent. Avoid allocating all annual overhead by dividing it by one unusually busy month’s order count, which can distort unit economics. When fulfillment is outsourced, request a fee schedule for returns, oversized packages and storage, not only ordinary shipments.
Outbound shipping economics
Free shipping to shoppers does not mean shipping is free for the merchant. If a carrier charges the business $8 and the buyer pays $0 shipping, the full $8 represents a cost not offset by shipping revenue. If the buyer pays $5, the net shipping subsidy is $3 under a simple cash comparison, but revenue and shipping expense should still be recorded as separate components. Parcel costs can vary by weight, dimensions, destination, delivery speed and seasonal surcharges. Using one average shipping fee for every order may conceal unprofitable distant destinations. Model a domestic standard package, a heavy package and an international shipment separately. Check whether packaging, signature services and failed delivery attempts create additional charges that a simple shipping-rate table omits.
Customer acquisition cost per order
Advertising spend needs a defensible connection to orders. If a campaign costs $900 and produces 30 attributed purchases during the selected window, attributed ad spend per purchase is $30. That is not necessarily the fully loaded cost of acquiring a new customer, because some purchases may be repeats and the business may also pay salaries, creative production or affiliate commissions. Be explicit about attribution windows and whether refunds are included. A business that attributes the same purchase to several platforms may overstate credited orders and understate apparent cost per order. Conversely, customers arriving organically may still incur content production and brand-building costs. Use campaign-level contribution analysis for tactical spending decisions and fully loaded customer acquisition cost when evaluating the economics of gaining new customers.
Calculate contribution per order
A simple order contribution equation is net order revenue minus product cost, payment processing, variable fulfillment, outbound shipping and attributable acquisition spending. Consider a $120 sale with product cost $48, packaging and handling $4, outbound shipping $9, processing $4 and advertising $15. The contribution is $120 − $48 − $4 − $9 − $4 − $15 = $40. Contribution margin is $40 ÷ $120 = 33.33%. This does not mean the company earned $40 in net income. Fixed salaries, rent, software subscriptions, taxes, support and other nonallocated expenses may still reduce the result. A retailer can also choose to show contribution before advertising and contribution after advertising separately, provided both figures are clearly labelled and consistently calculated.
Gross margin versus contribution margin
A store may report gross margin based mainly on merchandise cost of goods sold while also monitoring contribution margin after variable selling costs. If merchandise revenue is $100 and goods cost $40, gross merchandise profit is $60, or a 60% margin under that simplified definition. Deduct $3 processing, $7 shipping, $4 fulfillment and $20 advertising, and the contribution after those costs is $26, a 26% margin. Both figures serve different decisions. Gross margin is useful for buying and product pricing; contribution after acquisition reveals more about whether a promotion can fund overhead. The exact formal accounting treatment of fulfillment and other costs can vary. Keep an expense taxonomy in your reporting and never compare numbers calculated with incompatible scopes without adjustment.
Returns and refund losses
A returned order can erase more than the original sale’s apparent profit. A full refund removes revenue, while payment fees, outbound freight and return postage may remain expenses. Returned goods may need cleaning, repackaging or disposal and may not be sellable at their original price. Suppose 100 orders generate $30 contribution each before considering returns. Ten of them are fully refunded and each return also generates $6 nonrecoverable reverse-logistics cost. A complete reconciliation must remove or reverse the original contribution appropriately and record associated costs rather than simply subtracting 10% from gross revenue. Average refund rate by revenue may differ from the return rate by order count. Analyze product-specific returns because size, quality and customer expectations can produce very different costs.
Discounts and their effect on profit
A discount reduces realized revenue while many product and handling costs remain unchanged. If a product sells for $100 with $60 relevant variable costs before advertising, its contribution is $40. A $20 discount cuts revenue to $80 and contribution to $20 if those costs are unchanged. Revenue falls by 20%, but contribution per order falls by 50%. To replace $400 contribution from ten full-price orders, the store would need twenty discounted orders at $20 each, assuming all else remains equal. The promotional strategy might still succeed if it attracts loyal customers or lowers unsold stock, but these effects require evidence. Do not assess discount success by order count or conversion rate alone. Compare contribution dollars after incremental acquisition and refund expenses.
Free shipping thresholds
A free shipping threshold can increase basket value, but its profitability depends on the additional contribution from the extra products relative to the subsidy. Suppose a buyer would otherwise spend $45, and a store offers free shipping above $60. If the shopper adds a $20 product with $11 variable merchandise cost, the incremental merchandise contribution is $9. If the merchant gives up a $5 shipping charge it would otherwise collect and incurs $1 extra handling expense, the net incremental effect is only $3 before other changes. The precise calculation depends on what the customer would otherwise purchase, carrier charges and whether shipping revenue belongs in the original scenario. Threshold optimization requires actual order distributions and controlled testing rather than a universal percentage rule.
Multi-item baskets and shared fees
Many ecommerce costs occur once per order, while merchandise cost rises with the number and type of items. A two-item order may share one processing fixed fee, one packaging operation and most of its shipping charge. This creates economies of scale, but heavy or bulky products can trigger higher dimensional shipping prices. To estimate contribution, add each item’s realized revenue and merchandise cost, then apply the correct order-level charges. Do not multiply a fixed $0.30 payment fee by three just because the basket contains three items. Likewise, a promotion that raises average order value does not necessarily raise margin if customers add low-margin goods or if the increased weight requires a more expensive delivery service. Analyze basket composition alongside the headline order value.
Marketplace versus direct website
Marketplace sales and direct-store sales have different costs. On a marketplace, a referral commission may be a percentage of gross transaction value, while on a direct storefront the merchant may spend more on advertising, software and acquisition. Suppose a product sells for $80 with $35 merchandise cost. The marketplace charges a 15% fee, or $12, and fulfillment is $8. Contribution before other costs is $25. On the merchant’s own store, card processing is $3, fulfillment is $8 and attributed advertising is $12. Contribution becomes $22. The marketplace looks better in this particular simplified transaction, but customer ownership, returns and future purchase behavior can change the assessment. Compare channels with identical cost scopes and avoid declaring one universally more profitable.
Refund timing and cash flow
An ecommerce store can show an accounting profit and still run short of cash. Inventory may need to be purchased weeks before selling, advertising platforms may charge daily and processors may remit revenue after delays. Refunds and chargebacks can also withdraw funds after an apparently successful sales period. Track inventory purchases, payment settlement timing, supplier credit and operating bills in a cash-flow schedule separate from the unit contribution report. An order-profit calculator is not a cash forecast. If a store must fund inventory for sixty days before sales convert into cash, working capital requirements can be significant even when expected margins are attractive. Financing charges on this working capital can further reduce the overall economic return.
Chargebacks and fraud
A chargeback may cause loss of the sales revenue, a dispute fee and sometimes the merchandise and shipping expense. The operational burden of evidence collection also consumes time. These costs are rarely visible in product-level merchandise margin but can matter substantially for certain payment methods, regions or product categories. Build a realistic loss allowance from historical chargeback experience rather than assuming every authorized order settles permanently. For a new shop with little history, use sensitivity scenarios and review payment-provider guidance on fraud prevention. Chargeback rates should use clear denominators, such as disputed transactions divided by settled transactions, and should not be confused with ordinary customer returns. Responsible fraud controls may incur costs of their own, so evaluate prevention and loss together.
Fixed overhead and break-even order count
Positive contribution per order is necessary but not always sufficient for company profitability. Fixed overhead can include salaries, software subscriptions, warehouse leases and bookkeeping expenses. A simplified break-even count is fixed expenses divided by average contribution per order. With $6,000 monthly fixed expenses and $30 average contribution per order, a shop needs 200 orders to cover the stated costs, assuming the average contribution remains unchanged. If advertising or shipping costs rise, the average may fall and the order threshold increases. The model becomes less reliable when product mix changes dramatically or some costs are only partly fixed. Use it as an operational planning tool, not a substitute for a full statement of profit and loss.
Average order value and profit per visitor
Average order value equals order revenue divided by the number of orders, but AOV alone does not show profitability. A $100 order might contain expensive products and generate only $10 contribution, while a $70 order could generate $25. Combining conversion rate and contribution per order helps compare marketing traffic. If 1,000 visits convert at 2% and average contribution after acquisition is $20 per order, the twenty orders generate $400 contribution under that simplified model. A new landing page converting at 3% but yielding only $10 contribution per order would generate $300 from thirty orders. Better conversion does not automatically mean better economics. Use compatible visit attribution and keep refunds and acquisition costs consistent in both scenarios.
Repeat customers and lifetime value
A first purchase can be weakly profitable but lead to later purchases with lower acquisition cost. This possibility is important, yet it should not be used to justify indefinite losses without retention evidence. Separate contribution from first orders and repeat orders. If the first order contributes $5 after marketing and a second order contributes $25 without further advertising, two purchases generate $30 before fixed expenses under the example assumptions. That expectation matters only if the customer actually returns with sufficient probability. Estimate retention from cohorts rather than projecting every new customer to make the same number of repeat purchases. The distinction between revenue lifetime value and margin-based lifetime value is especially important when merchandise and fulfillment costs are high.
Inventory carrying cost and stockouts
Inventory economics extend beyond the cost of items sold. Unsold stock requires cash, storage and sometimes insurance and can lose value through obsolescence or damage. On the other side, stockouts cause lost sales and may increase urgent shipping expenses. When deciding whether an ecommerce product is worth advertising aggressively, consider whether enough inventory exists to meet demand at reasonable replenishment cost. An attractive contribution margin based on current supplier prices may not hold if emergency restocking requires higher unit costs. Product-level profitability reports should be paired with sell-through, inventory days and reorder planning. Avoid pushing paid traffic toward products that are not realistically available for the advertised delivery date.
International orders and currency conversion
International ecommerce orders can include foreign exchange spreads, duties, tax collection responsibilities, additional carrier costs and higher return postage. Suppose an item has a domestic contribution of $25 before overhead but international handling raises shipping and customs-related merchant expenses by $14. The contribution falls to $11 if the realized price and other costs stay constant. Currency conversion fees or a refund after exchange-rate movements could reduce it further. Use country-level cost assumptions rather than applying one worldwide shipping average. Consumer-facing taxes and duties depend on the delivery model and jurisdiction; these are legal and operational questions, not just percentage inputs. Explicit assumptions help prevent selling into a region where an apparently high-ticket order produces very little economic value.
How to build an order-profit spreadsheet
Create a row per order with a stable identifier and currency. Include realized product sales, shipping revenue, discounts, refunds, merchandise COGS, processor fees, outbound freight, packing, other variable fulfillment, attributable acquisition spending and any specific adjustments. Derive each margin subtotal from named inputs instead of hard-coding totals. Distinguish expenses charged per order from percentages of the transaction and per-item costs. Validate the worksheet with a few manual calculations and reconcile aggregated sales to the accounting system. Group results by product, channel and country only when there is sufficient data. Avoid reporting an overall margin by simply averaging individual order percentages; calculate total contribution divided by total net revenue to obtain a correctly revenue-weighted result.
A three-scenario profitability test
Forecasts should be tested under more than one set of assumptions. In a base case, a shop earns $100 in net order revenue and incurs $65 in variable expenses including acquisition, leaving $35 contribution. If carrier prices rise by $5 and ad cost by $8, contribution falls to $22. If both increase and a further $7 average refund allowance is required, contribution falls to $15. The store may still be viable if fixed overhead is low and volume sufficient, but the sensitivity highlights where risk is concentrated. Alternatively, increasing average basket contribution by improving product mix could offset part of the cost pressure. The aim is not to forecast an exact outcome but to understand which variables determine whether orders remain worthwhile.
Common ecommerce profit calculation mistakes
Frequent mistakes include treating the full checkout payment as revenue without reviewing tax, excluding returns, overlooking payment fixed fees, ignoring fulfillment handling, and counting subsidized shipping as free. Merchants may also attribute all advertising to new customers while counting repeat purchases in the same denominator or compare channel results over mismatched periods. Averaging individual margin percentages rather than weighting by revenue can further distort an aggregate report. Another mistake is treating a positive per-order contribution as net company profit while ignoring salaries, rent and software. A reliable calculation explicitly names cost inclusions and exclusions, uses consistently timed transactions and distinguishes forecasts from settled results. When a margin looks unexpectedly high, reconcile a few actual orders before celebrating.
Questions ecommerce owners commonly ask
Is ROAS the same as profit? No. Return on ad spend compares attributed revenue with advertising costs and ignores many other expenses. Should payment processing be included? Yes in an operational contribution model, but the precise financial statement classification may differ. Do free-shipping offers always hurt profit? No; larger or more frequent profitable orders may offset the subsidy, but this requires testing. Is gross margin enough for advertising decisions? Usually not, because variable fulfillment and acquisition expenses matter. Can a refunded order still cost money? Yes, nonrecoverable fees and logistics costs may remain. How should mixed baskets be handled? Attribute item costs correctly and include shared order-level fees once. Why does the monthly bank balance differ from calculated earnings? Purchase timing, processor payouts, refunds, taxes and working capital can all cause differences.
Operational checklist before scaling
Verify the sales amounts are net of discounts and treated consistently for taxes and refunds. Confirm product cost includes relevant inbound charges without double-counting. Reconcile actual processor fees, shipping invoices and fulfillment bills, and establish an honest attribution method for paid traffic. Calculate gross and contribution margins separately, then estimate how many orders are required to cover monthly fixed expenses. Examine return rates and chargebacks by product and country. Stress-test higher acquisition costs or weaker basket contribution. Track cash conversion alongside accounting profit because inventory and payment settlements may require financing. Before expanding paid campaigns, ensure the economics work on settled orders and that the projected demand can be fulfilled reliably.
Related OmniCalc calculations
Ecommerce profitability connects directly to percentage arithmetic, average order value, shipping thresholds, discount analysis, contribution margin and advertising break-even. A margin calculator can validate the relation between profit and revenue, while a break-even calculator translates average contribution into a required number of sales. Inventory turnover and reorder point calculations help assess the working capital and availability of merchandise. Use each specialist tool for a clearly defined question instead of forcing one percentage to stand for every aspect of business performance. Good decisions emerge from comparable inputs, correct formulas and realistic operational constraints, not simply from optimizing the largest-looking metric on a dashboard.
Related: Profit Margin, Average Order Value and Contribution Margin.
The conversation
Comments are closed.