Skip to content

Profit Margin CalculatorNew

Margin, markup and selling price.

Runs in your browser · free · no sign-up

Selling price
1,000.00
Profit
200.00
Gross margin
20.00%
Markup
25.00%

margin = profit ÷ price · markup = profit ÷ cost · price = cost ÷ (1 − margin)

About the Profit Margin Calculator

Margin and markup are often confused, and the difference can cost you money. Enter cost and price, or a target, and see both numbers side by side.

Pricing products correctly is one of the most important decisions in a small business. Margin and markup both describe profit, but they use different bases, and mixing them up leads to underpricing. Margin is profit divided by the selling price; markup is profit divided by cost. A 25% margin is a 33.3% markup.

This calculator works in several directions. Enter cost and price to see profit, margin and markup. Or enter cost and a target margin to get the selling price you need, or cost and a target markup. It is useful for shopkeepers, online sellers, freelancers pricing services and students studying business maths.

How to use the Profit Margin Calculator

  1. 1Choose what you want to find.
  2. 2Enter the cost and the price or target percentage.
  3. 3Read the profit, margin, markup and price.

Key features

  • Profit, margin and markup from cost and price.
  • Selling price from a target margin.
  • Selling price from a target markup.
  • Formulas shown.
  • Instant results.

Practical uses

  • Pricing products for an online store.
  • Checking whether a wholesale deal leaves enough margin.
  • Setting service rates as a freelancer.
  • Learning the difference between margin and markup.
  • Checking whether a supplier price increase leaves enough profit.

Example

A product that costs 700 and sells for 1,000 earns 300 profit: a 30% margin and a 42.9% markup. To reach a 40% margin on the same cost, the price must be 700 ÷ 0.6 ≈ 1,167.

Tips and common mistakes

  • Include shipping, packaging and payment fees in cost.
  • Check competitors’ prices after calculating your target price.
  • Remember that discounts reduce margin faster than you might expect.

Limitations

  • Overheads such as rent and salaries are not allocated automatically.
  • Tax is not included; use prices before tax.

Privacy

Your costs and prices stay in your browser.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit ÷ selling price; markup is profit ÷ cost. A 25% margin equals a 33.3% markup.

How do I price for a 30% margin?

Price = cost ÷ (1 − 0.30). A cost of 700 needs a price of 1,000.

Does this include tax?

No. Use prices before sales tax or VAT.

Can margin be more than 100%?

No. Margin is a share of the selling price, so it is always below 100%. Markup can exceed 100%.

What is a good profit margin?

It varies widely: grocery shops may run on single-digit margins, while software or services often have much higher ones. Compare with your industry.

Is gross margin the same as net margin?

No. Gross margin uses only the direct cost of the product; net margin also subtracts overheads such as rent, salaries and taxes.

Related tools

EMI CalculatorMonthly loan installment, total interest and schedule.
Discount CalculatorSale price and savings after a discount.
Loan CalculatorPayment, total cost and payoff date of a loan.
Compound Interest CalculatorNewSee how savings grow with compounding.