Tools › Profit margin calculator

Online calculator · no signup

Profit margin calculator: the right price and your real margin per sale

Updated on November 18, 2026

Tell it the margin you want and the calculator finds the selling price with the marketplace fee and other costs already included. Already have a price? Switch the option to see the real margin and the markup.

How to use it in 3 steps
  1. Choose what you want to calculate.
  2. Replace the example cost, other costs and margin with yours.
  3. See the price for that margin and the profit per sale.

Calculate margin and price

No signup. Recalculates as you type.

Margin is calculated on the selling price, after fees and other % costs.

Result

–

Join the waitlist

How to calculate profit margin

Profit margin is how much of each sale you keep, as a percentage of the price, after paying for everything: product cost, marketplace fee, ads, shipping and packaging. It tells you whether a product is worth the work.

Profit per sale = price − cost − other costs − (fee % + other % costs) × price

Profit margin = profit per sale ÷ price × 100

How to find the price for a target margin

The most common mistake is adding the margin on top of cost. Because fees and other percentage costs are charged on the price, the right math divides:

Price = (cost + other costs) ÷ (1 − fee % − other % costs − target margin)

Example: a 20% margin on a marketplace

A product that costs $30.00, $5.00 of packaging and shipping you pay, a 15% marketplace fee and 5% of other percentage costs.

LineValue
Divisor: 1 − 15% − 5% − 20%0.60
Price: $35.00 ÷ 0.60$58.33
Fee and other % costs (20%)−$11.67
Cost + other costs−$35.00
Profit per sale$11.67 (20.0%)

If you had used cost plus 20% ($35.00 × 1.2 = $42.00), the real margin would be -3.3%. The gap between the two calculations is profit that disappears without you noticing.

Gross margin, contribution margin and net margin

MarginMathWhat it is for
Gross(price − product cost) ÷ priceComparing suppliers
Contribution(price − variable costs and fees) ÷ pricePricing and break-even
NetProfit after fixed costs too ÷ revenueSeeing whether the business makes money

This calculator shows the contribution margin per sale, the right number for pricing decisions. To include your monthly fixed costs, use the break-even calculator. To start from a multiplier on cost, use the markup calculator.

What profit margin to aim for on a marketplace

There is no universal number, but three points help. The margin has to absorb returns, coupons and ads. Fast-moving products can live with a lower margin. Products that depend on paid ads need more room. Set the margin, then check whether the resulting price fits what competitors charge.

Want this calculated on every order? Hunter Hub does it automatically with the fees your marketplace really charged. Today it serves sellers in Brazil.

Join the waitlist

Sales tax and your margin in the United States

In the US, marketplaces such as Amazon calculate, collect and remit sales tax from the buyer under marketplace facilitator laws. The tax is added on top of your price at checkout, so it is not part of your price or your margin and it does not go in this calculator. Income tax is charged on your profit for the year, not on each sale.

Selling in a country where the listed price already includes VAT, such as the UK or the EU? Enter the VAT you owe as a percentage under Other % costs.

Official sources: Amazon: Marketplace Tax Collection. Checked on November 18, 2026.

Frequently asked questions

How do you calculate the profit margin of a product?

Subtract the product cost, other costs per sale, the marketplace fee and other percentage costs from the price. Divide what is left by the price and multiply by 100.

How do I calculate a selling price from a margin?

Divide the total cost (product plus other costs per sale) by 1 minus the sum of fee, other percentage costs and target margin. Example: $35.00 ÷ (1 − 0.15 − 0.05 − 0.20) = $58.33.

Why can’t I just add the margin to the cost?

Because fees are charged on the final price. Adding 20% to cost leaves a real margin well below 20%. Dividing by the markup divisor fixes that.

What is the difference between margin and markup?

Margin is based on price and shows how much is left. Markup is based on cost and is used to build the price. Margin never goes above 100%; markup can.

What is a good profit margin for an online seller?

It depends on the product, how fast it sells and how much you spend on ads. What matters is that the margin covers returns, coupons and ads and still leaves profit. Use the calculator to test scenarios.

What does it mean when the calculator says the margin is not possible?

It means fees, other percentage costs and the target margin add up to 100% or more of the price. Lower the target margin, pick a channel with lower fees or review your cost.

Does the margin change if my price moves to another fee tier?

It can. On many marketplaces fees and shipping change by price or size tier. Check the final price against your marketplace’s fee table before you publish.

Does this calculator work with any currency?

Yes. The math is the same in any currency. Just type every amount in the same one.

The margin of every order, without a spreadsheet

Hunter Hub shows the real profit of every marketplace order, with fees, shipping, product cost, taxes and ads already deducted, per sale, per SKU and per month. Today it serves sellers in Brazil. Join the waitlist to hear first when it opens in your country.

Join the waitlist

More calculators

All calculators →