Profit Margin & Markup Calculator
Enter what an item costs you and what you sell it for. See your profit, margin and markup in rupees, or find the price you need.
Lagat aur bechne ki qeemat daalein: munafa, margin aur markup foran nazar aayega.
Updated 26 November 2026 · By Hassnain Imran · Free, runs in your browser.
| Total profit for 100 items | |
| Total sales |
Selling on Daraz? Fees and returns come out of this profit. Check it with Daraz fees →
Sell at
Margin must be below 100%. At 100% the price would be infinite.
Sell at
Margin or markup?
Margin is the share of the selling price you keep as profit. Markup is how much you add on top of your cost. Same profit, different base, so the two numbers are never equal.
Margin: qeemat ka kitna hissa munafa hai. Markup: lagat pe kitna izafa kiya.
If a product costs you Rs 1,000 and you sell it for Rs 1,500, profit is Rs 500. Margin is profit ÷ selling price = 33.3%. Markup is profit ÷ cost = 50%. To get a 40% margin on the same Rs 1,000 cost, the price must be Rs 1,000 ÷ (1 − 0.40) = Rs 1,666.67, about Rs 1,667.
Formulas: profit = price − cost · margin = profit ÷ price · markup = profit ÷ cost · price for a margin = cost ÷ (1 − margin) · price from a markup = cost × (1 + markup).
Step-by-step guide with the common pricing mistake: profit margin vs markup.
Markup to margin table
| Markup on cost | Margin of price |
|---|---|
| 10% | 9.1% |
| 20% | 16.7% |
| 25% | 20.0% |
| 30% | 23.1% |
| 40% | 28.6% |
| 50% | 33.3% |
| 60% | 37.5% |
| 75% | 42.9% |
| 100% | 50.0% |
| 150% | 60.0% |
| 200% | 66.7% |
Margin = markup ÷ (1 + markup). Example: a 100% markup (double the cost) is a 50% margin.
Frequently asked questions
What is the difference between profit margin and markup?
Both use the same profit, but divide it by different numbers. Margin = profit ÷ selling price. Markup = profit ÷ cost. Example: cost Rs 1,000, price Rs 1,500, profit Rs 500: margin 33.3%, markup 50%. Markup is always the bigger number when you make a profit.
How do I calculate the selling price from a target margin?
Selling price = cost ÷ (1 − margin). For a 40% margin on a Rs 1,000 cost: Rs 1,000 ÷ 0.60 = Rs 1,666.67. Do not add the margin % to the cost: Rs 1,000 + 40% = Rs 1,400 is a 40% markup, which is only a 28.6% margin.
How do I convert markup to margin, or margin to markup?
Margin = markup ÷ (1 + markup). Markup = margin ÷ (1 − margin). So a 50% markup is a 33.3% margin, a 100% markup is a 50% margin, and a 25% margin needs a 33.3% markup.
Does this include Daraz or marketplace fees?
No. This page uses only your cost and selling price. On Daraz, commission, payment and handling fees, ads and COD returns come out of the price, so your real margin is lower. Use the Daraz Profit Calculator for that; the button on this page carries your cost and price over.
Is what I type saved?
No. Everything is calculated in your browser. If you make a share link, the numbers sit after the # in the link, which browsers do not send to our server; anyone you send the link to can see them.
More tools
- Daraz Profit Calculator: real profit per sale after fees, ads and COD returns
- Daraz Commission Finder 2026: the exact commission for your category
- Sales Tax Calculator (18%): add or remove sales tax
- Upwork & Fiverr Fee Calculator: what reaches your bank in PKR
- Withdrawal Calculator: which withdrawal route gives the most rupees
- Freelance Hourly Rate Calculator: the dollar rate to charge
- Salary Tax Calculator 2026-27: monthly tax and take-home pay
- Zakat Calculator: nisab check and 2.5% zakat in rupees
- Upwork Proposal Checker: score your proposal before you send it
- 24 AI Prompts to Make Money: copy-ready prompts for ChatGPT or Claude