Home / Free tools / Calculators / Profit Margin Calculator for Sellers
Profit Margin Calculator for Sellers
Work out the profit, margin and markup on one order after item cost, shipping, platform fees, ads and returns, and find the price that reaches your target margin.
The Shopify preset only changes the labels. Shopify's rates depend on your plan and country, so type the figures from your own plan and payment settings; nothing is assumed.
Results update as you type. The address bar keeps your numbers so you can bookmark or share a result; nothing is stored or uploaded.
Runs in your browser. Nothing you paste or choose is uploaded or stored.
What this calculator does
This profit margin calculator is built for people who sell physical products online. It starts from the selling price and subtracts what the product cost you, the shipping you pay, the percentage and fixed fees your platform or payment provider charges and any advertising cost per order. The result is your profit per order, your profit margin and your markup. If you enter a return rate it also shows the expected profit after returns, and if you enter a target margin it tells you the price you need to charge to hit it.
A Shopify preset is available. It changes the field labels to point you to the figures in your Shopify plan and payment settings. It does not assume any Shopify rate, because the rates differ by plan, country and payment method. Every field stays editable, so the same calculator works for Etsy, Amazon, WooCommerce, a market stall or your own site.
The formulas
- Fees = price × fee % + fixed fee per order.
- Profit = price − item cost − shipping − fees − advertising.
- Margin = profit ÷ price × 100. It tells you how many cents of every dollar of sales you keep.
- Markup = profit ÷ item cost × 100. It tells you how much you add on top of your cost. Margin and markup are not the same number: 50% markup is a 33.33% margin.
- Expected profit with returns = (1 − return rate) × profit + return rate × loss on a return. In this model a returned order refunds the sale, but you still lose the fees, the outbound shipping, the return shipping and the cost of the part you cannot resell, and any advertising spent on it.
- Price for a target margin = (item cost + shipping + fixed fee + advertising) ÷ (1 − fee % − target margin), rounded up to the next cent.
Worked example
You sell a mug for $40. It costs you $15 to buy, $5 to ship, and your payment provider takes 3% plus $0.30. The fees are 3% of $40 = $1.20, plus $0.30 = $1.50. Profit per order is $40 − $15 − $5 − $1.50 = $18.50. That is a margin of 46.25% and a markup of 123.33% on your $15 cost. Now suppose 10% of orders come back, half of the returned mugs can be resold and a return costs $5 in postage. A returned order loses $1.50 in fees, $5 outbound shipping, $5 return shipping and $7.50 for the half you cannot resell, a total of $19. Expected profit per order is 0.9 × $18.50 + 0.1 × (−$19) = $14.75, a 36.88% margin. To reach a 50% margin with the same costs you would have to charge $43.20. The example button fills exactly these values.
Using it for a Shopify store
Pick the Shopify preset, then look up three figures in your own account: the payment processing percentage and fixed fee for your plan and card type (in Shopify's payment settings and plan page), any extra transaction fee that applies if you use a third-party payment gateway, and your real cost of shipping labels. Enter them in the fee and shipping fields. Add your average advertising cost per order from Meta, Google or TikTok ads in the advertising field; the break-even ROAS calculator tells you what that cost can be before an order loses money. Remember that app subscriptions, your plan and your own time are overhead and are not in a per-order margin.
How to read your margin
- Below about 20% there is little room for ads, discounts or returns. A 15% sale on a 30% margin product takes the margin to roughly 18%; check with the percentage off calculator.
- Margin before ads is not profit. Subtract your advertising cost per order. If the result is negative, raise the price, lower the cost or accept a lower volume.
- Raise the price in small steps. The target margin box shows the exact price. A price change of a few percent often changes the margin by far more, because the cost side stays fixed. The percentage increase calculator shows the size of the change.
- Compare with marketplace fees. The eBay fee calculator applies eBay's category rates to the same product.
What this calculator does not include
It is a per-order model. It does not include sales tax or VAT (which you collect for the tax office and which is not your income), income tax, currency conversion, chargebacks, the cost of unsold stock, overhead such as software or rent, or volume discounts on shipping. The return model uses one average return rate and one resale share; if your returns differ by product, run each product separately. Use the result for planning and check it against your real payouts.
Questions
What is a good profit margin for an online store?
It depends on the product and the advertising you need. Many sellers aim for a margin of at least 30% before advertising and 10-20% after it. The right number is the one that still leaves a profit once discounts, returns and ad costs are included, so enter all of them.
What is the difference between margin and markup?
Margin is profit divided by the selling price. Markup is profit divided by your cost. A product that costs $10 and sells for $15 has a 50% markup and a 33.33% margin. The calculator shows both.
How do I calculate the price I need for a target margin?
Add your fixed costs per order (item cost, shipping, fixed fee and ad cost) and divide by one minus the fee percentage minus the target margin. For $23.30 of fixed costs, a 3% fee and a 50% target the price is $23.30 / 0.47 = $49.57, which rounds up to $49.58 so the margin is not below target.
Does the Shopify preset include Shopify's fees?
No. The preset changes the labels and hints only, because Shopify's payment rates depend on your plan, your country and the payment method. Enter the rates from your own account.
How are returns handled in the result?
You give a return rate, the share of returned items you can resell and the extra return shipping. A returned order refunds the sale and loses the fees, outbound shipping, return shipping, advertising and the cost of the items you cannot resell. The expected profit weights a normal order and a returned order by the return rate.
Is my data uploaded?
No. The calculator runs in your browser and your numbers are kept only in the page address if you share it.
Google, Merchant Center, YouTube, LinkedIn, Indeed, Glassdoor and Shopify are trademarks of their owners. Van Born Labs is independent and not affiliated with them. Google's own help pages are the final word on its rules.