Free Business Calculator

Margin Calculator: Find Profit Margin, Gross Profit and Markup

Enter your cost and target gross margin to see the selling price, gross profit and markup in one click. Free, instant and no signup.

Gross margin Gross profit Markup Price from target margin Margin vs markup Sample values No signup
$
%

See Your Profit Margin in Seconds

Pricing by gut feel is how small shops lose money without noticing. This profit margin calculator shows exactly what to charge to keep the share of each sale you want. Enter a $60 cost and a 40% gross margin, and it returns a $100 selling price, $40 gross profit and a 66.67% markup.

Read more

The Margin Formula

The margin calculator formula is simple: gross margin = (revenue − cost) ÷ revenue × 100. Gross profit is revenue minus cost. Margin is always a share of the selling price, so it can never reach 100%.

Margin vs Markup

Markup uses cost as the base; margin uses price. The same $60 item sold for $100 has a 40% margin but a 66.7% markup. Mixing them up is the most common pricing mistake, so this works as a margin and markup calculator in one.

Gross margin Equivalent markup
20% 25%
25% 33.3%
33.3% 50%
40% 66.7%
50% 100%

To convert margin to markup, use markup = margin ÷ (1 − margin). For markup to margin, use margin = markup ÷ (1 + markup).

Set a Price From a Target Margin

Know the margin you want? Divide cost by (1 − target margin). An item that costs $30 needs a price of $50 for a 40% margin. Enter the cost and the margin, and the calculator does this for you, so you can price a product without trial and error.

Gross, Net and Contribution Margin

A gross margin calculator only subtracts the cost of goods. A net profit margin calculator subtracts every expense, including rent, wages and tax, so it is always lower. A contribution margin calculator subtracts variable costs only, which shows how much each sale adds toward fixed costs.

Margins for Shopify and Retail Stores

Using it as a Shopify profit margin calculator or retail margin calculator? Include everything it costs to land each sale: product cost, shipping in and payment fees. A product selling at $40 with $14 in cost and $1.46 in fees keeps $24.54, a 61.4% margin. Enter the combined cost for a realistic price.

How to Calculate Margin

1

Select the margin type

Choose Profit Margin for products and services. Stock Trading and Currency Exchange modes are there for traders.
2

Enter your cost

Type what the item costs you, including shipping and fees if you want a true picture.
3

Enter your gross margin

Type the margin you want as a percentage, such as 40. It must be below 100.
4

Click Calculate

See the sale revenue (your selling price), gross profit and markup. Click Sample to see an example.

Margin Calculator FAQs

Common questions about margins.

How do you calculate profit margin?

Subtract cost from revenue, divide by revenue and multiply by 100. $500 sales on $350 cost is a 30% margin.

What is a good profit margin?

It depends on the industry. Grocery stores often run net margins of 1% to 3%, while software companies can exceed 20%. Compare yourself with businesses like yours.

What is the difference between margin and markup?

Margin is profit as a share of price. Markup is profit as a share of cost. A 50% markup equals a 33.3% margin.

How do I convert markup to margin?

Divide the markup by 1 plus the markup. A 25% markup is 0.25 ÷ 1.25 = 20% margin.

What is gross margin vs gross profit?

Gross profit is a dollar amount: revenue minus cost of goods. Gross margin is that amount as a percentage of revenue.

How do I calculate net profit margin?

Divide net income by total revenue. $30,000 net income on $400,000 revenue is a 7.5% net margin.

What is contribution margin?

Price minus variable cost per unit. Sell at $50 with $20 variable cost and each unit contributes $30, a 60% contribution margin ratio.

Is this margin calculator free?

Yes. No signup, no limits and it works on any device.

Margin set? Check fees and tax.

See what payment fees take with the PayPal Fee Calculator, or price your total with the Sales Tax Calculator.

PayPal Fee Calculator

Raheel Jakhura

CEO / Co-Founder

Our goal is to provide online free tools so you don't have to install any software for basic usages. We are trying to add more tools and make these tools free forever.

cookies image
We care about your data and would love to use cookies to improve your experience.