How many loaves should a bakery bake?
A Monte Carlo simulation of a small bakery facing uncertain demand, ingredient prices and late deliveries. Change the assumptions and re-run thousands of trading days.
At a glance
What the project found.
- $284.51daily profit at 120 loaves, vs $246.78
- 6.94loaves wasted, vs 29.54
- 0simulated loss days, vs 1.0%
Outcome and recommendation
Producing 120 loaves won on almost every measure: mean profit of $284.51 a day against $246.78, mean waste of 6.94 loaves against 29.54, and no simulated loss days against 1.0%. The 150-loaf plan only lowered stock-out risk (0.2% against 3.0%). With no sales history, the inputs are estimates, and I set out how to extend the model with real data.
What I did
Built a Monte Carlo model in Excel with four uncertain inputs (regular demand, discount-seeking demand, ingredient cost and supply delays). I ran 1,000 trading days for each of two production levels, 120 and 150 loaves, with a fixed 50% end-of-day discount, and compared profit, waste and risk.
Methods
Monte Carlo simulation, probability distributions, risk analysis, scenario comparison
Explore it
Run the bakery thousands of times.
Each simulated day draws demand, an ingredient price and a delivery outcome at random, then works out profit and waste. Move the sliders and the results redraw.
1. Set the morning’s bake
The report compared 120 and 150 loaves under a 50% end-of-day discount. The buttons restore those setups with 1,000 days, as in the report.
2. What a day looks like
Left: how often each profit level occurs. Right: how many loaves go unsold. The black line is the average.
3. Where the money goes
An average day for the quantity you chose: what comes in from regular and discounted sales, and what goes out before profit is left.
4. Is more bread better?
Average profit and a bad-day profit (5th percentile) for every quantity from 80 to 180, under your assumptions. The black triangle marks the best average.
Method and limits
What this page is, and is not.
The model
Bread sells at $8 and unsold loaves go at half price. Regular demand is Normal with mean 75 and standard deviation 12. Discount-seeking demand is 25, 35, 45 or 55 loaves. Ingredients average $1.00 a loaf (±$0.10), other loaf costs are $1.30 and the shop costs $180 a day. There is a 15% chance a delivery is short, when 60–90% of the stock arrives. Regular customers are served first.
How it matches the report
The report ran 1,000 days in Excel for 120 and 150 loaves. This page uses the same assumptions in JavaScript. At 100,000 days it gives about $289 and $251 average profit against the report’s $284.51 and $246.78, a gap within what 1,000-day sampling noise allows. Use “Run again” to see it move.
Limits
- The assumptions are reasoned estimates; the unit supplied no sales history.
- Only 120 and 150 were tested in the report. Other quantities are extrapolation with the same model.
- The discount is fixed at 50%. Real customers would respond to price.
- Demand is treated as independent day to day, with no weekday or weather effect.
Have a choice with uncertain inputs?
Simulation and what-if models are part of the decision modelling service offered through Corridor Analytics.