How to use this calculator
- Enter Price ($)。
- Enter Product cost ($)。
- Enter Shipping ($)。
- Enter Platform fee (%)。
Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.
The calculator then returns: Profit/unit、Margin。
What is it
Ecommerce Margin — Per-unit profit after cost, shipping and platform fee. Business and operations calculators convert cost, price, volume and efficiency data into profit, break-even points and utilisation rates. The core question it answers is: Profit/unit and Margin. 100 price, 40 cost, 10 ship, 15% fee → 35.
Formula
| Variable | Inputs | Unit |
|---|---|---|
price | Price | $ |
cogs | Product cost | $ |
shipping | Shipping | $ |
feePct | Platform fee | % |
profit | Profit/unit | $ |
marginPct | Margin | % |
price - cogs - shipping - price * feePct / 100profit / price * 100The relationship is solved in every direction, so any one unknown field can be derived.
Worked example
Using the default inputs:
- Price = 100 $
- Product cost = 40 $
- Shipping = 10 $
- Platform fee = 15 %
Formula used: price - cogs - shipping - price * feePct / 100
Answer:
- Profit/unit = 35 $
- Margin = 35 %
Example 1 (default inputs):Suppose Price = 100 $, Product cost = 40 $, Shipping = 10 $, Platform fee = 15 %; then giving Profit/unit = 35 $, Margin = 35 %.
Example 2 (one input changed):If you change Price to 150,giving Profit/unit = 77.5 $, Margin = 51.67 %.
Additional information
Assumptions and limitations
- These models assume unit variable cost and price stay stable over the relevant range; scale effects, tiered pricing and seasonality push real results away from the linear estimate.
- Good for: getting a directionally correct order of magnitude quickly, or comparing two scenarios.
- Not good for: using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.