A free profit margin calculator that turns your price and cost into profit, margin and markup, and finds the price for the margin you want.
Enter your price and cost to see your profit, margin and markup, and the price for the margin you want.
Your numbers
Your price and cost
Cost is what one sale costs you to make or deliver.
Your profit
Enter a price to see your profit.
Where these numbers come from
This free profit margin calculator turns your price and cost into profit, margin and markup.
Add a card fee if your buyers pay by card, and enter the margin you want to see the price that gives it.
Here's the difference between margin and markup, the formulas, and an example.
Key takeaways
What is a profit margin calculator?
A profit margin calculator shows how much of each sale you keep as profit, as a share of the price.
Margin is profit divided by the price. Markup is profit divided by the cost. The same sale has a higher markup than margin.
Who is the profit margin calculator for?
It's for anyone setting prices:
- Value equation calculator – founders making an offer worth a higher price.
- Dropshipping profit calculator – store owners adding ads and shipping to the math.
- Stripe fee calculator – sellers checking card fees on their own.
- CAC payback calculator – founders checking how fast a customer pays back.
- How to make money online – anyone pricing a product or a service.
It runs in your browser, and nothing you enter leaves your device.
How to use the profit margin calculator
Profit margin and markup formulas
| Measure | Formula |
|---|---|
| Profit | Price minus cost |
| Margin | Profit ÷ price |
| Markup | Profit ÷ cost |
| Price for a margin | Cost ÷ (1 − margin) |
An example
A $50 price on a $30 cost is a $20 profit: a 40% margin and a 66.7% markup.
If the buyer pays by card, the 2.9% + 30¢ fee takes $1.75, so the profit is $18.25 and the margin 36.5%.
For a 50% margin on the same $30 cost, charge $60.00.
Margin and markup side by side
| Markup | Margin |
|---|---|
| 20% | 16.7% |
| 25% | 20% |
| 50% | 33.3% |
| 100% | 50% |
A 100% markup, doubling your cost, is a 50% margin. Pricing by markup when you mean margin is the most common way to charge too little.
Profit Margin Calculator FAQs
Questions about the profit margin calculator? Here's what to know.
A profit margin calculator turns a price and a cost into profit, margin and markup.
Divide the profit by the price: a $20 profit on a $50 price is a 40% margin.
Margin divides the profit by the price, and markup divides it by the cost.
A 100% markup is a 50% margin.
Divide the cost by 1 minus the margin: a $30 cost at a 50% margin is a $60 price.
Yes, it's free, with no sign-up.
Your numbers are saved in your browser, so they're there when you come back.
Nothing you enter is sent to navid.me.
I did. I'm Navid Moazzez, and I made the profit margin calculator as one of my free tools on navid.me.
More about me.
Navid.me is reader-supported. When you buy through links on this site, I may earn an affiliate commission. Learn more.
Related calculators
More free tools
Related MCP servers & CLIs
Free AI newsletterThe most actionable AI newsletter for founders
Every week, get proven AI strategies, curated tools, and step-by-step systems to grow your audience, create better content, and build a profitable creator business.
No fluff, no filler, no BS. Just five minutes each week that might level up your online business and life.
P.S. Sign up now to get free access to my ultimate AI tools guide for creators.








