Profit Margin Calculator
Calculate gross profit, profit margin and markup from your cost and selling price.
CalculatorsWhat this calculator does
The Profit Margin Calculator turns two numbers you already know — what an item costs you and what you sell it for — into the three numbers you actually need in order to price with confidence: gross profit, profit margin and markup.
Enter your total cost and your selling price. Results update as you type. Nothing is submitted, saved or sent anywhere.
The formulas
Gross profit is the money left after you pay for the item:
- Gross profit = Selling price - Cost
Profit margin expresses that profit as a share of the price your customer pays:
- Profit margin % = (Gross profit / Selling price) x 100
Markup expresses the same profit as a share of what the item cost you:
- Markup % = (Gross profit / Cost) x 100
Margin and markup are always different numbers for the same sale, because the denominator changes. Margin can never exceed 100%, while markup has no upper limit.
A worked example
Suppose a product costs you $40.00 and you sell it for $100.00.
- Gross profit = $100.00 - $40.00 = $60.00
- Profit margin = ($60.00 / $100.00) x 100 = 60%
- Markup = ($60.00 / $40.00) x 100 = 150%
The same $60.00 of profit is a 60% margin and a 150% markup. If you had applied a 60% markup instead of a 60% margin, your price would have been $64.00 and your margin only 37.5% — a $36.00 shortfall on every unit sold.
How to use the result
Work backwards when you have a target margin. To hit a 40% margin on a $40.00 cost, divide the cost by (1 - 0.40): $40.00 / 0.60 = $66.67. Enter that price here to confirm the margin before you publish it.
Remember that gross margin ignores overhead such as rent, shipping, payment processing fees and returns. Treat the margin this calculator reports as your ceiling, not your take-home profit.
Frequently asked questions
What is a good profit margin?
It depends entirely on the industry. Grocery retail often runs on single-digit margins, general retail typically lands between 20% and 40%, service businesses commonly target 50% or more, and digital products can exceed 90% because the marginal cost of an extra unit is close to zero. Compare yourself against your own sector, not against a global average.
Should I price using margin or markup?
Price using margin. Margin tells you how much of each dollar of revenue you keep, which is the number that has to cover overhead and still leave a profit. Markup is convenient for quick shelf pricing, but it consistently flatters the result if you read it as a margin.
Can the margin be negative?
Yes. If your selling price is below your cost, gross profit is negative and so is the margin. That is a valid result and usually a signal to raise the price or renegotiate the cost.
Does this include taxes or fees?
No. Enter your net cost and your net selling price, excluding sales tax or VAT. If you want marketplace or payment processing fees reflected in the result, add them to the cost field before calculating.
Privacy
This calculator runs entirely in your browser. Your cost and price values are never transmitted to Toolune, never stored, never logged and never shared with third parties. You can disconnect from the internet after the page loads and it will keep working.
Frequently asked questions
- What is a good profit margin?
It depends entirely on the industry. Grocery retail often runs on single-digit margins, general retail typically lands between 20% and 40%, service businesses commonly target 50% or more, and digital products can exceed 90% because the marginal cost of an extra unit is close to zero. Compare yourself against your own sector, not against a global average.
- Should I price using margin or markup?
Price using margin. Margin tells you how much of each dollar of revenue you keep, which is the number that has to cover overhead and still leave a profit. Markup is convenient for quick shelf pricing, but it consistently flatters the result if you read it as a margin.
- Can the margin be negative?
Yes. If your selling price is below your cost, gross profit is negative and so is the margin. That is a valid result and usually a signal to raise the price or renegotiate the cost.
- Does this include taxes or fees?
No. Enter your net cost and your net selling price, excluding sales tax or VAT. If you want marketplace or payment processing fees reflected in the result, add them to the cost field before calculating.