cashflowos Open web appStart free trial Free trial

Glossary Business

Gross margin

Definition

Gross margin is the share of sales left after the cost of the goods sold, calculated as (sales − cost of goods sold) ÷ sales × 100.

Updated 2026-11-052 min read

Example

A Pune electrical shop sold ₹10,00,000 of goods before GST in October, and those goods cost it ₹8,20,000. Gross profit is ₹1,80,000 and gross margin is 18%. If rent, salaries and other expenses come to ₹1,20,000, the remaining ₹60,000 is the shop's profit before interest and tax.

Gross margin in TallyPrime and in Cashflow OS

Where to find itIn TallyPrime

TallyPrime's Profit and Loss account shows gross profit after trading items such as sales, purchases, direct expenses and stock. It depends on a correct closing stock value.

On your phoneIn Cashflow OS

Cashflow OS shows Profit and Loss and stock summaries from the synced Tally data, with Excel and PDF export.

See how it works
Gross margin in the Cashflow OS app

Common misunderstandings

  • Watch outConfusing margin with markup: adding 25% to cost gives a 20% margin, not 25%.
  • Watch outIncluding GST in sales or cost. Work on values before GST.

The formula

Gross profit = sales − cost of goods sold

Gross margin % = gross profit ÷ sales × 100

Cost of goods sold is opening stock plus purchases and direct costs (such as freight inward) minus closing stock. GST you can claim as credit is not part of cost, and GST on sales is not part of sales.

Example

A hardware shop buys a tool for ₹800 and sells it for ₹1,000 before GST. Gross profit is ₹200. Gross margin is ₹200 ÷ ₹1,000 = 20%. Markup is ₹200 ÷ ₹800 = 25%. People mix these up, and it costs money: a shop that wants a 25% margin but adds 25% to cost earns only 20%.

Markup on costGross margin on sales
10%9.1%
20%16.7%
25%20%
50%33.3%

More in gross margin vs markup.

Why it matters

Gross margin pays for everything else: rent, salaries, freight out, interest and the owner's profit. If the shop's expenses are 14% of sales, a 20% margin leaves 6%; a 2% extra discount wipes out a third of that. Checking margin by product group, customer or salesperson shows where discounts and schemes are eating profit. See pricing strategy for traders.

Where it shows up in TallyPrime

TallyPrime's Profit and Loss account shows gross profit as the line between trading items (sales, purchases, direct expenses, stock) and indirect expenses. Item-wise and group-wise profit reports show gross profit per item when stock is valued properly. Gross margin is only as good as the closing stock figure, so a wrong stock value gives a wrong margin. Cashflow OS shows Profit and Loss and stock summaries from the synced Tally data.

Related terms

Working capitalTrial balanceStock groupCost centreAll terms A–Z

Questions about Gross margin

What is a good gross margin?
It depends on the trade. Fast-moving distribution runs on thin margins and high volume; showrooms and speciality goods need higher margins. Compare with your own past figures first.
Does gross margin include GST?
No. Calculate it on values before GST, since GST collected is not your income and GST on purchases is usually claimed back.
Is gross margin the same as net profit?
No. Net profit is what remains after all expenses, interest and taxes.
How do I convert markup to margin?
Margin = markup ÷ (100 + markup) × 100. A 25% markup gives 25 ÷ 125 × 100 = 20% margin.
Why did my gross margin jump suddenly?
Often because closing stock is overstated or purchases are missing for the period. Check stock valuation and purchase entries before celebrating.

This page is general information for Indian businesses, not tax, legal or financial advice. Rules and rates change — check the official portals or your CA before acting.

Cashflow OS · works with TallyPrime

See your own Tally books on the phone

Ledgers, outstanding, GST views and reports for the whole team — in English or Hindi.

Start 14-day free trialBook a free demo