Profit Margin Calculator
No signup. No email. Just calculate.
Your details
Profit margin
40.0%
A$40.00 gross profit per unit
Gross profit
A$40.00
Profit margin
40.0%
Markup
66.7%
Cost vs profit
Want this calculator on your own site?
Powered by FinCalcs · Free financial calculators
Profit margin tells you how much of every sale you actually keep. This calculator works out your gross profit, profit margin percentage and markup from a product's cost and selling price — or helps you set a price to hit a target margin. It's essential for pricing products, comparing profitability and making sure each sale earns enough to sustain your business.
How to use the Profit Margin Calculator
- 1Enter the cost of the product or service.
- 2Enter the selling price (revenue).
- 3Review the gross profit per unit.
- 4See your profit margin percentage.
- 5Check the markup percentage over cost.
What is Profit Margin?
Profit margin and markup are two of the most important figures in business, and they're often confused. Both describe the gap between what something costs you and what you sell it for, but they express it differently — and mixing them up can lead to underpricing and lost profit.
Gross profit is the simplest figure: selling price minus cost. If you buy an item for $60 and sell it for $100, your gross profit is $40. From there, profit margin and markup take different reference points.
Profit margin expresses profit as a percentage of the selling price. In the example, $40 profit on a $100 sale is a 40% margin. Margin can never exceed 100%, and it answers the question 'what share of my revenue is profit?' It's the figure investors and managers focus on because it shows how efficiently a business turns sales into profit.
Markup expresses profit as a percentage of the cost. The same $40 profit on a $60 cost is a 67% markup. Markup answers 'how much did I add on top of my cost?' and is what many retailers use when pricing from a supplier cost. Crucially, a given markup always produces a smaller margin — a 50% markup is only a 33% margin — which is why confusing the two leads to thinner profits than expected.
Understanding both lets you price deliberately. If you need a certain margin to cover overheads and make a profit, you can work backward to the price or the required markup. Comparing margins across products reveals which lines are most profitable, and tracking margin over time shows whether rising costs are quietly eroding your profitability.
Keep in mind that gross margin doesn't account for operating expenses like rent, wages and marketing — net profit margin does. This calculator focuses on the gross figures that drive pricing decisions; for overall profitability, subtract all operating costs from revenue.
The formula
Gross profit = Price − Cost Profit margin % = (Gross profit ÷ Price) × 100 Markup % = (Gross profit ÷ Cost) × 100
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. The same dollar profit gives a higher markup than margin — for example, a 50% markup equals a 33% margin.
What is a good profit margin?+
It varies widely by industry. Retail often runs on slim margins of a few percent, while software can exceed 80%. Compare your margin to typical figures for your sector rather than a universal benchmark.
How do I price for a target margin?+
Divide your cost by (1 minus the target margin as a decimal). For a 40% margin on a $60 cost: $60 ÷ 0.60 = $100. This calculator helps you check the margin and markup any price produces.
Is this gross or net margin?+
This is gross margin — price minus the direct cost of the product. Net profit margin also subtracts operating expenses like rent, wages and marketing, so it's lower than gross margin.
This calculator is for informational and educational purposes only. Results are estimates and should not be considered financial advice. Always consult a qualified financial professional before making financial decisions.
Related Calculators
ROI Calculator
Calculate return on investment, net profit and annualized ROI.
Open calculatorBreak-Even Calculator
Find the units and revenue needed to cover your fixed and variable costs.
Open calculatorLoan Calculator
Estimate monthly payments and total interest on any personal, auto or student loan.
Open calculatorNet Worth Calculator
Add up your assets and liabilities to find your true net worth.
Open calculator