Sell more with LaunchMyStore
LaunchMyStore Logo

Free tool

Profit margin calculator

Cost, price, shipping and ad spend in. Margin, markup and profit per unit out.

Per-order costs people forget

Gateway rate only. LaunchMyStore adds no platform transaction fee.

Gross margin60.0%
Markup150.0%
Gross profit per unit$15.00
Shipping, packaging, ads− $0.00
Payment fees− $1.03
Profit per order after all that$13.98
Contribution margin55.9%

Healthy. You can afford to test more ad spend.

Need a store for it?Try LaunchMyStore free
1

Enter what a unit costs you

Product cost, plus the extras people forget: packaging, shipping, payment processing, the ad that sold it.

2

Enter what you sell it for

Or leave price blank, type the margin you want, and the calculator solves for price.

3

Read the margin, markup and profit

Live as you type. Copy the numbers into your pricing sheet.

Margin vs markup, in one line each

Margin is profit as a share of the selling price. Markup is profit as a share of the cost. A product that costs $10 and sells for $25 has a 60% margin and a 150% markup. They describe the same $15, but from opposite ends, and mixing them up is the most common pricing mistake in ecommerce.

Retailers talk in margin because it maps to the money that lands in the bank. Suppliers and wholesalers talk in markup because it maps to the cost they know. When a supplier says "double it" they mean 100% markup, which is a 50% margin.

What a healthy ecommerce margin looks like

Gross margin before ads should sit at 50% or above for physical products you ship yourself, 60% to 70% for handmade and private label, and 30% to 40% for dropshipping. Below that, one bad month of ad costs or returns wipes out the profit.

The number that matters is contribution margin: what is left after product cost, shipping, packaging, payment fees and the ad spend that produced the order. Type all five into the calculator and you will usually find your real margin is 15 to 25 points lower than the one on your spreadsheet.

How to use the result

If the margin is below your target, you have four levers: raise the price, lower the cost, cut shipping cost by changing packaging or carrier, or reduce the ad cost per order by improving conversion. The calculator lets you try each one live.

Use the target-margin mode when launching a product: enter costs, type the margin you want, and price from there rather than copying a competitor.

Frequently asked questions

How do I calculate profit margin?
Margin = (selling price − total cost) ÷ selling price × 100. A $25 product that costs $10 all-in has a (25 − 10) ÷ 25 = 60% margin.
How do I calculate markup?
Markup = (selling price − cost) ÷ cost × 100. The same $25 product with a $10 cost has a 150% markup.
What is a good profit margin for an online store?
As a rule of thumb, 50% or more gross margin before ads for products you stock, 60 to 70% for handmade or private label, and 30 to 40% for dropshipping. After ads and fees, 15 to 25% net is healthy.
Should I include shipping in my margin?
Yes, if you pay any part of it. Free shipping is a cost you absorb. Enter what you actually pay the carrier per order, and enter what the customer pays you for shipping as part of the price if you charge it.
What about payment processing fees?
Enter your gateway's rate (Stripe and PayPal are roughly 2.9% + $0.30 in the US). LaunchMyStore charges 0% platform transaction fees, so the gateway rate is the only one to enter.
What is the difference between gross and net margin?
Gross margin only subtracts the cost of the product. Net margin also subtracts everything else it took to sell it: shipping, fees, ads, and a share of your fixed costs. This calculator gives you gross margin and a per-order contribution margin.
Can I solve for price from a target margin?
Yes. Switch to "Price from target margin", enter your costs and the margin you want, and the calculator returns the price to charge.

Free 7-day trial

Start your free store trial today.

No credit card required. Every tool on this page keeps working whether or not you sign up.