SellerMath

Profit Margin Calculator

Turn cost and price into gross profit, margin and markup instantly — or work backwards from the margin you want to the price to charge. Platform-independent, no sign-up.

From cost & price

From a target margin

Your numbers

Gross profit / unit
Profit margin
Markup
Revenue / month
Gross profit / month

Price for target margin

Charge this price

Price = cost ÷ (1 − target margin). Build platform fees into cost or use the platform calculators below for an exact number.

Margin vs markup at a glance

CostPriceProfitMarginMarkup
$100$125$2520%25%
$100$150$5033.3%50%
$100$200$10050%100%

Frequently asked questions

What is the difference between margin and markup?

Margin = profit ÷ price; markup = profit ÷ cost. Markup is always the larger figure.

How do I calculate a 30% profit margin?

Divide cost by 0.70. A $21 cost needs a $30 price.

What is a good profit margin for online sellers?

40–60% gross margin is a common target; factor platform fees and ads in separately.

More free seller calculators

Optimize pricing across all platforms

Our AI Pricing Copilot finds the best price on every marketplace from one cost — free.

Try Pricing Copilot →