Profit Margin Calculator
Calculate profit margins
Profit margin
—
—
Margin vs markup — same profit, different math
Margin = profit ÷ price · Markup = profit ÷ cost. Same rupee of profit, different percentage.
| Margin | Equivalent markup | Price for ₹100 cost |
|---|
Business arithmetic estimates only — real margins shift with taxes, payment fees, returns and discounts. Margin and markup are different measures; quoting one when the other was meant is one of the most common pricing mistakes.
About this tool
This free Profit Margin Calculator works the full profitability picture from the two numbers every business already has — what an item costs and what it sells for. It computes the profit per unit in plain currency, the gross profit margin (profit as a percentage of the selling price — the number accountants and investors quote), and the markup (profit as a percentage of cost — the number retailers actually set prices by). It runs every direction of the math: enter cost and price to see margins; enter cost and a target margin to solve the required selling price; enter a current price and a planned increase or discount to see the margin impact before committing to it. Margin and markup get conflated constantly, and the difference is not pedantic — it's the gap between a healthy business and a quietly failing one. Markup is profit divided by *cost*; margin is profit divided by *price*. A 100% markup on a 50-rupee item means selling at 100 — which is a 50% margin, not 100%. The trap is scaling: a 30% markup sounds healthy, but on a cost of 70 it's a 23% margin, and as markup percentages rise, the corresponding margin rises much faster — a 100% markup is 50% margin, a 200% markup is 66.7% margin, a 300% markup is 75% margin. Businesses that price by '25% margin' but calculate it as 25% markup price their goods systematically below intent and wonder where the profit went. This tool keeps the two labeled, computes both from the same inputs, and shows the conversion explicitly — which is why both figures appear on every result rather than just one. The workflows this tool fits cover pricing decisions and their review: setting prices for new products from a target margin instead of a gut-feel multiple; checking whether current prices actually deliver the margin the business plan assumes; evaluating a discount's true cost — a '10% off' promotion cuts margin far more than 10% when the margin was thin to begin with, and the pre-post comparison quantifies exactly how much; margin analysis across a product line to find which items subsidize which; quoting for services and freelancing, where the hourly cost basis plus a target margin determines the rate; and the retail staples — keystone pricing checks, wholesale-to-retail conversions, and marketplace fee modeling, where platform commissions eat a percentage of the sale price and the margin-after-fees figure is the only one that matters. Wherever cost meets price, the question 'what margin am I actually making?' deserves a precise answer. Everything runs locally in your browser. Every calculation is performed by client-side JavaScript on your device — the cost and pricing figures you enter never reach a server, are never logged and never stored. Disconnect from the internet after the page loads and every mode keeps working. Close the tab and nothing remains anywhere.
Frequently asked questions
How do I calculate profit margin?+
Subtract cost from selling price to get the profit, then divide the profit by the *selling price* and multiply by 100. An item costing 60 and selling for 100 has a profit of 40 and a margin of 40 ÷ 100 = 40%. The deliberate dividing-by-price (not cost) is what makes margin the standard business metric: it expresses profit as a share of revenue, so margins across products, periods and companies are comparable. Enter cost and price in the calculator and margin, markup and unit profit all appear together, each labeled for what it is.
What's the difference between margin and markup?+
The base each divides by. Markup is profit ÷ *cost* — the pricing convention, because costs are what you know when setting a price. Margin is profit ÷ *price* — the reporting convention, because revenue is what performance is measured against. The same business fact reads differently through each: 100% markup = 50% margin; 50% markup = 33.3% margin; 200% markup = 66.7% margin. The confusion is expensive: pricing to a '40% margin' while computing 40% markup leaves you selling at 100 × 1.40 = 140 when you needed 166.67 — an invisible shortfall on every sale. The calculator shows both numbers side by side so the two can never blur.
How do I set a price from a target margin?+
Divide the cost by (100 − target margin) ÷ 100. Want a 40% margin on an item costing 60: 60 ÷ 0.60 = 100 — the required selling price. The counterintuitive part is that the divisor shrinks as the margin grows: a 50% margin needs cost ÷ 0.50 (double the cost), a 75% margin needs cost ÷ 0.25 (quadruple it), which is why high-margin pricing feels aggressive when set by hand. The calculator's target-margin mode does this directly: enter cost and the margin you need, and the price that delivers it appears — no iteration, no 'raise it a bit and re-check' loop.
How much margin do I lose when I offer a discount?+
Far more than the discount percentage when margins are thin — and this is where discount decisions get dangerous. Selling at a 20% margin and offering 10% off: the price drops 10% but the *profit* drops 50%, because profit was only a fifth of the price to begin with. The same 10% discount on a 50% margin cuts profit by just 20%. The pattern is unforgiving: the thinner the margin, the more destructive each discount point. Enter your current price and cost, apply the planned discount, and the before-and-after margin comparison shows exactly what the promotion costs in profit terms — often the difference between 'worth doing for volume' and 'never again'.
What is a good profit margin?+
It depends entirely on the industry — there is no universal number. Grocery retail runs on 1–3% net margins and thrives on volume; software companies routinely post 70–80% gross margins; restaurants sit around 3–9%; consulting and professional services 25–50%. The meaningful comparison is against your own industry's norms and your own history: a 15% gross margin is excellent in groceries and alarming in software. The tool's value is internal: track your margin by product and over time, and let industry benchmarks — not a generic percentage — set the bar for what 'good' means in your line of business.
Does this include overheads, or is it gross margin?+
The calculation as described is gross margin — selling price minus direct cost of the item, before rent, salaries, marketing, utilities and every other operating expense that keeps the business running. Gross margin answers 'does this product price profitably per unit?'; net margin — after all overheads — answers 'is the business profitable overall?', and it's always lower. The distinction matters when pricing: a healthy 40% gross margin can coexist with a losing business if overheads consume 45% of revenue. Use this tool for per-product and pricing decisions; compute net margin at the business level from the full income statement.
How do I calculate margin with marketplace or platform fees?+
Treat fees as part of the effective cost. On marketplaces, the platform commission (often 5–25% of the sale price), payment processing (about 2–3%) and shipping subsidies all come off the top before your profit does. The practical approach: enter as the item's cost the sum of production cost plus every per-sale fee, then compute margin against the sale price. The fee-inclusive margin is frequently 10–15 points below the naive one — which is why products that look profitable on paper lose money on the platform. Compute the fee-loaded margin before listing, not after the first settlement statement.
Are the figures I enter kept private?+
Completely. Every calculation runs in your browser with client-side JavaScript — the costs, prices and margins you enter are never transmitted to any server, never logged and never stored. Pricing and cost data is commercially sensitive; here it never leaves your device. Verify it: after the page loads, disconnect from the internet and every mode keeps working identically, since nothing is sent anywhere. Close the tab and nothing remains — no history kept on this site or anywhere else.