Every store's stock is wrong. The question is by how much, and since when.

The screen says twelve packs of salt. The shelf has three. Nobody stole nine packs of salt. The gap was built up one small leak at a time, and by the time anyone notices, the reorder report, the margin report and the owner's trust in the software are all wrong together.

We have run our own supermarket in Ahmedabad since January 2025, almost two years now, and it has billed on the software we build, MarCat, since April 2026. Chasing stock that does not match the shelf has taught us that the leaks are few and predictable. Here are the five we design against.

1. Purchases that arrive but never get entered

Stock comes in on a distributor's bill, usually in the middle of a busy morning. If entering that bill is slower than reading it, the entry waits for "later", and later becomes next week. Meanwhile the shelf is full and the screen says empty, so the next order is placed for stock you already have.

The fix is boring and it works: purchase entry should follow the bill as it arrives, line by line, and saving it should move the stock and the supplier's balance together. When entering a purchase is quick, it actually happens.

2. Bills that change after they are printed

A customer returns a packet. A cashier keyed the wrong quantity. A bill gets edited. In many systems the bill changes and the stock does not, or the stock changes and nobody can say why.

Bills can be edited after saving, and every change is kept in an audit trail, so the stock follows the edit and the owner can see who changed what. The rule we hold to: stock should only move when a sale, a purchase, a return or a counted adjustment moves it, and every one of those should leave a record.

3. The wrong pack, the wrong weight

Two smaller leaks deserve a line each, because they run all day. The same barcode often has two MRPs on the shelf after a price change, and if both are treated as one item, stock goes down on the wrong pack. Loose items sold by weight need the right decimal precision per item, or rounding slowly eats the numbers. We wrote about both in more detail in our staging environment sells atta.

4. Nobody counts the whole store

Full stock-takes are where good intentions go to die. Closing a supermarket for a day to count it is not an option, so the count gets postponed, and the errors compound.

Counting section by section fits into the working day: today the oil and ghee shelf, tomorrow personal care. Each counted section corrects the stock for just that section, with the difference recorded as a counted adjustment rather than a silent overwrite. A store that counts a little every week has more honest stock than one that plans a big count every year.

5. Dead stock that hides in plain sight

Some leaks are not errors at all. A line stops selling, the stock stays on the books, and it quietly holds cash on a shelf nobody looks at. It is accurate and it is still a problem.

Stock movement reports should surface the lines that stopped moving, so the owner can decide to discount, return or stop reordering them. And the next order should start from what actually sold, so a slow line does not get topped up by habit. When the order list is ready, it can go to the distributor's salesman on WhatsApp, and the conversation with him starts from the store's own numbers.

Design for drift, not for accuracy

Accurate stock comes from a habit the software has to make easy: enter purchases as they arrive, record every change, count a section at a time, and look at what stopped moving. Each leak is small. Closed together, they keep the screen and the shelf close enough that the owner believes the numbers again.

If you build for retail, measure your product by one question: when the owner looks at the stock screen, does he believe it?

Swarbhanu Gupta builds MarCat, supermarket inventory software and billing for independent stores in India, from inside a supermarket the team runs in Ahmedabad.