Saltar al contenido

Lección 14 · Forecasting and Budgets

Revenue and Cost Forecasting

Forecast revenue with drivers, trends and seasonality, separate fixed and variable costs, and test forecast accuracy against a simple naive baseline.

A forecast is your best current estimate of what will happen. It is not a goal and not a promise. Good forecasts are built from drivers, tested against history and updated when facts change.

Two directions

  • Top-down: start with a market or total and take a share. It is quick, but easy to make optimistic.
  • Bottom-up: build from units such as customers, orders and prices. It has more detail and needs more work.

Use both when you can. If they disagree strongly, find out why.

Driver-based revenue

Harbor sells to cafes. Revenue can be modeled as customers × bags per customer × price. Each part has its own story: new accounts, lost accounts, order size and price changes. The values below are illustrative.

Python Revenue from customer drivers

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

With fixed churn and a fixed number of new customers, the count slowly moves toward 3 / 0.02 = 150. A model like this shows you that growth has a natural ceiling unless something changes.

When history exists, you can estimate patterns. A seasonal index compares each quarter with the average quarter of its year. A seasonal naive forecast says that a quarter next year will equal the same quarter this year. A growth-adjusted version scales it up or down.

Python Seasonal indices and a growth-adjusted forecast

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Using last year's growth for next year is an assumption, not a fact. Ask what caused it and whether it can continue. For regression and time-series techniques, see Statsmodels or Excel correlation and forecasting.

Cost behavior

Costs respond to activity in different ways.

  • Variable costs rise with volume, such as beans and bags.
  • Fixed costs stay the same within a range, such as rent.
  • Step costs jump when capacity is reached, such as adding another work crew.
  • Semi-variable costs have a fixed part and a variable part, such as some utility bills.
Python A step cost in a forecast

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The jump just above 6,000 bags is large: a straight-line cost forecast would miss it.

Measure accuracy

Hold back recent data, forecast it using only earlier information, and compare. Common error measures are:

  • MAE: mean absolute error, in the units of the data.
  • MAPE: mean absolute percentage error. It breaks down when actual values are zero or tiny.
  • Bias: average signed error. A consistent sign suggests optimism or caution.
Python Compare a method with a naive baseline

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

A complex method that cannot beat a simple baseline is not earning its complexity. The "model" values here are made up to show the calculation. Four points are also far too few to judge a real method.

Show uncertainty and keep a log

Give a range, such as downside, base and upside. Record the date, assumptions and result each time you forecast. Later, compare. This forecast log teaches your team where it tends to be wrong.

Check the forecast against reality

Before you publish a forecast, run a few sense checks:

  • Capacity: can the roaster, vans and staff deliver the forecast volume?
  • Market: does the implied market share look believable?
  • History: is growth much higher than anything achieved before, and if so, why?
  • Consistency: do costs and working capital grow with the revenue?
  • Seasonality: do monthly figures follow the known pattern?

A forecast that fails one of these may still be right, but you need a reason.

Avoid leaking the future

When you test a method on old data, use only information that was available at the time of the forecast. In the seasonal example, if you want to test the method on 2026, calculate indices and growth from 2024 and 2025 only. If you include 2026 in the inputs, the test looks far better than real life. This mistake is sometimes called data leakage.

Who owns the numbers

Sales staff often know the pipeline best, but incentives can push their estimates up or down. A common practice is to collect their view, compare it with the driver model and explain differences openly. Give each important driver an owner who updates it and explains misses.

Finally, keep earlier versions. Without them you cannot measure accuracy, and people may remember old forecasts as better than they were.

Common mistakes: drawing a straight line through growth that must slow, ignoring capacity limits, forecasting revenue that needs costs you forgot, and mixing targets with forecasts. A sales target can motivate; a forecast must be honest.

Practice tasks

Try each task on paper or in the editor above before you read the answer. When your result differs, compare definitions first, then timing, then arithmetic.

Task 1. A subscription business starts with 500 customers, loses 4% each month and gains 25 new ones. What is the long-run level if nothing changes?

Answer: The level where losses equal gains is 25 / 0.04 = 625 customers. To grow beyond it, the business needs more new customers or lower churn.

Task 2. Actual values are 100 and 200; forecasts are 110 and 180. Find MAE, MAPE and bias.

Answer: The errors are +10 and -20. MAE is 15. The percentage errors are 10% and 10%, so MAPE is 10%. Bias is -5, meaning the forecast was low on average.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is a bottom-up forecast?

    Bottom-up forecasts combine operational drivers.
  2. 2. Why compare a model with a naive forecast?

    A baseline shows whether a method adds value.
  3. 3. A positive average of forecast minus actual suggests the forecasts tend to be

    Forecast minus actual above zero means over-forecasting on average.
  4. 4. Which is a step cost?

    It jumps at capacity thresholds.

Summary

  • Forecasts are estimates based on stated drivers.
  • Use top-down and bottom-up views and respect capacity.
  • Separate variable, fixed and step costs.
  • Test against a naive baseline and keep a forecast log.

Next: A Three-Statement Forecast

Tu progreso se guarda en este navegador. No necesitas una cuenta.