Profit Margin Calculator
Enter your cost and selling price to see profit, margin and markup. Or work backwards: enter the cost and a desired margin or markup to find the price you should charge.
Runs in your browser. Your files are never uploaded.
Loading Profit Margin Calculator…
How to use Profit Margin Calculator
- Choose a mode: profit from cost and price, price from desired margin, or price from desired markup.
- Enter your cost.
- Enter the selling price, or the margin or markup you want.
- Read the profit, margin, markup or required selling price.
Margin versus markup
These two words are often mixed up, and the mistake can quietly cost a business money. Profit is the selling price minus the cost. Profit margin expresses that profit as a share of the price you charge, so it tells you how much of each sale you keep. Markup expresses the same profit as a share of what the item cost you, so it tells you how much you add on top of cost.
Because the denominators differ, markup is always larger than margin for the same sale. If you set a price by adding 40 percent to cost, you will not earn a 40 percent margin; you will earn about 28.6 percent. This tool shows both numbers so you can price with confidence.
Formulas and worked example
Profit = price − cost. Margin = profit ÷ price × 100. Markup = profit ÷ cost × 100. Price from margin m: price = cost ÷ (1 − m). Price from markup k: price = cost × (1 + k).
Example: cost 60, price 100. Profit = 40, margin = 40 ÷ 100 = 40 percent, markup = 40 ÷ 60 = 66.67 percent. To earn a 40 percent margin on a cost of 60, price = 60 ÷ 0.6 = 100. To apply a 40 percent markup, price = 60 × 1.4 = 84, which gives a margin of 28.57 percent.
Tips and limits
Use the result as one input to pricing, along with competitors, demand and the value customers see in your product.
- Include every cost that belongs to the sale (materials, labour, packaging, shipping, payment fees) or the margin will be overstated.
- This is a per-item calculation; overheads and taxes are not included.
- Discounts reduce margin faster than you might expect, so recalculate after any discount.
- Gross margin and net margin are different; this tool shows whatever the cost you enter represents.
- Estimate only. It is not accounting or tax advice.
Why use this profit margin calculator tool
- Margin and markup. See both numbers side by side so they are not confused.
- Reverse pricing. Find the price that gives a target margin or markup.
- Clear checks. Rejects an impossible margin of 100 percent or more.
- Private. No data is sent anywhere.
Frequently asked questions
What is the difference between margin and markup?
Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. A product bought for 60 and sold for 100 has a 40 percent margin and a 66.67 percent markup.
How do I find the price for a desired margin?
Price = cost ÷ (1 − margin). For a cost of 60 and a 40 percent margin, price = 60 ÷ 0.6 = 100.
Why can margin never reach 100 percent?
Margin is profit divided by price. Profit equals price only when cost is zero, and a price cannot be calculated from a margin of 100 percent or more.
More free tools
Mortgage Calculator
Work out your monthly mortgage payment from price, down payment, rate and term, with optional tax, insurance and HOA, total interest and a yearly payoff table.
Open toolSimple Interest Calculator
Calculate simple interest and the total amount from principal, annual rate and time in years, months or days. Shows the formula and a worked example.
Open toolInflation Calculator
See what today’s money will cost in future, or how much purchasing power an amount keeps, using your own annual inflation rate and number of years.
Open tool