Profit Margin Calculator

This free profit margin calculator works out your profit, profit margin percentage and markup percentage from a cost price and selling price. Enter what a product or service costs you and what you sell it for, and the calculator instantly shows the profit amount, the profit margin (profit as a percentage of selling price) and the markup (profit as a percentage of cost price) — two numbers that are often confused but mean different things, explained in detail below. It's useful for retailers, online sellers, freelancers, manufacturers and any business checking whether a price is profitable before quoting or listing it. This calculator works from the two figures you enter; it does not automatically factor in GST, transaction fees, discounts or other operating expenses unless you build them into the cost or selling price yourself.

The price you sell this product or service for
What this product or service costs you
Profit
₹150.00
Margin
30.0%
Markup
42.9%
💡 Margin = (Selling Price − Cost Price) ÷ Selling Price · Markup = (Selling Price − Cost Price) ÷ Cost Price

How to Use the Profit Margin Calculator

  1. Enter your selling price — what you charge the customer for the product or service.
  2. Enter your cost price — what it costs you to acquire, produce or provide it.
  3. Click Calculate (or just update the fields — the result updates as you type) to see profit, margin and markup.
  4. Use Reset to clear both fields and start a fresh calculation.

What Does This Calculator Calculate?

  • Profit — the simple difference between what you sell for and what it costs you: Selling Price − Cost Price.
  • Profit Margin — that profit expressed as a percentage of the selling price.
  • Markup — that same profit expressed as a percentage of the cost price instead.

This is a straightforward, product-level calculation based only on the two numbers you enter. It does not automatically include GST, marketplace or payment processing fees, shipping, packaging, discounts, returns, advertising costs, or broader operating expenses like rent, salaries or software — if you want those reflected in the result, you need to build them into the cost price or selling price you enter yourself.

What Is Profit Margin?

Profit margin shows what percentage of your selling price is actually profit, after covering the cost of the product or service itself. It's one of the most commonly used measures of pricing health, because it answers a direct question: out of every rupee a customer pays you, how much do you keep as profit before any other business expenses? A higher margin means more of each sale is profit; a lower margin means most of the sale price is going toward covering the cost.

Profit Margin vs Markup: What's the Difference?

This is the single most common point of confusion in pricing, and it's worth understanding clearly because the two numbers are calculated against different bases:

  • Profit Margin is profit expressed as a percentage of selling price: Margin = (Profit ÷ Selling Price) × 100
  • Markup is profit expressed as a percentage of cost price: Markup = (Profit ÷ Cost Price) × 100

A concrete example makes the difference obvious:

Cost = ₹100  |  Selling Price = ₹150  |  Profit = ₹50

Profit Margin: ₹50 ÷ ₹150 × 100 = 33.33%

Markup: ₹50 ÷ ₹100 × 100 = 50%

A 50% markup is not the same as a 50% profit margin — it actually works out to a 33.33% margin, because markup is measured against the smaller cost figure while margin is measured against the larger selling price figure. This mix-up is a common source of pricing mistakes: a business that thinks it's pricing for a "50% profit" by applying a 50% markup is actually earning a smaller margin than that number suggests.

Profit Margin Formula

This calculator uses the standard gross margin calculation, matching exactly what it computes:

Profit = Selling Price − Cost Price
Profit Margin (%) = (Profit ÷ Selling Price) × 100
Markup (%) = (Profit ÷ Cost Price) × 100

This shows what portion of the selling price remains as profit after covering the direct cost you entered — it does not by itself account for any additional expenses beyond that cost figure.

Profit Margin Calculation Example

Example 1: Cost Price = ₹800  |  Selling Price = ₹1,000

Profit = ₹200  |  Profit Margin = ₹200 ÷ ₹1,000 × 100 = 20%  |  Markup = ₹200 ÷ ₹800 × 100 = 25%

For every ₹100 in sales here, ₹20 represents profit before considering any additional expenses not included in this simplified calculation, such as taxes, fees or overheads.

Example 2: Cost Price = ₹1,200  |  Selling Price = ₹1,500

Profit = ₹300  |  Profit Margin = ₹300 ÷ ₹1,500 × 100 = 20%  |  Markup = ₹300 ÷ ₹1,200 × 100 = 25%

Both examples happen to share a 20% margin and 25% markup relationship — worth noticing that the same margin percentage always corresponds to the same markup percentage, regardless of the actual rupee amounts involved, since both are ratios.

Quick Reference: Profit Margin Formulas

Quick reference table of profit margin related formulas
MetricFormula
ProfitSelling Price − Cost Price
Profit MarginProfit ÷ Selling Price × 100
MarkupProfit ÷ Cost Price × 100
Gross ProfitRevenue − Cost of Goods Sold
Gross MarginGross Profit ÷ Revenue × 100
Selling Price from Target MarginCost Price ÷ (1 − Target Margin)
Example profit margin calculations at various cost and selling prices
Cost PriceSelling PriceProfitProfit Margin
₹500₹600₹10016.67%
₹800₹1,000₹20020%
₹1,000₹1,250₹25020%
₹2,000₹2,500₹50020%

How to Calculate Selling Price From a Target Profit Margin

Sometimes you know your cost and want to work backward to find the selling price that hits a specific margin target. This calculator takes selling price and cost price as inputs, so this reverse calculation is explained here for reference rather than being a built-in mode:

Selling Price = Cost Price ÷ (1 − Target Margin)

Cost = ₹500  |  Target Margin = 20%

Selling Price = ₹500 ÷ (1 − 0.20) = ₹625  |  Profit = ₹625 − ₹500 = ₹125  |  Margin = ₹125 ÷ ₹625 × 100 = 20%

You can check this in the calculator above: enter Cost Price ₹500 and Selling Price ₹625, and it will confirm a 20% margin.

Why Target Markup and Target Margin Give Different Selling Prices

Because markup and margin are measured against different bases, aiming for "20%" means something different depending on which one you're targeting — and this trips up a lot of small-business pricing decisions:

Cost = ₹1,000

20% Markup: Selling Price = ₹1,000 × 1.20 = ₹1,200

20% Margin: Selling Price = ₹1,000 ÷ (1 − 0.20) = ₹1,250

A 20% margin requires a higher selling price than a 20% markup on the same cost, because the margin target has to account for the fact that the target percentage is measured against the (larger, yet-to-be-determined) selling price rather than the smaller, known cost price. Confusing the two can lead a business to under-price without realizing it.

What Different Profit Margin Percentages Mean

There's no single "good" profit margin — it varies enormously by industry, business model, competition, operating costs and scale, so treat the figures below as illustrations of the math, not a benchmark to aim for:

  • 10% margin — for every ₹100 in sales, ₹10 is profit and ₹90 covers the cost entered.
  • 20% margin — for every ₹100 in sales, ₹20 is profit and ₹80 covers the cost entered.
  • 30% margin — for every ₹100 in sales, ₹30 is profit and ₹70 covers the cost entered.
  • 40% margin — for every ₹100 in sales, ₹40 is profit and ₹60 covers the cost entered.

Whether any of these is workable for a real business depends on factors this simple calculator doesn't see — operating expenses, taxes, competition and demand — so use industry-specific benchmarks or your own full cost accounting rather than a generic target.

Gross Profit vs Net Profit vs Operating Profit

This calculator computes a simple product-level margin from a cost price and selling price — closest in spirit to a gross margin. It's worth understanding how that differs from other profit measures used in fuller business accounting:

  • Gross Profit = Revenue − Cost of Goods Sold (COGS). Gross Profit Margin = Gross Profit ÷ Revenue × 100. This considers only the direct cost of producing or acquiring what was sold.
  • Operating Profit subtracts operating expenses (like rent, salaries, marketing) from gross profit as well. Operating Profit Margin compares that figure to revenue, giving a picture of profitability from core operations before interest and tax.
  • Net Profit subtracts all remaining expenses — interest, taxes, and any other costs — from operating profit. Net Profit Margin = Net Profit ÷ Revenue × 100, and represents what's actually left over after everything.

If you want an estimate closer to net margin using this calculator, you would need to build your full costs — not just the direct product cost — into the "Cost Price" field yourself; the calculator itself only performs the gross-style Selling Price − Cost Price calculation on whatever two numbers you enter.

How to Calculate Profit Per Unit

For businesses selling multiple units, the same math applies at the per-unit level:

Profit Per Unit = Selling Price Per Unit − Cost Per Unit
Profit Margin = Profit Per Unit ÷ Selling Price Per Unit × 100

For example, if a single unit costs ₹80 to make and sells for ₹100, the profit per unit is ₹20, and the margin is 20% — the same calculation this calculator performs, just applied per unit rather than to a total.

Who Can Use a Profit Margin Calculator?

This tool is broadly useful for anyone pricing a product or service, including:

  • Small businesses and retailers checking whether a product's price covers its cost with enough margin.
  • Online sellers comparing listing prices across products or marketplaces.
  • Freelancers and service providers checking a quoted rate against their time and material costs.
  • Manufacturers evaluating margin at the product or batch level.
  • Resellers and wholesalers comparing supplier cost against resale price.
  • E-commerce and product-based businesses testing pricing scenarios before listing.

Profit Margin for Small Businesses

Small business owners can use this calculator to quickly check product profitability, compare a few candidate selling prices against a known cost, evaluate how a change in supplier cost would affect margin, and sanity-check pricing before committing to it. Since operating costs, taxes and demand differ from business to business, treat the output as one input into a pricing decision rather than a complete profitability check — this calculator does not know your rent, staff costs or other overheads unless you factor them into the cost figure yourself.

Profit Margin for Online Selling

Online sellers often have additional costs beyond the product itself — marketplace commission, payment processing fees, shipping, packaging, return handling, discounts and advertising spend can all eat into the margin calculated from a simple cost-vs-selling-price comparison. This calculator only works from the two figures you enter; if you want a margin that reflects these extra costs, add them into your "Cost Price" figure before calculating, otherwise the result reflects only the base product cost against the listed selling price.

Retail Profit Margin Calculation

For a retail business, the same relationship applies between purchase cost (what you pay a supplier or distributor) and selling price (what you charge the end customer): the gap between the two, expressed as a percentage of the selling price, is your gross margin on that item. Retailers often compare margins across their product range using exactly this calculation, to spot which items are contributing the most (or least) profit per sale — beyond this simple per-item figure, overall retail profitability also depends on sales volume, shrinkage, seasonal discounting and store operating costs.

Profit Margin for Service Businesses

Service businesses can use this calculator too — for example, comparing what you charge a client against your direct costs (materials, subcontractor fees, software or tools specific to that job). However, a service business's real profitability usually also depends on labor time invested, overhead such as office or software costs, and payment processing fees, none of which this simple product-style calculation captures unless you include them in the cost figure. A quoted rate that looks profitable on a simple margin basis can look different once your time is properly costed in.

Does GST Affect Profit Margin?

It can, depending on how you enter your figures. If your selling price already includes GST but your cost price doesn't (or vice versa), the margin this calculator shows will be distorted, because it's comparing tax-inclusive and tax-exclusive amounts against each other. For an accurate margin, make sure both your cost price and selling price are calculated on a consistent basis — either both including applicable GST or both excluding it. This calculator does not automatically detect or adjust for GST; if you want a GST-exclusive margin, remove GST from both figures first — ToolPlex's GST Calculator can help with that step. GST is not automatically included unless it's part of the values you enter here.

How Discounts Affect Profit Margin

Offering a discount generally reduces the effective selling price while the cost price stays the same, which reduces both the profit amount and the profit margin percentage on that sale. For example, discounting a ₹1,000 item (cost ₹800, normally a 20% margin) by 10% brings the selling price to ₹900, reducing profit to ₹100 and the margin to about 11.1% — a meaningfully smaller margin from what looks like a modest discount. This calculator doesn't apply discounts automatically; to see the effect, simply recalculate using the discounted selling price as your input.

Profit Margin vs Break-Even

Profit margin and break-even analysis answer different questions. Profit margin measures how profitable a single sale or product is, based on the price and cost you enter. Break-even analysis instead looks at fixed and variable costs across a whole business to determine the sales volume needed before the business starts making a profit overall. A product can carry a healthy per-unit margin by this calculator's math and a business can still be below break-even if sales volume isn't high enough to cover fixed costs — the two concepts are related but not interchangeable. This calculator does not perform break-even analysis.

Common Profit Margin Mistakes

  • Confusing markup with margin. A 50% markup is a 33.33% margin, not a 50% margin — see the comparison above.
  • Mixing tax-inclusive and tax-exclusive figures. Comparing a GST-inclusive selling price against a GST-exclusive cost price (or vice versa) distorts the result.
  • Treating a simple product margin as full business profitability. This calculator's result doesn't include operating expenses, fees or taxes unless you build them into the inputs.
  • Applying a "one-size-fits-all" target margin. What's workable varies hugely by industry and business model — there's no universally correct number.
  • Forgetting that discounts shrink margin faster than they shrink price. A modest-looking discount can meaningfully cut into your profit percentage.

About This Calculator

This calculator takes the selling price and cost price you enter and computes Profit (Selling Price − Cost Price), Profit Margin (Profit ÷ Selling Price × 100), and Markup (Profit ÷ Cost Price × 100) — nothing more. It does not calculate GST, discounts, marketplace or payment fees, shipping, operating expenses, taxes, or net/operating profit, and it does not perform break-even or reverse selling-price calculations automatically; those are explained as formulas in the sections above for you to apply manually. The results depend entirely on the accuracy of the two figures you enter.

Disclaimer

This calculator is provided for informational and planning purposes. Results depend on the values entered and may not represent complete business profitability. Actual profit can be affected by taxes, operating expenses, transaction fees, discounts, returns and other costs not included in this simplified calculation. ToolPlex does not provide financial, tax or business advice.

Explore Our Other Tools

Vehicle & Insurance Tools
If you work with vehicle insurance, claims, or survey-related tasks, you may also find these tools useful. The Vehicle Depreciation Calculator makes it easy to calculate vehicle depreciation, while the Complete Survey Report can help with preparing survey reports. For estimate and assessment work, you can also try the Maruti Estimate to Assessment Converter, Hyundai Estimate to Assessment Converter, TATA Estimate to Assessment Converter, and Toyota Estimate to Assessment Converter. For quick claim-related calculations, the Motor Claim Assessment Tool and Quick Claim Calculator can save you time. You can also use Group & Merge File by Name to organise files and Marking on Image when you need to add markings or notes to an image.

Business Document Generators
If you are managing invoices, estimates, or payment records, take a look at the Invoice Generator, Estimate Generator, and Payment Receipt Generator. These tools are useful for creating common business documents without having to format everything from scratch.

Investment & Financial Calculators
For investment and financial calculations, you can explore the SIP Calculator, EMI Calculator, and FD Calculator. You can also check your numbers with the Profit Margin Calculator, Lumpsum Calculator, Compound Interest Calculator, and SWP Calculator. For other common financial needs, the GST Calculator, RD Calculator, PPF Calculator, Inflation Calculator, and Stock Average Calculator are also available.

Conversion Tools
For everyday conversions, you can use the Unit Converter, Currency Converter, or Time Zone Converter. If you need to convert numbers between words and digits, try the Number to Word Converter or Word to Number Converter. The Color Converter is also handy when working with different colour formats.

Text, Coding & Utility Tools
For text, coding, and other small online tasks, ToolPlex has several handy options. You can use the Base64 Encoder & Decoder, QR Code Generator, or Barcode Generator when you need to create or work with encoded information. For passwords and text work, try the Password Generator, Word Counter, Case Converter, or Text Repeater. You can also create placeholder text with the Lorem Ipsum Generator, style text with the Fancy Text Generator, or work with HTML using the HTML Encoder/Decoder. For random values and office work, you can also try the Random String Generator and Attendance Sheet Generator.

Frequently Asked Questions

Pricing Tips

  • ✓ Check margin, not just markup, when pricing
  • ✓ Factor in fees and discounts before finalizing a price
  • ✓ Compare margins across your product range
  • ✓ Keep tax treatment consistent in cost and price

Margin vs Markup

Margin = (Price − Cost) ÷ Price. Markup = (Price − Cost) ÷ Cost. A 30% margin equals roughly a 42.9% markup — they are not the same number.