Biggest Diwali Discount Is Live Now! Grab 35% Off On All Courses Use Discount Code = DIWA035 , Offer Valid till 12th NOV 2026
Avail Now

Gross profit calculator

Gross profit is what revenue leaves after the direct cost of the goods sold, and it feeds two percentages this page prints: the gross margin on price and the markup on cost.

₹
₹100₹10,00,00,000

The net revenue for the period, before indirect costs.

₹
₹0₹10,00,00,000

Direct cost of what was sold in the period: materials, inward freight, direct labour, customs duty.

₹

The landed cost of a single unit, before margin.

% on price
0%95%

Gross margin is profit as a percentage of the selling price.

% on cost
0%500%

Markup is profit as a percentage of the cost.

Show the working

Learn the accounting behind gross profit.

Cost, price and margin are everyday arithmetic in management accounting. The ACCA KL Management Accounting (MA) Online Course, ₹2,500 + 18% GST, offers interactive online classes for ACCA Knowledge Level Management Accounting, with exam-style questions.

See the course

Just a calculator. These are financial calculators, made to make calculations easier and to help you find the answers.

Worked example. A revenue of ₹1,00,000 with a cost of goods of ₹60,000 leaves a gross profit of ₹40,000, a 40 per cent gross margin and a 66.67 per cent markup on cost. A cost of ₹100 sold at a 25 per cent markup, meanwhile, prints at ₹125 and gives a 20 per cent margin, not a 25 per cent one, because margin is read on price and markup on cost.

What the gross margin looks like at other selling prices

Gross margin as the selling price rises

At your current cost, the margin on each price point along a 20-step range.

Margin and markup, side by side

The same two columns written in both directions, so a reader can translate one into the other.

NIFM's gross profit calculator reads revenue and cost of goods and prints gross profit, gross margin on price and markup on cost. It also runs the other way: enter a cost with a desired margin, or a cost with a markup, and the page prints the selling price, the saving against the alternative and a margin-to-markup conversion table.

What gross profit tells you

Gross profit is the money that remains after a business pays the direct cost of the goods it has sold in a period. It covers nothing further: not rent, not salaries of office staff, not interest, not tax. Those sit lower down in the statement of profit and loss. A healthy gross profit lets a company absorb those later heads; a thin one leaves the operating line working against gravity.

Gross margin is gross profit divided by revenue, written as a percentage. Markup is gross profit divided by cost, also as a percentage. These two numbers are easy to confuse because they measure the same money, just against two different bases. This page prints both on every run, so the relationship is in view the moment you change an input.

Margin and markup are not the same number

A single example makes the point. Buy at a cost of ₹100 and price at a 25 per cent markup. The selling price is ₹100 x (1 + 0.25), which is ₹125. The gross profit on each sale is ₹25. The gross margin is ₹25 divided by ₹125, which is 20 per cent. So a 25 per cent markup leaves a 20 per cent margin, not a 25 per cent one.

The relationship is one-to-one, and the table on this page lists common pairs: a 20 per cent margin needs a 25 per cent markup; a 50 per cent margin needs a 100 per cent markup; a 60 per cent margin needs a 150 per cent markup. If a supplier quotes a target margin and a factory quotes a target markup, read both numbers through the same lens before signing the price.

The three modes and the formulas

The revenue and COGS mode is the backward reading: an invoice or a trial balance tells you what revenue was and what the goods cost, and the calculator derives the margin and the markup. Useful for an accountant closing a period, or a student checking the gross line on a published statement.

The cost and desired margin mode is the forward reading: a buyer knows the landed cost and wants a specific gross margin on price, and the calculator returns the selling price that reaches it. Selling price equals cost divided by one minus the margin, written as a decimal.

The cost and markup mode is the seller's quick quote: cost times one plus the markup. The margin that falls out of this is always a smaller number than the markup, which is why trying to hit a 40 per cent margin with a 40 per cent markup lands short.

Margin and markup are a small part of formal cost and pricing study. The ACCA KL Management Accounting (MA) Online Course offers interactive online classes for ACCA Knowledge Level Management Accounting, with exam-style questions. See the ACCA KL Management Accounting (MA) Online Course ₹2,500.

Worked example you can check

A fabric retailer sells for ₹1,00,000 in a month and the cloth that went out the door cost ₹60,000. Gross profit is ₹40,000. The margin is ₹40,000 divided by ₹1,00,000, which is 40 per cent. The markup is ₹40,000 divided by ₹60,000, which is 66.67 per cent. Both describe the same ₹40,000; they are written against two different bases.

FigureHow it is readValue
RevenueTop line for the period₹1,00,000
Cost of goods soldDirect cost of what was sold₹60,000
Gross profitRevenue minus COGS₹40,000
Gross marginGP divided by revenue40 per cent
Markup on costGP divided by COGS66.67 per cent

If the same retailer wants to hold a 40 per cent margin on a new line that costs ₹100 a unit, the selling price has to be ₹100 divided by 0.6, which is ₹166.67. A 40 per cent markup on that same ₹100 cost would be only ₹140, leaving a 28.57 per cent margin.

Where gross profit sits on the Indian profit and loss

Indian companies prepare the statement of profit and loss under Schedule III of the Companies Act 2013. Schedule III groups expenses by their nature: cost of materials consumed, purchases of stock in trade, changes in inventories of finished goods and work in progress, employee benefits, finance costs, depreciation and amortisation, and other expenses. It does not carry a line called gross profit by name.

So for a manufacturer, an analyst typically works out gross profit as revenue from operations minus cost of materials consumed, plus-or-minus the change in inventories, and sometimes less the manufacturing share of employee benefits and other expenses. For a pure trader the derivation is cleaner: revenue minus purchases of stock in trade plus or minus inventory change. Whichever layout is used, the gross line sits above operating and finance costs, and it is one of the first numbers read when a reader wants to understand pricing power.

What this calculator leaves out

  • Operating expenses: rent, salaries of general staff, marketing, administrative costs. For those, use the business expenditure calculator alongside this one.
  • Depreciation and amortisation. The gross margin is read before D and A, and the page below the gross line is where those appear; see the EBITDA calculator for that layer.
  • Finance costs and tax. These never affect the gross line.
  • Trade discounts and GST on the invoice. A discount shown on the invoice reduces revenue, and GST is a tax, not revenue; use the discount calculator where those are being modelled.
  • Sales commission paid on turnover. That sits in other operating expenses; see the commission calculator.

Who this calculator is meant to help

A commerce student uses it to check a textbook sum: punch in revenue and cost, read gross profit and the two percentages, then verify against the problem's answer. An accountant preparing a sales quotation uses it the other way: enter the landed cost and the margin the firm wants to hold, and the selling price falls out. A business owner opening a new line uses the markup mode to translate a supplier-side rate into a price card. An investor reading a listed company's statement uses the revenue-and-COGS mode to check what the filing already prints, so the gross margin can be compared with the same company a year ago or with another company in the same industry.

Frequently asked questions

Is gross margin the same as markup?

No. Gross margin is gross profit as a percentage of the selling price. Markup is gross profit as a percentage of cost. They describe the same money against different bases, so the numbers do not match. A 25 per cent markup, for example, is a 20 per cent margin.

How do I turn a markup into a margin?

Divide the markup by one plus the markup, both expressed as decimals, then multiply by 100. For a 50 per cent markup, the margin is 50 divided by 150, which is 33.33 per cent. The table on this page lists the common pairs side by side.

What is a reasonable gross margin for my business?

That is an industry question, not an arithmetic one. The calculator makes no judgment on the figure. For reading a company's margin against peers, look at the gross line in the statement of profit and loss across the last few annual reports of a few comparable firms in the same industry.

Does the calculator include GST?

No. Both revenue and cost should be entered before GST, because the gross line in a published statement of profit and loss is taken at net of GST under Ind AS. If a reader has only gross-of-GST figures, the discount calculator strips the GST first.

What is the difference between gross profit and net profit?

Gross profit is revenue minus the direct cost of goods sold. Net profit is after every other expense, including operating costs, depreciation and amortisation, interest and tax. The EBITDA calculator covers the step from gross to operating profit.

Why is the selling price indeterminate for a 100 per cent margin?

Because gross margin is gross profit divided by selling price. A 100 per cent margin needs cost to be zero, which cannot be worked backwards from a non-zero cost. The calculator caps the input at 95 per cent for that reason.

Can I use this for a service business with no inventory?

Yes, as long as you treat the direct cost of delivering the service as the cost of goods. For a consultancy that could be the billed hours of the people on the project; for a contractor it could be subcontracted labour and materials.

Courses that teach the subject behind the gross profit calculator

ACCA KL Management Accounting (MA) Online Course

Interactive online classes for ACCA Knowledge Level Management Accounting, with exam-style questions.

₹2,500 + 18% GST

Fundamental Analysis Crash Course

A certified online crash course in fundamental analysis of stocks and commodities.

₹3,500 + 18% GST

Diploma in Business Accounting and Taxation

Business accounting and taxation online, including Tally, GST filing and tax compliance.

₹15,000 + 18% GST

About these calculators. These are financial calculators, made to make calculations easier and to help you find the answers. Results are arithmetic on the figures you enter, not a forecast or a recommendation of any security, fund, loan or product. NIFM Educational Institutions Ltd is an education provider.

Rates and tax figures are dated where they appear on the page. Last reviewed 6 November 2026.

Sponsored · Partner offer
5paisa

Open your demat account in minutes

  • Free account opening*
  • Quick digital KYC
  • Secure & hassle-free process
Open your account now

*T&C apply as per 5paisa. NIFM is not a stockbroker; account opening and services are provided by 5paisa Capital Ltd. Investments in the securities market are subject to market risks.

5paisa KYC verification on a mobile phone