Tools/Business Tools/Profit Margin Calculator

Profit Margin Calculator – Gross Margin & Markup Percentage

Calculate gross profit margin and markup percentage online free - no login. Enter your cost and revenue to instantly see profit amount, gross margin percentage, and markup - or reverse-solve for a selling price from a target margin.

If this tool isn’t working as expected, please take a screenshot of the error and report the problem here so we can investigate and improve it.

Financial Calculation Disclaimer

Results from this calculator are estimates based on user-supplied numbers for informational and planning purposes only. Actual interest rates, loan terms, taxes, and financial outcomes may vary depending on your institution, jurisdiction, and market conditions. This tool does not constitute professional financial, tax, or investment advice.

About this tool

Margin and markup are often confused, leading to underpriced products. A 50% markup gives you a 33% margin - not 50%.

Getting these numbers right, and knowing which one you're actually working with, is the foundation of sustainable pricing for freelancers, product sellers, and service businesses.

Choose Profit Margin, Markup, or Revenue Analysis mode, then enter your numbers to get gross profit, gross margin %, and markup % - or reverse-solve for the selling price you'd need to hit a target margin or markup. This tool calculates gross figures only - there are no operating-expense or tax inputs, so it does not calculate net margin.

How to Use Profit Margin Calculator

Pick a Mode

Choose Profit Margin or Markup to solve for a selling price, or Revenue Analysis to check an existing price.

Enter Your Numbers

Enter cost and a target percentage, or cost and revenue, depending on the mode.

Read the Result

Instantly see profit, gross margin %, and markup % - net margin isn't calculated.

Record the Figures

There's no copy or export button - note the numbers down yourself.

Common Workflows

Pick a Mode

Choose Profit Margin (solve for price from a target margin), Markup (solve for price from a target markup), or Revenue Analysis (compute margin and markup from a known cost and price).

Enter Your Numbers

In Profit Margin or Markup mode, enter your cost and a target percentage. In Revenue Analysis mode, enter your cost of goods and your actual revenue or selling price.

Read the Result

Profit Margin and Markup modes show the selling price, profit, and the other percentage (markup or margin). Revenue Analysis shows gross profit, gross margin %, and markup %.

Record the Figures Yourself

There's no copy or export button - note the numbers down or take a screenshot if you need them later.

Best For

  • Three modes: Profit Margin and Markup reverse-solve for a selling price from your cost and a target percentage; Revenue Analysis calculates gross profit, gross margin, and markup from a cost and an actual selling price or revenue figure.
  • Calculates gross margin and markup only - there are no expense or tax inputs, so net margin is never calculated.
  • Runs entirely in your browser - there's no copy, download, or export button, so record the figures yourself if you need them later.

Examples

Profit Margin mode solves for price, not the reverse

Input

Mode: Profit Margin, Cost: $40, Target Margin: 35%

Result

Selling Price: $61.54, Profit: $21.54, Markup: 53.8%

The formula used is Price = Cost ÷ (1 − Target Margin), not Cost × (1 + Margin) - that second formula gives a markup-based price, not a margin-based one.

Revenue Analysis mode never shows a Net Margin figure

Input

Mode: Revenue Analysis, Cost of Goods: $5,000, Revenue: $8,000

Result

Gross Profit: $3,000.00, Gross Margin: 37.50%, Markup: 60.00%

Only these three figures are calculated in any mode - there's no operating-expense field anywhere in the tool, so a Net Margin figure is never shown.

There's no Copy button in any mode

Input

Any mode, after a result appears

Result

The result is displayed as text on the page - there's no button to copy, download, or export it

You'll need to write the numbers down, or copy the page text manually, to keep a record.

Use Cases

Setting a retail price from a target margin

Enter your cost and desired margin in Profit Margin mode to get the exact price to charge.

Checking an existing price's margin and markup

Use Revenue Analysis mode with your real cost and price to see both percentages at once.

Converting a markup-based quote into a margin figure

Use Markup mode to see what gross margin a given markup percentage actually produces.

Common Mistakes

Problem

Assuming this tool calculates net margin

Solution

There's no expense or tax input anywhere in the tool - only gross profit, gross margin, and markup are ever calculated.

Problem

Adding a target margin percentage directly to cost

Solution

That gives a markup-based price, not a margin-based one. Use Profit Margin mode, which applies Price = Cost ÷ (1 − Margin), to get a price that actually hits your target margin.

Problem

Expecting a Copy or export button

Solution

There isn't one in any mode - record the results yourself.

Problem

Confusing Markup mode's output with margin

Solution

In Markup mode, the percentage you enter is a markup - the tool separately shows you the resulting gross margin, which will always be a lower number.

Tips & Best Practices

Use Profit Margin mode when you know your target margin

It solves directly for the selling price - no manual formula needed.

Use Revenue Analysis mode to check an existing price

Enter your real cost and price to see gross profit, margin, and markup together.

Remember margin and markup are different numbers

A 50% markup is a 33% margin, not 50% - check which one you're being asked for before quoting a price.

Track results outside the tool

Since there's no save, copy, or export feature, keep your own record of any figures you'll need again.

Limitations

Gross margin and markup only

There are no operating-expense or tax inputs, so net margin, operating margin, and EBITDA are never calculated.

No copy, download, or export

Results are displayed as on-page text only.

No solve-for-cost mode

You can solve for selling price from a target margin or markup, but not for the cost needed to hit a target margin at a fixed price.

No discount-scenario modeling

There's no built-in way to see how a percentage discount affects your margin - you'd need to calculate the discounted price separately and re-run it through Revenue Analysis mode.

No currency selector

All figures are shown with a $ prefix - the math works in any currency, but the symbol doesn't change.

No saved history or presets

Each calculation is independent - nothing is remembered between visits.

Comparisons

This Tool vs. a Net-Margin Capable Calculator

Both calculate margin, but only one accounts for operating expenses.

This Tool (Gross Margin & Markup Only)A Net-Margin Calculator
InputsCost and selling price/revenue onlyCost, revenue, and operating expenses
Net marginNot calculatedCalculated from revenue minus all expenses
Best forProduct-level pricing decisionsWhole-business profitability analysis

FAQs

The most common confusion is margin vs markup. Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost. If you want a 30% margin, you need a 42.8% markup - not 30%. This calculator computes gross margin and markup only; it has no expense or tax inputs, so it cannot calculate net margin.

Does this calculator show net margin?

No. It has three modes (Profit Margin, Markup, Revenue Analysis), and none of them take an operating-expense or tax input - only gross profit, gross margin %, and markup % are ever calculated. If you need net margin, you'll need to subtract your operating expenses and taxes from gross profit yourself.

What are the calculator's three modes?

Profit Margin mode: enter cost and a target margin %, and it solves for the selling price you'd need to charge. Markup mode: the same, but for a target markup % instead. Revenue Analysis mode: enter your actual cost and revenue (or selling price), and it calculates gross profit, gross margin %, and markup % directly - no reverse-solving.

Can I copy, download, or export the result?

No. The result is displayed as text on the page only - there's no copy button, download option, or export feature in any mode.

What is the difference between profit margin and markup?

Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost. Example: cost = $60, selling price = $100, profit = $40. Gross margin = $40/$100 = 40%. Markup = $40/$60 = 66.7%. A 50% markup does NOT give a 50% margin - it gives a 33.3% margin. This distinction matters significantly for pricing and financial reporting.

What is a good profit margin for a product business?

It varies significantly by industry. Grocery and food retail typically operates at 2–5% net margin. Software and SaaS: 60–80% gross margin. Physical consumer goods: 30–50% gross margin. Service businesses: 20–40% net margin. What counts as 'good' depends on your cost structure, industry norms, and business model. Gross margin above your industry average means you have pricing power or cost efficiency.

How do I calculate the selling price from a target margin?

Selling Price = Cost ÷ (1 − Target Margin). Example: if your cost is $40 and you want a 35% margin: Selling Price = $40 ÷ (1 − 0.35) = $40 ÷ 0.65 = $61.54. This formula is critical for pricing decisions - many business owners incorrectly add their target margin percentage to the cost, which gives a markup, not a margin. This is exactly what Profit Margin mode calculates for you.

What is gross margin vs net margin?

Gross margin = (Revenue − Cost of Goods Sold) ÷ Revenue. It measures profitability before operating expenses (rent, salaries, marketing). Net margin = Net Profit ÷ Revenue. It measures profitability after all expenses including taxes. A business can have a high gross margin and a low or negative net margin if operating costs are excessive. This is general education - this calculator itself only computes gross margin and markup, since it has no expense or tax inputs to derive net margin from.

How do I increase my profit margin?

The two levers are: increase revenue (raise prices, sell more) or reduce costs (lower COGS, reduce waste). Raising prices has the highest impact per unit if demand is price-inelastic. Reducing COGS through supplier negotiation, volume purchasing, or process efficiency improves margin without customer friction. Cutting operating costs improves net margin but not gross margin.

Get more tools like this

Leave your email so we can prioritize similar tools and updates.

Trending Tools

Trending tools will appear as visitors explore the catalog.

Recently Used

Your recently visited tools will show up here.