AI demand forecasting uses your past orders, customer schedules and seasonal patterns to predict what customers will order next, so you can plan production and raw material purchases. You can start with just Excel: clean one to two years of order history, build a simple baseline forecast, then add AI to handle seasonality, customer signals and exceptions.
What is AI demand forecasting?
AI demand forecasting is the use of software that learns from your past demand, and from signals like customer schedules and open quotations, to predict future orders by item, customer and month. It replaces gut feel and simple averages with a method that updates itself as new orders arrive.
Most small and medium manufacturers forecast today in one of three ways: the owner's experience, "same as last month", or a customer's schedule taken at face value. All three work until something changes, such as a festival season, a new customer or a price revision.
Forecasting helps most when you make repeat items for regular customers, such as auto components, packaging or moulded parts. If you do pure one-off job work, forecast at a higher level instead: tonnes of raw material, machine hours or order value per month, rather than individual part numbers.
Why do manufacturers need demand forecasting?
Manufacturers need demand forecasting to buy the right raw material at the right time, plan capacity and avoid both stockouts and excess stock. Without it, the same problems repeat every month:
- Raw material runs out and production stops, or is bought in a rush at a higher price
- Excess stock of slow items ties up working capital
- Overtime and missed deliveries when a big order arrives unexpectedly
- Buying decisions for steel, polymer or paper board made without a clear view of next month's needs
What data do you need for demand forecasting?
You need at least 12 months of order history by item and month, and two or more years if you want to see seasonal patterns. Most of it is already in your systems.
Data | Where it usually is | Why it matters |
|---|---|---|
Sales or order history by item and customer | Tally sales register, Excel order sheets | The foundation of any forecast |
Customer delivery schedules | OEM portals, emailed schedules, PDFs | The strongest signal for the next one to three months |
Open quotations | Quotation register or inbox | Early signal of new demand |
Stock levels | Tally inventory or stores register | Needed to turn a forecast into a plan |
Known events | Your calendar | Festivals, customer shutdowns, price changes, monsoon effects |
How do you clean Excel order data for forecasting?
Clean data means one consistent item code, one row per order line and monthly totals, with unusual orders and stockout months clearly marked. Follow these steps:
- Export order lines from Tally or your order sheet, with date, customer, item code and quantity.
- Fix item codes so the same part is not listed under three different names.
- Remove cancelled orders and returns, or record them separately.
- Total by month for each item, using a pivot table.
- Mark one-off orders. A single large project order should not be treated as normal demand.
- Mark stockout months. If you ran out of stock, sales were lower than real demand. Note it, so the forecast is not pulled down.
How do you build a baseline forecast in Excel?
A baseline forecast is a simple method you can build in minutes, so you have something to measure AI against. Three common methods work well:
- Moving average: the average of the last three months.
- Same month last year: last year's figure adjusted for growth, which is useful for seasonal items.
- Excel Forecast Sheet: Excel's built-in forecasting tool, which uses exponential smoothing and can detect seasonality.
Example: A bracket, part BR-204, sold 1,200 units in January, 1,350 in February and 1,500 in March. The three-month moving average forecast for April is (1,200 + 1,350 + 1,500) ÷ 3 = 1,350 units.
To use Excel's Forecast Sheet, put dates in one column and quantities in the next, select both, and choose Data > Forecast Sheet. Microsoft's guide to creating a forecast in Excel explains the options. The dates need consistent intervals, such as the first of every month, and totalling data by month before you start gives better results. If you prefer formulas, the FORECAST.ETS function does the same calculation, though it is not available in Excel for the web or the mobile apps.
Where does AI improve on an Excel forecast?
AI improves on a basic Excel forecast by handling hundreds of items at once, using signals beyond past sales and updating automatically. The main gains are:
- Scale: a forecast for every item and customer, not just the top ten you have time for.
- Customer signals: AI can read delivery schedules from emails and PDFs, and weigh open quotations by how likely they are to convert.
- Anomaly flags: it spots a customer whose orders suddenly dropped, or an item trending up, and alerts you.
- Plain explanations: it tells you why the forecast changed, such as "Customer A's schedule increased 20% for next month".
- Automatic updates: new orders from Tally flow in every week, with no one rebuilding the sheet.
- Next steps: the forecast becomes suggested production quantities and purchase orders for your team to approve.
This is the kind of work Osvik builds as a custom AI solution, reading from your existing Excel and Google Sheets and Tally data rather than asking you to move to new software.
How do you measure forecast accuracy?
Measure accuracy by comparing each forecast with what actually happened, using the average percentage error across months. This is called MAPE (mean absolute percentage error).
\text{MAPE} = \text{average of} \; \frac{|\text{actual} - \text{forecast}|}{\text{actual}} \times 100
Example: Using the three-month moving average for part BR-204:
Month | Forecast | Actual | Error |
|---|---|---|---|
April | 1,350 | 1,500 | 150 ÷ 1,500 = 10.0% |
May | 1,450 | 1,400 | 50 ÷ 1,400 = 3.6% |
June | 1,467 | 1,300 | 167 ÷ 1,300 = 12.8% |
MAPE | (10.0 + 3.6 + 12.8) ÷ 3 = 8.8% |
Also check bias: whether you forecast too high or too low most months. A forecast that is always too high leads to excess stock, even if its average error looks small. Compare your AI forecast with the Excel baseline over the same months. If AI does not beat it, keep the simpler method.
How do you turn a forecast into production and purchase plans?
Subtract what you already have and add a safety buffer: the result is what to make. Multiply by the materials each item needs, and you have what to buy.
\text{Quantity to produce} = \text{forecast} + \text{safety stock} - \text{current stock}
Example: July forecast for BR-204 is 1,400 units, safety stock is 200 and current stock is 300. The plan is 1,400 + 200 − 300 = 1,300 units. If each bracket uses 0.8 kg of steel, you need 1,300 × 0.8 = 1,040 kg, before scrap allowance.
The production quantity then goes into your schedule, which our guide to production planning and scheduling for job shops covers. The material quantity goes into purchasing, covered in our guide to procurement automation from indent to GRN.
When is AI demand forecasting not worth it?
AI forecasting is not worth it when demand is fully known in advance, when there is too little history or when every order is different. Skip it or keep it simple if:
- Your customers send firm schedules that rarely change. You need schedule management, not forecasting.
- You have less than a year of clean order history.
- You make only a handful of items, which a planner can forecast well in Excel.
- Every job is a one-off with no repeat parts. Forecast materials and capacity instead.
Start with one item and three months
Pick your ten highest-volume items, clean their last 12 to 24 months of orders in Excel and build a moving average forecast. Track its accuracy for three months. You will learn more about your demand from that exercise than from any software demo.
If you want AI to take it further, book a free call. If a task repeats in your factory, tell us about it. For more ideas, see our list of 25 AI use cases in manufacturing.
Frequently asked questions
What is AI demand forecasting in manufacturing?
AI demand forecasting uses software that learns from past orders, customer schedules, open quotations and seasonal patterns to predict future demand by item, customer and month. Manufacturers use it to plan production, buy raw materials on time and avoid both stockouts and excess inventory.
Can I do demand forecasting in Excel?
Yes. You can build a moving average or a same-month-last-year forecast with simple formulas, or use Excel's built-in Forecast Sheet, which applies exponential smoothing and can detect seasonality. Clean monthly data by item is the most important starting point.
How much historical data do I need for demand forecasting?
At least 12 months of order history by item and month is a practical minimum. Two or more years is better, because it lets a forecast see seasonal patterns such as festival peaks or year-end slowdowns. Mark one-off orders and stockout months so they do not distort the forecast.
How accurate is AI demand forecasting?
It depends on your data, products and customers. Measure it yourself using MAPE, the average percentage gap between forecast and actual, and compare it with a simple Excel baseline over the same months. Keep AI only if it clearly improves on the baseline.
What is the difference between demand forecasting and production planning?
Demand forecasting predicts what customers will order. Production planning decides what to make, when and on which machines, based on that forecast, firm orders, stock and capacity. A good forecast feeds the plan, but it does not replace it.
Does demand forecasting work for make-to-order manufacturers?
Partly. If every job is unique, forecasting individual parts is not useful. You can still forecast at a higher level, such as raw material tonnage, machine hours or monthly order value, which helps with buying and capacity planning.
Want this for your factory?
A free 30-minute call. Bring one real enquiry, sheet or report.



