Lesson 2 of 3 Unit Economics and Forecasting

Engineering-Driven Forecasting

Forecasts and budgets depend on knowledge that only engineers have. This lesson explains trend-based and driver-based forecasting, the planned changes engineers contribute, how forecast accuracy is measured and how forecasts become budgets.

Learning outcomes

After completing this lesson, you will be able to:

  • Compare trend-based and driver-based forecasting.
  • Identify the engineering inputs to a forecast.
  • Calculate a driver-based forecast with planned changes.
  • Explain forecast accuracy and variance analysis.
  • Describe how forecasts become flexible budgets.

Why forecasting cloud cost is hard

Cloud cost is variable: it follows demand, changes with every architecture decision and can step up or down when services are launched, migrated or retired. Finance needs forecasts to plan budgets, cash and commitments, but a forecast that simply extends last month's spend misses every planned change. Engineers know about those changes, which is why the FinOps Framework's Forecasting capability involves engineering as well as finance.

Trend-based and driver-based forecasts

The following comparison sets out the two main forecasting approaches.

Trend-based
MethodExtend historical spend using its trend and seasonality
StrengthSimple; works for stable workloads
WeaknessMisses launches, migrations and decommissions
Choose when Workload is stable and no major changes are planned
Driver-based
MethodForecast business drivers, multiply by unit cost, then add planned changes
StrengthExplains spend in business terms; captures step changes
WeaknessNeeds reliable drivers and unit costs
Choose when Workload is growing or changing, or finance needs to explain variance

Many organizations combine them: a trend-based forecast for the stable base and driver-based adjustments for growth and planned changes.

Sort into groups

Trend or driver?

Exam skills 9.1.2

Decide which forecasting approach each statement describes.

Log in to try this activity Interactive activities are free with an account.

What engineers contribute

The following list describes the engineering inputs that make forecasts accurate.

  • Driver relationships: how usage scales with business volume, for example how many more nodes a 20% traffic increase needs.
  • Launches: new services and features, with their expected cost and timing.
  • Migrations: workloads moving in, out or between providers, with dates and expected double running.
  • Decommissions: services and environments being retired.
  • Optimizations: planned savings, such as an Arm migration, with expected dates.
  • Architecture changes: changes that shift cost between services, such as moving from virtual machines to serverless.

A driver-based forecast

The following steps describe how to build a driver-based forecast for a service.

  1. Forecast the drivers

    Obtain expected business volume per month from product or finance, such as transactions.

  2. Determine unit cost

    Use recent unit cost, split into fixed and variable parts if possible.

  3. Calculate the base

    Fixed cost plus variable unit cost multiplied by forecast volume.

  4. Add planned changes

    Add launches and migrations; subtract decommissions and optimizations, from their expected dates.

  5. State assumptions and ranges

    Record assumptions and give a range, such as a low and high scenario.

The following diagram builds two months' forecasts from their components.

The components of a driver-based forecast. Fixed cost stays flat; variable cost is the business driver, such as requests, multiplied by the unit cost; and known events, such as an optimization or a period of double running during a migration, are added for their months. A trend line would miss the changes in drivers and events.
The values are illustrative.
Fill in the value

Building a forecast

Exam skills 9.1.2

Build a simple driver-based forecast.

Log in to try this activity Interactive activities are free with an account.

Accuracy, variance and budgets

Forecast accuracy is measured as the variance between forecast and actual spend, often as a percentage. Mature practices target narrow variance, for example within 5 to 10% at the service or team level. Explaining variance each month, as a usage, rate or unplanned change, improves the next forecast.

Forecasts feed budgets, the amounts that teams are expected to spend. Budgets built from driver-based forecasts can flex with volume: a budget expressed as a unit cost target, or as a base amount plus an allowance per unit of growth, avoids penalizing teams for business success.

Worked example

Building the forecast

A service has fixed cost of USD 20,000 a month and variable cost of USD 0.50 per thousand requests. Product forecasts 60 million requests in July and 80 million in August. A migration in August adds USD 8,000 of double running for one month, and an optimization from August saves 10% of variable cost. Forecast both months.

July: 20,000 + 60,000 x 0.50 = 20,000 + 30,000 = USD 50,000. August: variable cost at 80 million requests is 80,000 x 0.50 = USD 40,000, reduced 10% to USD 36,000; adding fixed cost and double running gives 20,000 + 36,000 + 8,000 = USD 64,000. A trend forecast from July would have missed both the growth and the migration.

Worked example

Explaining a variance

A team forecast USD 90,000 and spent USD 104,000. Volume was 8% above plan, and a commitment expired a week early. How should the variance be explained?

Part of the USD 14,000 variance is a usage effect from higher volume; at roughly stable unit cost, 8% more volume explains about USD 7,200. The remainder, about USD 6,800, is mainly a rate effect from the expired commitment, which the central team should address. Recording both explanations improves next month's forecast and shows which part the team controls.

Check yourself

What does a driver-based forecast capture that a trend-based forecast misses?

Show answer

Planned step changes, such as launches, migrations, decommissions and optimizations, and the link between cost and business volume.

Exam Tips

Remember for the exam

  • Trend forecasts miss planned changes; driver-based forecasts explain spend in business terms.
  • Driver-based forecast = fixed cost + unit cost x forecast volume + planned changes.
  • Engineers supply launches, migrations, decommissions and optimizations with dates.
  • Explain variance as usage, rate or unplanned change to improve the next forecast.