Skip to main content

Free Profit Margin Calculator – Margin, Profit & Markup

Profit Margin Calculator finds your profit margin percentage, gross profit, and markup from revenue and cost online for free.

Written & reviewed by Helperzy Editorial Team · Updated July 2026

Profit Margin %Gross ProfitMarkup %InstantFree

Profit Margin

40.00%

Gross Profit

₹400.00

Markup

66.67%

Formula

Margin = (Revenue − Cost) / Revenue × 100 = 40.00%

100% Private

Runs locally. Nothing uploaded.

How to Use Profit Margin Calculator

1

Enter Revenue

Type the selling price or total revenue for the item or job. Use the actual price the customer pays, after any discount, so the margin reflects reality rather than your list price.

2

Enter Cost

Type what the product or service costs you directly, including materials and any per-unit charges. Leave out rent and salaries, since this measures gross margin rather than net.

3

View Margin

Read the margin percentage, gross profit, and markup together. Compare the margin across products to spot which lines actually carry your business and which merely look busy.

How to Calculate Profit Margin, Gross Profit and Markup

Profit margin tells you what share of each sale you actually keep. Give this calculator two numbers — what you sold something for and what it cost you — and it returns three: the margin as a percentage, the gross profit in rupees, and the markup percentage. Shop owners pricing a new product line, freelancers checking whether a quoted fee covers their costs, resellers evaluating a supplier deal, and anyone running a small business who has been asked for their margin by an accountant or a lender all need these figures. The percentage matters more than the rupee amount, because it is the only way to compare a ₹50 item against a ₹50,000 one on equal footing. The core formula is margin = ((revenue − cost) ÷ revenue) × 100. Revenue is the selling price, cost is what you paid to acquire or produce the item, and the difference between them is gross profit. Because the denominator is revenue, margin can approach 100 per cent but never reach it on a real sale. Markup uses the same profit but divides by cost instead: markup = ((revenue − cost) ÷ cost) × 100. That single change of denominator is why the two numbers differ, and it is where most pricing errors begin. To work backwards from a target margin, the formula is selling price = cost ÷ (1 − margin as a decimal). Here is the arithmetic on a real product. You buy an item for ₹600 and sell it for ₹1,000. Gross profit is 1,000 − 600 = ₹400. Margin is (400 ÷ 1,000) × 100 = 40 per cent. Markup is (400 ÷ 600) × 100 = 66.67 per cent. Same sale, same ₹400 of profit, two very different percentages. Now suppose you want a 40 per cent margin on that ₹600 cost: the price must be 600 ÷ 0.60 = ₹1,000. If you had instead added a 40 per cent markup you would have priced it at ₹840, which gives only a 28.6 per cent margin — a ₹160 shortfall per unit that compounds fast across a full inventory. The practical uses come up daily. A boutique owner deciding whether to run a 15 per cent sale enters the discounted price: on that same ₹600 item, selling at ₹850 drops the margin from 40 to 29.41 per cent, which is still profitable but tighter than it looks. A caterer quoting ₹2,500 for a job costing ₹1,750 confirms a 30 per cent margin before accepting. A distributor comparing two suppliers on the same retail price picks the one that leaves more room. And a founder preparing a pitch deck needs the margin figure because investors read it as a proxy for pricing power. One genuine caveat: this is gross margin, not net. It covers only the direct cost of goods and ignores rent, salaries, shipping, payment-gateway fees, GST, and marketing, all of which come out of that gross profit. A 40 per cent gross margin can easily become a 6 per cent net margin once overheads are paid, which is why a business with healthy-looking margins can still lose money. The other mistake, already the theme of this page, is quoting markup when someone asked for margin — a 50 per cent markup is only a 33.3 per cent margin, and confusing them in a lender conversation is embarrassing at best. Track both, label them clearly, and check your net margin separately each quarter. It also pays to review margins whenever supplier costs move, since a 10 per cent cost rise absorbed without a price change quietly eats a chunk of your profit. Everything runs in your browser, so your revenue and cost figures are never uploaded or stored.

Profit Margin Calculator Formula & Method

Gross profit = revenue − cost Profit margin % = ((revenue − cost) ÷ revenue) × 100 Markup % = ((revenue − cost) ÷ cost) × 100 Selling price for a target margin = cost ÷ (1 − target margin as a decimal) revenue = selling price actually charged cost = direct cost of the goods or service delivered Margin divides by revenue and cannot reach 100%; markup divides by cost and has no upper limit.

Examples: Profit Margin Calculator

Input

Revenue ₹1,000, cost ₹600

Result

Gross profit ₹400 · margin 40% · markup 66.67%

Profit is 1,000 − 600 = 400. Margin is 400 ÷ 1,000 = 40%, while markup is 400 ÷ 600 = 66.67% — same profit, different denominator.

Input

A 15% discount applied: revenue ₹850, cost ₹600

Result

Gross profit ₹250 · margin 29.41% · markup 41.67%

Cutting the price by ₹150 removes ₹150 of profit, so the margin falls from 40% to 29.41%. The sale is still profitable but the cushion is much thinner.

Frequently Asked Questions – Profit Margin Calculator

Enter your revenue (selling price) and your cost. The calculator applies the formula (Revenue − Cost) / Revenue × 100 and shows your profit margin percentage, along with gross profit in rupees and the markup percentage. Everything updates instantly as you type.