HomeGuidesProfit Margin Guide
Business Guide

Profit Margin Calculator: Gross Margin, Net Margin & Markup

Profit margin is the most fundamental business metric — it tells you how much of every rupee of revenue actually becomes profit. Here's how to calculate and interpret it.

Profit Margin Calculator

Gross margin
30%
Gross profit
₹300.00
Net profit
₹300.00
Net margin
30%
Markup on cost
42.86%

Updated October 2026 · Reviewed against our calculation methodology

Embed this calculator on your website — free

Paste this code into any web page, WordPress “Custom HTML” block or Blogger post. Please keep the credit link.

The Three Profit Margins

Gross Profit Margin

(Revenue − COGS) ÷ Revenue × 100

Profitability after direct production costs

Operating Profit Margin

Operating Profit ÷ Revenue × 100

Profitability after COGS and operating expenses

Net Profit Margin

Net Profit ÷ Revenue × 100

Final profit after all costs, interest, and tax

Worked Example

Revenue = ₹5,00,000
COGS = ₹3,00,000
Operating expenses = ₹80,000
Tax = ₹18,000
Gross Margin = (5L − 3L) ÷ 5L = 40%
Operating Margin = (2L − 80K) ÷ 5L = 24%
Net Margin = (1.2L − 18K) ÷ 5L = 20.4%

Industry Margin Benchmarks

IndustryGross MarginNet Margin
Grocery retail25–30%1–3%
Restaurants60–65%3–9%
E-commerce35–50%5–15%
SaaS / Software70–80%20–40%
Consulting50–70%30–50%

Popular Variations

Frequently Asked Questions

What is gross profit margin?

Gross Profit Margin = (Revenue − COGS) ÷ Revenue × 100. COGS (Cost of Goods Sold) includes direct costs: materials, manufacturing, and direct labour. It excludes operating expenses like rent, salaries, and marketing. Example: Revenue ₹1,00,000, COGS ₹60,000 → Gross Margin = 40%.

What is net profit margin?

Net Profit Margin = Net Profit ÷ Revenue × 100. Net profit = Revenue − All expenses (COGS + operating expenses + taxes + interest). It shows what percentage of revenue becomes actual profit. A healthy net margin varies: retail 2–5%, SaaS 20–40%, professional services 15–25%.

What is a good profit margin?

It depends heavily on industry. Grocery retail: 1–3%. Restaurants: 3–9%. E-commerce: 5–15%. Software/SaaS: 20–40%. Consulting: 30–50%. Compare against competitors in your sector, not cross-industry averages.

What is the difference between profit margin and markup?

Profit margin is calculated as a percentage of revenue (selling price). Markup is calculated as a percentage of cost. Same product: Cost ₹80, Sell ₹100. Margin = (20÷100)×100 = 20%. Markup = (20÷80)×100 = 25%. Markup is always higher than margin for the same dollar profit.

How do I improve profit margin?

Increase revenue (raise prices, increase volume, upsell). Reduce COGS (negotiate supplier prices, reduce waste, optimise production). Reduce operating expenses (automate, reduce overhead). Improve product mix (sell more high-margin items). Even a 5% improvement in margin can double profit on thin-margin businesses.

Related Calculators

Calculate Your Profit Margin

Enter revenue and costs to instantly get gross profit margin and net margin.

Open Profit Margin Calculator