Navid MoazzezNavid Moazzez

Free Profit Margin Calculator (+ Guide)

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.

Navid Moazzezby Navid Moazzez·Updated 2. Okt. 2026·2 min read·

Enter your price and cost to see your profit, margin and markup, and the price for the margin you want.

1

Your numbers

Your price and cost

Cost is what one sale costs you to make or deliver.

2

Your profit

Enter a price to see your profit.

Where these numbers come from

stripe
Stripe pricing (US)2.9% + 30¢ per successful domestic card paymentRead 29. September 2026
Rate this tool

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.mdTL;DR

Key takeaways

This profit margin calculator turns your price and cost into profit, margin and markup while showing the price needed for a target margin.
Margin is profit divided by the price, while markup is profit divided by the cost, giving the same sale a higher markup than margin.
A card fee of 2.9% plus 30¢ lowers the profit on a $50 sale with a $30 cost from $20 to $18.25.
Pricing by markup when you mean margin is the most common way to charge too little.

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:

It runs in your browser, and nothing you enter leaves your device.

How to use the profit margin calculator

Work out your margin0/4

Profit margin and markup formulas

MeasureFormula
ProfitPrice minus cost
MarginProfit ÷ price
MarkupProfit ÷ cost
Price for a marginCost ÷ (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

MarkupMargin
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 Moazzez

AI business strategist & AI OS builder

Navid Moazzez helps creators and founders master AI and build their own AI Operating System (AI OS) to automate their business and life.

Navid.me is reader-supported. When you buy through links on this site, I may earn an affiliate commission. Learn more.

More free tools

Related MCP servers & CLIs

Free AI newsletter

The 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.

Loved by 10,000+ readers