Free Tool

Profit and Loss Calculator

Enter a month's sales, opening and closing stock, purchases and expenses to see your cost of goods sold, gross profit, net profit and margins. It runs in your browser; nothing is sent anywhere.

Work out your profit

Net profit₹0.00

Cost of goods sold
₹0.00
Gross profit
₹0.00
Gross margin
-
Total expenses
₹0.00
Net margin
-

The formula

  • Cost of goods sold (COGS) = opening stock + purchases + direct costs − closing stock
  • Gross profit = sales − COGS
  • Net profit = gross profit − expenses (rent, salaries, electricity and the rest)
  • Margins = profit ÷ sales × 100

Stock matters because what you bought this month is not all sold this month. Opening stock is added and closing stock is taken away so that only the goods actually sold are counted against sales.

Worked example

A shop's figures for November:

LineAmount
Sales₹3,20,000
Opening stock (at cost)₹1,10,000
Purchases₹2,40,000
Direct costs (freight)₹4,000
Closing stock (at cost)₹1,05,000
Rent₹18,000
Salaries₹22,000
Electricity and phone₹4,500
Other expenses₹3,500

COGS = ₹1,10,000 + ₹2,40,000 + ₹4,000 − ₹1,05,000 = ₹2,49,000. Gross profit = ₹3,20,000 − ₹2,49,000 = ₹71,000, a gross margin of 22.2%. Expenses add up to ₹48,000, so net profit is ₹23,000, a net margin of 7.2%.

Before you rely on the number

  • Value opening and closing stock the same way (at cost). The stock valuation calculator helps.
  • Count the owner's own drawings separately; they are not a business expense.
  • This is a quick estimate, not audited accounts. Your CA's figures may differ because of depreciation, GST treatment and other adjustments.

Frequently asked questions

What is the difference between gross and net profit?

Gross profit is sales minus the cost of the goods sold. Net profit is what is left after also paying running expenses such as rent, salaries and electricity.

Why do opening and closing stock matter?

Because purchases and sales rarely match in the same month. Adding opening stock and subtracting closing stock counts only the goods you actually sold.

Should GST be included in sales and purchases?

For a GST-registered shop, use amounts without GST, because the GST you collect is not your income. If you are not registered, use the full amounts you paid and received.

Is this the same as my CA's profit and loss?

It follows the same basic structure, but your CA may add depreciation, interest and other adjustments. Treat this as a quick estimate.

Is my data saved or sent anywhere?

No. The calculator runs in your browser and nothing is stored or sent.

See your profit every day, not once a month

Hisab Expert shows daily to monthly profit from the entries you already make, and a full P&L on the Pro plan.

Get it onGoogle PlayDownload on theApp Store

UPI auto-detect works on Android only.