Loona Calculators
Loona Calculators › Money & Finance › Profit Margin Calculator

💹 Profit Margin Calculator

Selling a product and want to know how much you really earn on each sale? Enter the cost price and the selling price to see your profit, your profit margin percentage and your markup percentage — the three numbers every seller should know.

How to use the Profit Margin Calculator

  1. Enter the cost price (what the product costs you).
  2. Enter the selling price (what the customer pays).
  3. Press Calculate — profit, margin and markup appear below.
Example: If a product costs you Rs 800 and you sell it for Rs 1,000, your profit is Rs 200, your margin is 20% and your markup is 25%.

Frequently Asked Questions

What is the difference between margin and markup?

Margin is profit as a percentage of the SELLING price; markup is profit as a percentage of the COST price. The same Rs 200 profit is a 20% margin but a 25% markup on an Rs 800 cost.

Can the margin be more than 100%?

No — margin can never exceed 100%, because profit is always part of the selling price. Markup, however, can go far beyond 100%.

What if the selling price is lower than the cost?

Then the result shows a loss — a negative profit and a negative margin — so you can see exactly how much you lose on each sale.

How it works — the formula

Everything starts with one subtraction: profit is the selling price minus the cost price. The same profit is then expressed two ways. Margin divides the profit by the selling price — it answers “how much of each sale do I keep?” Markup divides the profit by the cost price — it answers “how much did I add on top of my cost?” Both are multiplied by 100 to become percentages. Because margin is measured against the larger selling price, the margin percentage is always smaller than the markup percentage for the same profitable sale, and margin can never exceed 100%. If the selling price is below the cost, the calculator reports a loss and both percentages come out negative.

Formula: Profit = selling price − cost price; margin = profit ÷ selling price × 100; markup = profit ÷ cost price × 100.

Worked example

Inputs: Cost price Rs 1,250; selling price Rs 1,850.

Steps: Profit = 1,850 − 1,250 = Rs 600. Margin = 600 ÷ 1,850 × 100 = 32.43%. Markup = 600 ÷ 1,250 × 100 = 48%.

Result: Profit Rs 600 — profit margin 32.43%, markup 48%.

Frequently asked questions

If I sell something at exactly double its cost, what is my margin?

50%. Doubling the cost means the profit equals the cost, and since margin is measured against the selling price — which is now twice the cost — the margin is 1 ÷ 2 = 50%, while the markup is 100%.

How do I find the selling price for a target margin, say 40%?

Work backwards from the margin formula: price = cost ÷ (1 − margin as a decimal). For a cost of Rs 1,250 and a 40% target margin, that is 1,250 ÷ 0.6 = Rs 2,083.33. Enter that price here to confirm the margin reads 40%.

Which figure should a shopkeeper watch more closely, margin or markup?

Margin, for judging performance — it relates profit to the selling price your customers actually pay and lets you compare products fairly. Markup is mainly a price-setting tool when you are working upwards from a cost.

Are taxes, rent or other business expenses included?

No. The calculator uses only the two prices you enter, so decide beforehand whether your selling price includes tax and keep your cost definition consistent — the comparison is only meaningful if both figures are treated the same way.

Can I enter a cost price of zero to see a 100% margin?

No. Both the cost price and the selling price must be greater than zero, and the calculator shows an error otherwise — a free item has no meaningful margin to calculate.

Related Calculators

🏦

EMI & Loan Calculator

Money & Finance

📈

Compound Interest

Money & Finance

💡

Electricity Bill

Money & Finance

📅

Age Calculator

Date & Time

📊

Investment Calculator

Money & Finance

Embed this calculator on your website — free

Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.