Flagship calculator

Ecommerce Profit Margin Calculator

Estimate per-order profit, margin, markup, break-even price, and cost waterfall from your selling price and costs.

Runs in your browser. No signup required. Estimates only. Fee assumptions last reviewed: 2026-06-06. View sources.

This calculator provides estimates based on your inputs and editable assumptions. It is not tax, legal, financial, accounting, or business advice.

Sale details

Price the customer pays before sales tax.

Buyer-paid shipping is revenue if paid to you.

Product and fulfillment costs

Materials, wholesale cost, or landed cost.

Platform and payment fees

Generic editable marketplace or platform percentage.

Ads, returns, and allowances

Fixed cost allocation

Apps, subscriptions, rent, tools, or monthly overhead.

Allocated fixed cost per order: $1.00

How the ecommerce profit margin calculator works

The calculator starts with gross order revenue: selling price times quantity, plus shipping charged to the customer, minus discounts. It then subtracts product cost, labor, packaging, seller-paid shipping, platform fees, payment fees, returns, ad cost, other variable costs, and optional allocated fixed costs.

Ecommerce profit margin formula

Estimated profit = gross order revenue - variable costs - allocated fixed costs. Net margin = estimated profit / gross order revenue. Markup on cost = estimated profit / total cost basis.

Common mistakes

  • Treating sale price minus product cost as real profit.
  • Forgetting shipping subsidies when free shipping is offered.
  • Ignoring fixed payment fees on low-ticket products.
  • Leaving out returns, refunds, ad cost, packaging, and monthly app costs.
  • Comparing markup and margin as if they mean the same thing.

Privacy note

Calculations run in your browser unless you choose to copy or export a result. Do not enter confidential customer data, platform credentials, passwords, or sensitive personal information.