ShelfSense

Know what to restock, discount or take off the shelf.

ShelfSense keeps stock by batch and expiry date, works out what you earned after expiry losses, and suggests a price for each batch with the reasons written next to it. It is made for small grocery and general stores.

No sign-up. Records stay in your browser, and you can start from a sample shop.

Price suggestions
DiscountPaneer 200 gPNR-1118

19 packs in stock, 4 days to expiry, cost ₹78.00

  • Sells about 1.4 packs a day over the last 30 days.
  • About 6 should sell before expiry, leaving about 13 unsold.
  • A 30% cut would go below cost, so the price is held at cost.
₹95.00
₹78.00
Raise priceSugar (loose)SGR-1124

46 kg in stock, 348 days to expiry, cost ₹42.00

  • Margin is 5%, under your 10% target.
  • Stock is moving quickly: about 10 days to sell out.
  • Check the new price is not above the printed MRP.
₹44.00
₹47.00
From the sample shop that comes with the app.

What it does

Small shops lose money when stock expires unsold and when prices ignore cost and shelf life. ShelfSense puts stock, expiry and profit in one place.

Products and batches
Register a product once, then record each delivery as a batch with its own quantity, cost, selling price and expiry date.
Stock and sales
Log sales and stock adjustments. Each sale is taken from the batch that expires first, so the records match what leaves the shelf.
Expiry alerts
Low stock, near-expiry and expired batches are flagged as soon as they need attention. Expired stock can be written off in one step.
Profit and loss
Unit profit, gross profit on real sales, and the cost of everything written off, so you can see what the shop actually earned.
Pricing suggestions
A price for each batch based on its cost, days to expiry, stock on hand and recent sales. The reasons are listed under every suggestion.
Reports
Daily sales and profit, losses by product and category, a printable summary, and CSV exports for a spreadsheet or your accountant.

How a price is suggested

  1. 1.

    Measure how fast it sells

    Units sold over the last 30 days, divided by the number of days. New products without enough history are judged on shelf life alone.

  2. 2.

    Follow each batch to its expiry date

    The batch that expires first is assumed to sell first. Whatever would still be on the shelf on its expiry date is counted as at risk.

  3. 3.

    Pick a sensible change

    The discount is never larger than the share expected to be left over, so clearing the batch earns more than selling part of it at full price. Prices stay at or above cost until the last few days.

Version 1 uses fixed rules that are written out in the app. No AI model is involved, so every number can be checked by hand.

SituationSuggestion
Batch has expiredRemove it and write it off
Some units will be left at expiry10 to 40% off, never more than the share left over
More than 3 days to expiryDiscounts stop at cost price
Last 3 daysClearance price, may go below cost
Priced below costBack to the regular price
Low margin, selling fastRaise toward the target margin, 10% at a time

The 3-day clearance window and 10% target margin are defaults. Both can be changed in Settings.

Maharaja Institute of Technology Mysore logo

ShelfSense is a mini project by Drushya (4MH24CB009) and M Apoorva (4MH24CB020), Department of Computer Science & Business System, Maharaja Institute of Technology Mysore, academic year 2026-27. Faculty guide: Prof. Poorvi.

Problem statement, objectives and literature survey