What is sprint velocity?
Velocity is how much work a team finishes in a sprint, measured in whatever unit it estimates in, usually story points. "Finishes" means the item meets the Definition of Done: built, reviewed, tested and anything else your definition requires. Work that's almost done counts as zero.
Velocity is a team-level planning number. It answers two questions: how much should we plan into the next sprint, and roughly when will this body of work be finished?
Like story points, velocity is not part of Scrum. The 2020 Scrum Guide says that the more Developers know about their past performance, their upcoming capacity and their Definition of Done, the more confident their sprint forecasts will be. It also says forecasting practices such as burn-downs and burn-ups are useful but don't replace empiricism. Velocity is simply one way of making "past performance" concrete. It's a tool, not a requirement.
How do you calculate sprint velocity?
At the end of each sprint:
- List every item that met the Definition of Done during the sprint.
- Add up their original estimates. Use the estimate the item had when the team planned it, not a revised one.
- Leave out anything unfinished. No partial credit, even for a story that only needs a code review.
- Include items added mid-sprint if they were finished. That was real work. Note it separately so you can see how much unplanned work the team absorbs.
- Record the planned total next to the completed total. Velocity is the completed number. The gap between the two is a good retrospective topic.
Here's a team of six developers on two-week sprints:
| Sprint | Points planned | Points completed | What happened |
|---|---|---|---|
| 14 | 34 | 29 | A 5-point story missed code review on the last day |
| 15 | 30 | 31 | Finished early and pulled in a 3-point story |
| 16 | 32 | 24 | Two developers out sick for three days |
| 17 | 30 | 30 | Uneventful |
| 18 | 33 | 28 | A production incident took a day and a half |
Total completed: 29 + 31 + 24 + 30 + 28 = 142 points over five sprints.
Average velocity: 142 / 5 = 28.4 points per sprint.
Range: 24 to 31 points. The range matters as much as the average, so report both.
Notice what's missing from the calculation: hours worked, number of tasks, lines of code, how busy anyone felt. Velocity counts finished, estimated work and nothing else.
What is a rolling average velocity?
A rolling (or moving) average uses only the most recent sprints, typically the last three, and drops the oldest each time a sprint ends. It keeps the number current as the team, the codebase and the kind of work change.
| After sprint | Sprints included | Rolling 3-sprint average |
|---|---|---|
| 16 | 14, 15, 16 | (29 + 31 + 24) / 3 = 28.0 |
| 17 | 15, 16, 17 | (31 + 24 + 30) / 3 = 28.3 |
| 18 | 16, 17, 18 | (24 + 30 + 28) / 3 = 27.3 |
How many sprints to include is a trade-off. With fewer than three, one bad sprint swings the number wildly. With more than five or six, you're planning with data from a team that may no longer exist. Three to five is the sensible window for most teams.
Two adjustments worth knowing:
- Use the median when one sprint is an outlier. If an outage wrecked a sprint, the median of the last five sprints ignores it without a debate about whether to exclude it.
- Reset the history when the team changes shape. If two people join or leave, or you change the sprint length, the old velocity no longer describes this team. Start fresh and plan cautiously for two or three sprints.
If you'd rather not do the arithmetic by hand, the free velocity calculator works it out from your recent sprint totals.
What if a new team has no velocity yet?
For the first sprint, there's no history to average. Don't borrow another team's number. Instead, have the team pull stories one at a time in priority order and stop when everyone agrees the sprint looks full, then plan a little lighter than that. Treat the first two or three sprints as calibration: their totals become your first average, and the forecast gets meaningfully better from the third sprint on.
How do you forecast a release with velocity?
Say the release you're planning has 180 points of estimated work left. Divide by your low, average and high velocity, and always round up, because nobody ships in 0.3 of a sprint:
| Scenario | Velocity | 180 / velocity | Sprints | Weeks (2-week sprints) |
|---|---|---|---|---|
| Pessimistic | 24 | 7.5 | 8 | 16 |
| Expected | 28.4 | 6.3 | 7 | 14 |
| Optimistic | 31 | 5.8 | 6 | 12 |
The honest forecast is "6 to 8 sprints, most likely 7", or 12 to 16 weeks. Give stakeholders the range. A single date is a promise you have no basis for.
Then account for what most forecasts forget: backlogs grow. New stories get discovered and requirements expand while you build. If the release scope has grown by about 5 points per sprint so far, the team only closes the gap at 28.4 - 5 = 23.4 points per sprint, and the expected forecast becomes 180 / 23.4 = 7.7, so 8 sprints rather than 7. Track how much scope gets added each sprint for a while and you'll know your own figure.
Three rules keep forecasts honest:
- Re-forecast every sprint. A forecast is a snapshot, not a contract. Update it with the latest velocity and the current remaining scope.
- Only forecast estimated work. If half the release is still unrefined epics, say so and widen the range, or size those epics roughly first.
- Forecast the team, not individuals. Velocity is a property of the team. Splitting it per person produces numbers that mean nothing.
How do you adjust velocity for holidays and time off?
Your average velocity already reflects a normal sprint, including the usual meetings, code reviews and the odd sick day. Only adjust for what's different about the coming sprint.
The simplest method scales velocity by available person-days:
- Work out normal capacity. Six developers × 10 working days = 60 person-days.
- Subtract what's missing next sprint. A public holiday (6 person-days) and one developer on three days of leave (3 person-days): 60 - 9 = 51 person-days.
- Find the ratio. 51 / 60 = 0.85.
- Scale the velocity. 28.4 × 0.85 = 24.1, so plan around 24 points, not 28.
The sprint capacity calculator handles this arithmetic for you. Two caveats. The scaling is only roughly linear, and it breaks down for very small teams or when the person who's away is the only one who can do a key piece of work. In those cases, look at the actual stories, not just the number. The sprint planning guide covers how capacity feeds into choosing the sprint's scope.
Why is velocity not a performance metric?
Velocity is useful only while the team estimates honestly. The moment it becomes a target, estimates drift upward, a 3 quietly becomes a 5, and the number climbs while the amount of working software stays the same. That's Goodhart's law: a measure that becomes a target stops being a good measure.
It goes wrong in three predictable ways:
- Comparing teams. Each team's points are calibrated to its own reference stories. Comparing two teams' velocity is like comparing prices without knowing the currencies.
- Asking for "more velocity". The cheapest way to deliver more points is to inflate estimates or loosen the Definition of Done. Both make things worse.
- Judging individuals. Velocity is a team number. Splitting it per person punishes pairing, code reviews and helping others, which are exactly the habits that make teams fast.
If leadership wants to know how a team is doing, give them outcomes: whether sprint goals are being met, what shipped, and a forecast with a range. Keep velocity inside the team as a planning input.
Why does velocity fluctuate, and what should you do?
Some variation is normal. A swing of a few points either way is noise and doesn't need explaining. Look for patterns over three or more sprints instead.
| What you see | Likely cause | What to do |
|---|---|---|
| Alternating high and low sprints | Large stories finishing in one sprint and not the next | Slice smaller; aim for most items at 1 to 5 points |
| Steady decline over several sprints | Growing technical debt, rising unplanned work or a stretched team | Raise it in the retrospective; track unplanned work separately |
| A sudden one-off drop | Holidays, sickness, an incident, someone leaving | Usually nothing; adjust capacity next sprint |
| Steady rise with no visible change in output | Estimate inflation | Re-anchor on your reference stories; stop treating velocity as a target |
| Completed always well below planned | Over-committing in sprint planning | Plan to your recent average or lower, never to your best sprint |
The most effective way to stabilize velocity is smaller stories. A 13-point story that misses the end of the sprint by a day moves 13 points into the next sprint and makes both numbers look wrong. Five 3-point stories rarely do that.
Don't smooth the numbers by re-estimating finished work or giving partial credit. It makes velocity look stable and makes it useless.
Should velocity include bugs, spikes and carried-over work?
There's no single right answer. Consistency matters more than which convention you choose. Sensible defaults:
- Carried-over stories: zero in the sprint they didn't finish, full original estimate in the sprint they do. Don't re-estimate the remaining part; over a few sprints it evens out.
- Bugs: if you plan bugs into the sprint and estimate them, count them. If bugs arrive as unplanned interruptions, don't estimate them, and let the lower velocity reflect the time they take.
- Spikes: timebox them instead of pointing them. Their output is knowledge, not a shippable change.
- Work added mid-sprint: count it if it was estimated and finished, and track it separately so you can see how much the team absorbs.
Doing this in Zero Project Tracker
Zero Project Tracker doesn't draw a velocity chart. Instead, every completed sprint keeps a frozen report: committed points versus delivered points, the tasks completed, the tasks left incomplete and the tasks added mid-sprint. Your velocity is the delivered figure, and because the report is frozen it doesn't drift when someone edits an estimate later. Read the last three to five reports, note the delivered points, and you have your average and range. When you plan the next sprint, set its capacity to your adjusted velocity; the Backlog shows the load against that target and warns you when you go over. When you complete a sprint, you choose whether unfinished tasks go back to the backlog or into another sprint.