Profit Margin Calculator

Calculate profit and margin from cost and selling price.

Calculate

Result
-

Formula shownThis calculator includes a visible formula and example below the tool.
Reviewed by Calcora OnlineLast updated May 13, 2026.
Method notesRead how Calcora reviews calculator pages.

Need more context?

Profit Margin Calculator Guide

Read the step-by-step guide for inputs, formula notes, common mistakes, and result interpretation.

Read guide

What the Profit Margin Calculator calculates

The Profit Margin Calculator helps you calculate profit, margin, and markup from cost and selling price. It is meant for quick, repeatable checks where the calculation itself is straightforward but the input choices still matter. The calculator stays at the top of the page so the answer comes first, while the guide below explains what the number means and how to avoid common interpretation mistakes.

This page focuses on profit margin rather than a broad all-purpose estimate. That matters because a useful calculator page should explain the exact relationship between the fields, the formula behind the answer, and the situations where the result can become misleading. If you change one input and run the page again, you can see how sensitive the profit margin percentage is to that assumption.

Profit Margin Calculator formula

The core formula is:

profit = selling price - cost; margin = profit / selling price ? 100; markup = profit / cost ? 100

The calculator applies this formula directly in your browser. No account, upload, or external data connection is required. The result depends on cost and selling price for the same item or service, so the most important accuracy step is making sure those values describe the same situation. If one value comes from a different period, unit, platform, product, or measurement method, the answer may still calculate correctly but describe the wrong scenario.

Example calculation

If cost is 60 and selling price is 100, profit is 40, margin is 40%, and markup is 66.67%.

The example is useful because it shows the scale of the answer before you enter your own values. After replacing the defaults, look at the main result first, then review any supporting result cards below it. Those secondary values are included when they clarify the calculation, such as a converted unit, a supporting amount, or a related percentage that helps explain the main output.

When to use this calculator

Use the Profit Margin Calculator when you need help with:

  • pricing products
  • checking whether a discount leaves enough margin
  • explaining the difference between profit, margin, and markup

It is also useful as a quick verification tool. If a spreadsheet, quote, dashboard, or manual calculation gives a number that feels wrong, entering the same assumptions here can help you catch swapped fields, unit mistakes, or a percentage that was applied to the wrong base. For repeated planning work, save the inputs beside the answer so the number can be reviewed later.

Input checks before you trust the answer

  • Use selling price after discounts if the item is usually sold on promotion.
  • Use full landed cost when you want a realistic product margin.
  • Do not compare markup and margin as if they are the same percentage.

These checks are intentionally simple, but they prevent most avoidable errors. A calculator cannot know whether a number was copied from the right report, whether a package was measured before or after packing, or whether a business value includes taxes and fees. The safest approach is to label the source of each input before using the result in a decision.

How to read the profit margin answer

Margin shows how much of the selling price remains as profit before other costs that were not included.

For planning, the best use of the result is comparison. Run one baseline calculation, then change only one assumption at a time. This makes it clear whether the answer is driven mostly by price, quantity, time, size, rate, cost, or another input. When several inputs change at once, it becomes much harder to tell which assumption actually caused the movement.

Limits and real-world context

Gross margin can look strong while net profit is weak if ads, rent, payroll, refunds, payment fees, and shipping are not included in the cost base.

The calculator gives a clean mathematical output, but practical use still depends on the way the input was collected. Rounding, measurement tolerance, reporting definitions, business policy, product category, or local rules can all affect how the answer should be used. Treat the result as a decision-support number, not as a substitute for official records, supplier terms, medical advice, tax guidance, or professional review when those apply.

Frequently asked questions

Why is markup higher than margin?

Markup divides profit by cost, while margin divides profit by selling price, so the percentages are different.

Should shipping be included in cost?

Include it if shipping is part of what it costs you to sell or deliver the item.

Can margin be over 100%?

Profit margin based on selling price normally cannot exceed 100% when cost is not negative. Markup can exceed 100%.