Profit Margin Calculator
Calculate gross profit margin, markup percentage, revenue, and cost price with clear visual breakdowns.
Runs in your browser. Nothing you add is uploaded.
What the Profit Margin Calculator does
Margin and markup are calculated from the same two numbers and are routinely confused, which is expensive. Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. A 50% markup is a 33.3% margin — mistake one for the other when pricing and you will systematically under-earn. This calculator gives you both, plus the selling price needed to hit a target margin.
How to calculate profit margin
- Enter the cost price — what the item cost you, landed.
- Enter the selling price, or the margin you want to achieve.
- Read gross profit, margin percentage, and markup percentage side by side.
- Use the target-margin output to find the price you need to charge.
The Profit Margin Calculator runs entirely in your browser — nothing you enter is uploaded, stored, or logged.
How it works
Gross Profit Margin
Margin % = ((Revenue - Cost) / Revenue) × 100Margin calculates what fraction of each revenue dollar represents net profit after cost.
Example: Cost = $60, Price = $100 -> Margin = 40%.
When to use it
Pricing a new product
Working from a target margin to a selling price is the correct direction. Starting from cost and applying a markup percentage is where the margin-versus-markup confusion causes underpricing.
Assessing whether a discount is affordable
A 20% discount on a product carrying a 30% margin cuts gross profit by roughly two-thirds. Seeing that before agreeing to the promotion is worthwhile.
Comparing profitability across a range
Absolute profit per unit says little on its own. Margin makes products with different price points directly comparable.
Good to know
- Margin = (price − cost) ÷ price. Markup = (price − cost) ÷ cost. The denominators differ, and that is the whole distinction.
- Margin can never reach 100%; markup has no upper limit.
- To convert markup to margin: margin = markup ÷ (1 + markup). A 60% markup is a 37.5% margin.
- Gross margin excludes overheads. A healthy gross margin with high fixed costs can still be a loss-making business.
Frequently asked questions
Why is margin always lower than markup?
What is the difference between margin and markup?
How do I find the price for a target margin?
What is a good profit margin?
What is the difference between gross and net margin?
How much extra volume does a discount need?
Related tools
UTM Builder
Build campaign tracking links, or strip tracking from a URL.