Profit Margin
Gross and net profit margins.
business
Adjust the inputs below
Ready when you are
Adjust the inputs on the left to see your gross margin.
Introduction to the Profit Margin Calculator
The Profit Margin Calculator computes three key margins: Gross Margin = (Revenue - COGS)/Revenue x 100, Operating Margin = Operating Profit/Revenue x 100, and Net Margin = Net Profit/Revenue x 100. It also converts margin to markup, where Markup = Margin/(1 - Margin) x 100.
Indian SMEs, D2C brands, kirana stores and freelancers use this tool to price products correctly, compare year-on-year profitability, and submit accurate figures in GST returns and ITR filings. Margin tracking is also essential for raising funds from VCs or applying for MSME loans under the CGTMSE scheme.
You enter revenue, cost of goods sold (COGS), operating expenses, and tax in Rs. The calculator returns absolute gross profit, operating profit, net profit, all three margin percentages, and the equivalent markup. Useful for restaurants, garment retailers, software services, and e-commerce sellers alike.
Who Should Use This Profit Margin Calculator
D2C brand founders in Bengaluru selling apparel, beauty or food on Shopify and Amazon need to track gross margin per SKU after factoring in Meta ad spend, courier fees and GST.
Restaurant owners in Mumbai running Zomato and Swiggy listings use it to monitor net margin after platform commissions (18-25%), packaging, and rent, since margins often drop below 10%.
Kirana store owners in Lucknow track gross margins across categories: 5% on staples like atta and rice, 12-15% on packaged goods, and 25-30% on personal care.
Software services firms in Pune billing offshore clients in USD use it to measure operating margin against employee costs, calculating margins after employee benefits and ESOPs.
Independent consultants in Delhi running their own practice use net margin tracking to optimise tax-deductible expenses under presumptive taxation (Section 44ADA at 50% deemed profit).
Tips for Margin Management
Smart Profit Margin Tips
Track gross margin per SKU monthly. If a product has gross margin below 30%, it cannot absorb digital marketing costs (typically 15-20% of revenue) and still leave room for operating profit. Drop or reprice such SKUs.
Add GST to COGS for accurate margin tracking. If you sell at Rs 1,000 inclusive of 18% GST, your revenue for margin purposes is Rs 847 (1000/1.18), not Rs 1,000. Many small businesses miscalculate this.
Aim for a 3-tier benchmark: gross margin 40%+, operating margin 15%+, net margin 8%+. These thresholds suit most Indian D2C and retail businesses targeting Series A funding within 2 years.
Factor in MDR (Merchant Discount Rate) for online sales. Credit card 1.8-2%, UPI free up to Rs 2,000 per txn, COD 2-3%. These costs eat into gross margin if not tracked separately.
Use markup pricing when calculating selling price from cost. If you want 50% margin, markup = 0.5/(1 - 0.5) x 100 = 100%, meaning sell at 2x cost. Confusing markup with margin is a common pricing error.
Formula Explanation
Core Profit Margin Formulas
Gross_Margin_% = ((Revenue - COGS)/Revenue) x 100
Operating_Margin_% = (Operating_Profit/Revenue) x 100
Net_Margin_% = (Net_Profit/Revenue) x 100
Markup_% = (Margin/(1 - Margin)) x 100
Where:
- Revenue = total sales in Rs (excluding GST collected)
- COGS = cost of goods sold (raw materials + direct labour)
- Operating_Profit = Gross profit - operating expenses
- Net_Profit = Operating profit - interest - tax
Example: A Rs 10 lakh monthly revenue D2C brand with Rs 4 lakh COGS, Rs 3 lakh opex and Rs 60,000 tax has Gross Margin = 60%, Operating Margin = 30%, Net Margin = 24%.
Industry Margin Benchmarks Table
| Industry | Typical Gross Margin | Typical Net Margin |
|---|---|---|
| Kirana / Grocery Retail | 8-12% | 1-3% |
| D2C Apparel | 50-65% | 5-12% |
| D2C Beauty / Personal Care | 60-75% | 8-15% |
| Restaurants (Dine-in) | 60-70% | 8-15% |
| Restaurants (Cloud Kitchen) | 55-65% | 5-10% |
| Software Services (IT) | 35-45% | 18-25% |
| SaaS Products | 70-85% | 15-30% |
Real-World Example
Example: Priya's D2C Beauty Brand Margins
Meet Priya, 31, a founder of a Bengaluru-based D2C ayurvedic skincare brand selling on Shopify, Amazon and Nykaa. Her monthly numbers for March 2026: Revenue Rs 25 lakh, COGS Rs 8 lakh, opex Rs 9 lakh (including Rs 5 lakh in Meta and Google ads), tax Rs 80,000.
Step 1: Priya inputs revenue Rs 25 lakh and COGS Rs 8 lakh. Gross profit = Rs 17 lakh. Gross margin = 17/25 x 100 = 68%, healthy for the D2C beauty category.
Step 2: She adds opex Rs 9 lakh. Operating profit = Rs 8 lakh. Operating margin = 8/25 x 100 = 32%. This is strong, suggesting the brand can scale ad spend further.
Step 3: After tax Rs 80,000, net profit = Rs 7.2 lakh. Net margin = 7.2/25 x 100 = 28.8%, well above the 8-15% benchmark for the category.
Result: Priya's brand is highly profitable. She decides to reinvest Rs 5 lakh of the Rs 7.2 lakh net profit into expanding her Amazon catalogue and a new SKU launch, while keeping Rs 2.2 lakh for runway.
Frequently Asked Questions About Profit Margins
Indian founders and SMEs often ask about the difference between margin and markup, how GST input credit affects gross margin, what counts under COGS vs operating expenses, the right margin benchmarks for D2C and restaurants, and how to handle Zomato/Swiggy commissions in net margin calculations. The FAQ below addresses each with examples drawn from real Indian businesses.
Profit Margin — frequently asked questions
How does the Profit Margin Calculator work?
Profit margin is profit expressed as a percentage of revenue. The Profit Margin Calculator handles three types: gross margin = (Revenue - COGS) / Revenue, operating margin = (Revenue - Operating Costs) / Revenue, and net margin = Net Profit / Revenue. Each tells a different story about pricing, operational efficiency, and overall profitability.
How accurate is the margin calculation?
Margin math is exact for the numbers you enter. Real-world accuracy depends on correctly classifying costs into COGS (direct costs like materials and labour for the unit sold), operating costs (rent, salaries, marketing), and below-the-line items (interest, taxes). Misclassification distorts margins. The calculator includes a guided classification mode for users new to accounting categories.
What inputs does the Profit Margin Calculator need?
Enter revenue, COGS (cost of goods sold or services delivered), operating expenses, and any other costs (interest, tax). The calculator returns gross margin, operating margin, and net margin as percentages along with the absolute profit at each level. A trend mode lets you input multiple periods to see margin direction over time.
What are good profit margins for an Indian small business?
Indian small business margins vary widely by sector. Retail and e-commerce often see 30-50% gross margins but only 5-10% net. SaaS and software services hit 60-80% gross and 15-30% net. Restaurants run 40-60% gross with 5-12% net after rent and labour. Manufacturing is typically 20-40% gross with 5-15% net. The calculator shows your margins against your own past trends to spot improvements.
Is the Profit Margin Calculator free?
Yes, the Profit Margin Calculator is free on AllSmartCalculators with no signup, ads inside the form, or login. Works on any device. Bookmark it for monthly business reviews, pricing decisions on new products, comparing margins across product lines or stores, GST-impact analysis on pricing strategy, and any scenario where margin clarity drives business decisions.
What other calculators help with business analysis?
Pair the Profit Margin Calculator with the Markup Calculator (the inverse view from cost to price), the Break-Even Calculator (at what volume does margin cover fixed costs), and the ROI Calculator (broader return view). The GST Calculator helps factor tax into pricing, and the Customer LTV Calculator extends margin thinking to subscription economics.
Related calculators
ROI Calculator
Compute Return on Investment as a percentage from initial cost and gain — for marketing campaigns, real estate, or any business project.
Break-Even Calculator
Units to sell to cover costs.
Markup Calculator
Selling price from cost and markup.
Discount Calculator
Get the final price and amount saved after any percentage discount — also handles stacked discounts and reverse-calculates the original price.

