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.

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

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

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.