Expected Customer Demand by Menu Item
Forecasted servings sold per menu item per day. The horizontal axis is the date and the vertical axis is the number of servings. Drag the slider to set how many days ahead to forecast.
Inventory Levels and Projected Burn-down
Current stock for each ingredient, projected forward using forecasted daily usage. The horizontal axis is the date; the vertical axis is units remaining in stock. Pick ingredients with the filter boxes below — where a line crosses the red zero line is when you'd run out if you don't reorder.
Total Customer Covers Forecast
Total covers (all menu items combined), aggregated by month. The horizontal axis is the time period and the vertical axis is total servings. Choose how far ahead to project and the level of detail.
Recipe Book
Define each menu item and the measured amount of every ingredient per serving. These measurements are what convert forecasted item demand into ingredient demand. Edit freely — changes flow straight into the dashboard.
Vendor and Purchasing Rules
Lead times and minimum order quantities per ingredient. These determine how far ahead you must order and the smallest pack you can buy. Tied to the ingredients used in the recipes above.
| Ingredient | Pack | Pack size | Lead time | MOQ |
|---|
Reorder Recommendations
Computed from forecasted ingredient demand, current inventory, vendor lead times, minimum order quantities, and a safety-stock buffer. Adjust the buffer to be more or less conservative.
| Ingredient | On hand | Daily use | Stock left | Lead time | Status | Order |
|---|
Current Stock on Hand
Enter or adjust what you currently have in the walk-in and dry storage. Units match each ingredient's recipe unit. Starting values are pre-filled to cover roughly one week of business. These values drive the reorder math and the chart below.
Current Stock vs. Danger Zone
Each bar is your current quantity on hand for an ingredient. The horizontal axis lists the ingredients; the vertical axis is the quantity in that ingredient's unit. The shaded red band at the base of each bar marks the danger zone — the minimum you need to cover 3 days of business. A bar dipping into the red means you're below a safe buffer.
Data Source
This prototype ships with two years of simulated taqueria tickets embedded in the page, so it runs anywhere — including GitHub Pages — with no backend. You can also load your own.
daily_item_counts.csv produced by the Python simulator.How the forecast is calculated
Here's a plain-language walkthrough of everything happening behind the charts — no statistics background needed.
Start with your sales history
Every ticket from your POS is boiled down to one simple fact: on a given day, how many of each menu item did you sell? Two years of this becomes the foundation. The system literally counts, for example, "March 14th: 118 tacos, 74 quesadillas, 61 burritos," and does that for every day.
Learn your weekly rhythm
The system looks at the most recent ten weeks and asks: what does a typical Monday look like? A typical Saturday? Restaurants have strong weekly patterns — weekends are usually far busier than mid-week. It calculates an average for each day of the week, per menu item, so it knows a Saturday taco count isn't comparable to a Tuesday one.
Check whether business is trending up or down
It compares your last four weeks against the four weeks before that. If sales are creeping up, the forecast nudges future numbers up a little; if they're softening, it eases them down. This keeps the prediction anchored to where your restaurant is now, not where it was a year ago. The adjustment is deliberately gentle so one unusual week doesn't throw everything off.
Add the holiday spikes
Some days simply aren't normal. For a taqueria, Cinco de Mayo can be more than double an ordinary day. The system keeps a calendar of these — Cinco de Mayo, New Year's Eve, Valentine's Day, the Fourth of July, Mexican Independence Day, Halloween — and multiplies the forecast up on those dates so you're not caught short when the rush hits.
Turn dishes into ingredients
This is where your recipes come in. If the forecast says you'll sell 120 tacos and each taco uses 2 tortillas, 4 oz of steak, and a wedge of lime, the system multiplies it all out. Because some ingredients appear in several dishes — tortillas and cheese, for instance — it adds up the demand from every dish that uses them. Quantities are always rounded up to whole units, because you can't buy two-thirds of a lime.
Recommend what to order
Finally it compares the ingredients you'll need against what's on your shelf, while respecting two real-world facts about each supplier: how many days they take to deliver (lead time) and the smallest amount you're allowed to buy (minimum order quantity). If your stock won't last through the lead time plus a safety cushion, it flags the item and tells you how many packs to order.
How inventory levels are projected
The burn-down chart on the dashboard answers one question: "if I don't reorder, when do I run out?"
It starts from the quantity you've entered on the Inventory tab. Then, day by day, it subtracts the forecasted usage for each ingredient — the same ingredient demand from step 5 above. The result is a line that slopes downward over time. Where that line touches the red zero mark is the day you'd hit empty. An ingredient used heavily across multiple dishes drops steeply; one used sparingly declines slowly.
The bar chart at the top of the Inventory tab shows a snapshot instead of a trend: each ingredient's current quantity, with a shaded red danger zone marking the minimum needed to cover three days of business. If a bar sits inside the red, you're below a safe buffer and should reorder soon — well before the burn-down line actually reaches zero.
This preview vs. the full model
For an instant, no-setup preview, this page runs a faithful approximation of the method above
directly in your browser. For production-grade forecasts — with confidence ranges and automatically
detected seasonal patterns — run the included forecast_model.py / Colab notebook, which
uses Facebook's Prophet library on the same data. Both follow the same six-step logic; Prophet just
does the seasonality and holiday math with more statistical rigor.