Sub topic 9
Capacity and Velocity: Sizing a Sprint Realistically
Assume you already understand product backlogs, user stories, and basic software delivery. This chapter focuses on using team availability and past delivery data to choose a realistic sprint scope.
Capacity and velocity answer different questions
Capacity is how much time the team has available during a sprint. It accounts for holidays, planned leave, training, support work, and other commitments.
Velocity is how many story points the team completed in a previous sprint. Story points are a relative estimate of effort, complexity, and uncertainty. Velocity describes what the team usually finishes. It does not describe how fast each person works.
| Measure | Question it answers | Main limitation |
|---|---|---|
| Capacity | How much working time is available? | It does not predict delivery by itself |
| Velocity | How much estimated work has the team completed? | Past results may not fit changed conditions |
Use both measures as signals. Do not turn either one into an individual performance target.
Calculate a practical sprint scope
Start with the team’s recent completed velocity. A rolling average uses only the most recent sprints, so it reflects current conditions better than a long-term average.
import math
completed_points = [21, 18, 24, 20] # points from the last four sprints
remaining_points = 85
recent_velocity = completed_points[-3:]
average_velocity = sum(recent_velocity) / len(recent_velocity)
forecast_sprints = math.ceil(remaining_points / average_velocity)
print(f"Average velocity: {average_velocity:.1f} points")
print(f"Forecast: about {forecast_sprints} sprints")The example gives an average velocity of 20.7 points. That number is a planning reference, not a promise. If the next sprint includes a developer’s vacation or an expected support rotation, reduce the planned scope.
A simple adjustment is:
- Estimate the team’s normal available person-days.
- Remove planned leave, public holidays, and known duties.
- Compare the result with a normal sprint.
- Use the adjusted capacity to reduce the expected scope.
For example, if normal capacity is 40 person-days and the next sprint has 32 available person-days, the team has 80% of normal capacity. A rough starting point would be 80% of the recent velocity, or about 16 to 17 points. The team should still inspect the actual work because points are not units of time.
Make uncertainty visible
Do not select work until the forecast exactly fills the sprint. Leave room for discovery, defects, reviews, and interruptions. A sprint goal gives the team a priority when the exact list must change.
Exercise
A team usually completes 24 points. One developer will be away, reducing expected capacity to 75% of normal. What is a reasonable starting forecast, and what should the team do before committing?
Show answer
Start near 18 points, which is 75% of 24. The team should inspect dependencies, interruptions, and the sprint goal before agreeing to the final scope. The number is a forecast, not a quota.