Business Calculators

Profit Margin Calculator

Calculate profit margin, markup, selling price, revenue, cost, and pricing scenarios.

Enter the values and review the result.

$

How much it costs you to produce or buy the item.

$

The price at which you sell the item to customers.

Calculation assumptions

  • *Profit is calculated as revenue minus cost.
  • *Profit margin uses revenue as the base; markup uses cost as the base.
  • *Selling price from target margin = cost / (1 - margin rate).
  • *Selling price from target markup = cost x (1 + markup rate).
  • *Calculation methodology is maintained by Calzivo and checked against the educational source listed below.
  • *Real profit can differ because of taxes, fees, discounts, refunds, labor, overhead, shipping, inventory loss, and changing costs.

Enter a value to see results.

Results and breakdowns will appear here after a valid calculation.

What is profit margin?

Profit margin shows how much of each sales dollar remains after the cost you enter. It is useful for checking product pricing, service quotes, discounts, and small-business unit economics.

This calculator focuses on gross profit planning. Real profit can change after overhead, labor, taxes, payment processing fees, shipping, returns, discounts, inventory loss, and changing costs.

Profit margin vs markup

Many people confuse margin and markup, but they are different. Margin is the ratio of profit to the selling price. Markup is the ratio of profit to the cost price.

Example: if cost is $60 and selling price is $100, profit is $40. Margin is $40 / $100 = 40%, while markup is $40 / $60 = 66.67%.

How to calculate selling price from target margin

To price from a target margin, use selling price = cost / (1 - margin rate). A $60 cost at a 40% target margin gives $60 / 0.60 = $100.

To price from markup, use selling price = cost x (1 + markup rate). A $60 cost with a 50% markup gives $60 x 1.50 = $90.

Target margin and target markup are different

A $75 cost with a 25% target margin needs a $100 selling price because $75 / (1 - 0.25) = $100. The $25 profit is 25% of revenue.

An $80 cost with a 25% target markup also gives a $100 selling price, but the $20 profit is 25% of cost and only 20% of revenue. The selected denominator changes the result.

Example calculation

For a product that costs $80 to make and sells for $120:

  • Gross Profit:$120 - $80 = $40
  • Profit Margin:($40 / $120) x 100 = 33.3%
  • Markup:($40 / $80) x 100 = 50%

Discount, break-even, and sales tax connections

Discounts reduce selling price and can shrink margin quickly. Use the Discount Calculator to test sale prices, then check the remaining margin here.

For fixed costs and contribution margin, use the Break-even Calculator. For checkout tax estimates, use the Sales Tax Calculator. Sales tax collected is generally a pass-through amount, not ordinary business revenue, but tax treatment can vary.

For percentage formulas, compare rates with the Percentage Calculator.

Browse related planning tools in Business Calculators and Finance Calculators.

Common mistakes and limitations

  • Using cost as the base for margin instead of revenue.
  • Confusing markup with margin when setting prices.
  • Leaving out overhead, labor, discounts, payment fees, returns, shipping, inventory loss, or taxes.
  • Treating gross margin as net profit after all business expenses.
  • Assuming a target margin guarantees demand, sales volume, or final profitability.

Quick answers

What this calculator answers

  • Result: Find gross profit, profit margin, and markup from cost and revenue.
  • Formula: Profit margin = (revenue - cost) / revenue x 100.
  • Pricing: Use target margin or target markup mode to estimate a selling price from cost.
  • Related guide: Compare margin formulas, markup, and common pricing mistakes. profit margin calculator guide

Transparency note

Accuracy and limitations

Calzivo tools are built for practical estimates, conversions, and checks. Some tools use standard formulas or simplified assumptions, and results can be affected by input accuracy, rounding, units, local rules, or changing official requirements.

Results depend on the values you enter and any simplified assumptions used by the tool. Verify important results before making decisions or submitting official information.

Reference check

Sources and references

These references provide background context for the topic. They do not replace official advice or documents for personal decisions.

How to Use This Tool

Use these steps to enter the right inputs and interpret the result correctly.

1

Enter the total cost of the item or service.

2

Choose whether to calculate from selling price, target margin, or target markup.

3

Enter the selling price or target percentage for the selected mode.

4

View gross profit, margin, markup, selling price, and formula check.

5

Check the markup percentage to see how much you've added to the cost.

6

Use the scenario table to compare common target margins.

Frequently Asked Questions

Common questions about Profit Margin Calculator and how to read the result.

What is a good profit margin?

It depends on industry, pricing model, overhead, and risk. Compare margins against your own costs and similar businesses instead of relying on one universal number.

Can profit margin be negative?

Yes. If your cost is higher than your selling price, your margin will be negative, indicating a loss on every sale.

Does this include overhead costs?

This calculator finds 'Gross Margin'. To find 'Net Margin', you would need to subtract all other expenses like rent, salaries, and taxes from your profit.

How do I increase my margin?

You can increase your margin by either raising your selling price or finding ways to reduce your production or acquisition costs.

What is the profit margin formula?

Profit Margin = (Revenue - Cost) / Revenue x 100. Revenue must be greater than zero for the formula to work.

Is markup the same as margin?

No. Markup compares profit with cost, while margin compares profit with revenue. The percentages are different even with the same profit.

What happens when cost is zero?

Profit and margin can still be calculated when selling price is positive, but markup is undefined because its cost denominator is zero.