Ecommerce Profit Calculator

Use this ecommerce profit calculator to see what remains after product costs, shipping, fees and ads. Compare discounts, set a target price or check a month's contribution. Free to use · no sign-in needed

Order profit

See contribution before and after ads for one item or a multi-item order.

Products and income
Products in this order

Exclude confirmed recoverable purchase tax.

Fulfillment and advertising
Payment fees

Result

Example · illustrative values Example inputs use illustrative custom rates. Replace them with your payment conditions.

Contribution after ads34.52 USD
Revenue excluding tax
106.00 USD
Non-advertising costs
56.48 USD
Contribution before ads
49.52 USD
Advertising spend
15.00 USD
Product gross profit
48.00 USD
Tax collected from buyer
0.00 USD
Total known fees
3.48 USD
Contribution margin before ads
46.7170%
Contribution margin after ads
32.5660%

Calculated from the custom rates entered above.

Fee breakdown
Calculation steps
  1. round(106.00 × 0.030000000000 + 0.30) = 3.48 USD
  2. 106.00 − 56.48 − 15.00 = 34.52

Ecommerce profit calculator scenarios

Choose an order, a trading period or a pricing decision to load the matching inputs and example.

Order profit

Separate customer payments from collected tax, then subtract products, fulfillment, fees and ads. Customer-paid shipping adds revenue; shipping you pay is a cost. Each extra fee can use its own base.

Example · illustrative values 105 − 40 − 8 − 1 − 3.45 − 15 = 37.55 USD

Period & CSV profit

Sum order amounts before calculating a margin. Fees round per payment. This scenario uses tax-exclusive amounts as the fee base; enter statement fees if your actual base differs. Fixed costs are deducted separately.

Example · illustrative values 110 − 85 = 25 USD; 25 − 10 = 15 USD

Compare a promotion

Compare total contribution using the prices and order counts before and after the promotion. Costs and advertising stay the same per order; fees use revenue excluding tax. Total contribution equals contribution per order multiplied by orders. Break-even orders are shown when both per-order contributions are positive.

Example · illustrative values 32.70 → 23.00 USD; ceil(100 × 32.70 ÷ 23.00) = 143

Price for a profit target

Find the lowest price meeting the after-ad profit target. The price follows the selected tax basis; fees and margins use revenue excluding tax. Separately charged shipping and packaging are excluded.

Example · illustrative values 83.52 − 49 − 15 − 2.81 = 16.71 USD ≥ 83.52 × 20%

Find a cost ceiling

Subtract other non-advertising costs, ads and the contribution target from revenue. The remainder is the ceiling for one cost you choose. Keep that selected cost out of the other-cost total.

Example · illustrative values 100 − 13.30 − 15 − 20 = 51.70 USD

Find a safe discount

Subtract the lowest qualifying price from the list price using the selected tax basis. Fees use revenue excluding tax. If the list price already misses the target, no nonnegative discount is available.

Example · illustrative values 100 − 86.91 = 13.09 USD

After a refund

Remove refunded revenue, restore recoverable inventory and confirmed fee credits, then subtract return costs. Refunded collected tax changes cash, not revenue again. Recovered inventory is not cash received.

Example · illustrative values 30 − 50 + 20 + 1 − 4 − 2 = −5 USD

Plan for returns

Weight one specified refund event by the expected share of comparable orders returned. Use this for planning before those refunds occur. Do not subtract a refund again if it is already in the original contribution.

Example · illustrative values 90% × 30 + 10% × (−35) = 23.50 USD

Use an amount received

Reconcile the receipt, collected tax and original revenue with the statement. Mark fees already deducted so they are counted once. Without original revenue, only the cash residual is available, not a revenue margin.

Example · illustrative values 100 − 3.30 − 40 − 15 = 96.70 − 40 − 15 = 41.70 USD

How to use this calculator

Choose a task and currency, replace the example amounts, and review the contribution and cost breakdown. Blank required values remain missing; enter zero only when the cost is confirmed zero.

Which costs belong in your profit calculation?

Include product costs, shipping and packaging, payment and platform fees, ads and other relevant costs once. Enter overhead separately in the period scenario, using the same currency and time period.

Gross profit deducts product costs from revenue. This calculator's contribution deducts the entered order costs and ads as well. The period scenario also shows the surplus after entered overhead; company net profit requires all remaining business expenses and taxes.

Formula & assumptions

Order contribution is revenue excluding collected tax, minus the costs you enter; its margin divides that contribution by the same revenue.

Contribution before ads = Revenue excluding tax − Non-advertising costs

Contribution after ads = Contribution before ads − Advertising spend

Contribution margin after ads = Contribution after ads ÷ Revenue excluding tax × 100%

Amounts use the currency’s smallest unit. Target-margin prices round upward; discount results round only after all discounts. Zero denominators produce no ratio.

Worked example

Example in USD: 105 revenue minus 40 products, 8 fulfillment, 1 packaging, 3.45 fees and 15 ads leaves 37.55 contribution. The illustrative fee is 3% + 0.30 per payment.

What the result includes

This is contribution after the costs entered, not whole-business net profit. Period calculations can subtract stated overhead. Unentered income tax, financing and other costs are excluded. Currency selection does not establish tax eligibility or convert product costs automatically.

Ecommerce profit calculator FAQ

These answers explain which figures to enter and how to use the resulting margin in pricing and cost decisions.

How do I calculate ecommerce profit and profit margin?

Subtract the costs included in your calculation from revenue, then divide the remaining profit by that revenue and multiply by 100. For example, 105 USD of revenue minus 67.45 USD of costs and ads leaves 37.55 USD of contribution, or about 35.76%.

Which costs should I include?

Include product costs, outbound shipping, packaging, payment and platform fees, ads and other order costs. Customer-paid shipping is revenue; carrier charges are costs. Use the period scenario for overhead and count each cost once.

What is a good profit margin for ecommerce?

There is no single percentage that fits every store. Compare margins calculated with the same costs and time period. A positive order contribution still has to cover overhead and any other expenses before it becomes company net profit.

What is the difference between profit margin and markup?

Margin divides profit by selling price; markup divides profit by cost. With an 80 USD cost and a 100 USD price, the 20 USD difference is a 20% margin and a 25% markup, before any additional costs.

Why can a high ROAS still leave me with a loss?

ROAS compares revenue with ad spend and does not deduct product costs or fees. Revenue of 100 USD and ads of 25 USD gives 4× ROAS, but another 80 USD of costs leaves a 5 USD loss.

How do discounts affect profit?

A discount lowers revenue while many costs stay unchanged. The promotion scenario compares contribution before and after a discount and estimates the orders needed to preserve total contribution when both per-order contributions are positive.

How do I find a selling price for my target profit?

Use the target-price scenario with your costs, fee terms and target contribution amount or margin. It finds the minimum qualifying price under those inputs. Check the tax setting and which costs the scenario includes before using the result.

How can I improve my ecommerce profit margin?

Compare one change at a time: price, product costs, shipping, fees or ads. Use the cost-ceiling scenario to find the most you can spend on one cost while keeping your target contribution. Keep that selected cost out of the other-cost total.

How should I account for refunds and expected returns?

Use the refund scenario for a known event, including refunded revenue, recoverable inventory, confirmed fee credits and return costs. Use the returns-plan scenario for a forecast. Recovered inventory affects contribution but is not a cash refund.

How do I calculate a monthly profit margin?

Add the month's revenue and contribution first, then divide total contribution by total revenue; do not average order margins. The period scenario deducts entered overhead separately. Keep orders, ads and overhead in the same period.

Can I calculate profit from a net payment receipt?

Yes. Use the net-receipt scenario and identify fees already deducted so they are not charged twice. Supply original revenue excluding collected tax for a margin. If that revenue is unknown, the result is a cash remainder rather than a profit margin.

How are tax and currency handled?

Choose the scenario's tax setting so collected sales tax is excluded from revenue. Enter costs consistently, including any tax you cannot recover. Currency selection changes monetary units and rounding; it does not convert amounts or determine local tax treatment.

Related tools