14-day free trial · No card needed to startStart now →
Accounts & GST

How your profit is worked out

2 min readUpdated 24 Nov 2026Checked on v11.271

A purchase counts when the goods are sold, and stock is valued by your stock value method (moving average, FIFO, or LIFO in the USA), so profit is right even in a month you buy a lot.

Your books keep themselves: every counter bill, invoice, purchase, payment, expense and salary writes its own entry. You only enter what has no bill, like a loan EMI or cash put in the bank.

How your profit is worked out
How your profit is worked out

True profit

  • A purchase is counted when the goods are sold, not when they are bought: cost of goods sold = stock at the start + what you bought − stock left.
  • Reports › Accounts & GST › Profit & loss shows the two stock lines; the balance sheet shows the stock you hold, with the way it is valued.

How your stock is valued

The "stock left" is valued by your Stock value method, set in Settings › Accounts & tax setup › Accounting settings:

  • Moving average: each purchase moves the item's average cost: new average = (stock × old average + quantity in × price) ÷ (stock + quantity in). It changes only when stock comes in with a price (a purchase or opening stock). Recommended in India.
  • FIFO (first in, first out): what you sold is taken from the oldest stock first, so what is left is valued at your latest purchase prices. Recommended outside India.
  • LIFO (last in, first out): what you sold is taken from the newest stock first. Only for businesses in the USA.

Until the owner changes it, stock is valued at moving average. A change starts on a day you pick, so the months before keep their value. See Accounting settings.

Stock value

Reports › Accounts & GST › Stock value lists every item in stock with its quantity, its cost by your method (Average cost, FIFO cost or LIFO cost) and its value. The tiles show the stock value now, items with No cost price and items Below zero (sold more than came in: a purchase may be missing). Next basis (or Ctrl+B) shows the stock at the selling price or the last purchase price, only to look.

Stock value

Careful Items with no cost price count as 0 in stock. Add a cost price to them (Stock value marks them No cost).
Note The margin on each bill (profit by item, profit by bill) uses the cost on the bill, which is the item's average cost when it was sold, whatever your stock value method. Outside India every amount shows in your own currency.
Was this helpful?

Something wrong in this guide?

Still stuck?Press ? in your portal, then Raise a ticket. It carries the page you are on.
Contact AbilZ
Book a free demo
Build your planStart free trial