Scrum Poker Starta session

Sprint velocity: how to calculate it and use it

Velocity tells a team how much work it usually finishes in a sprint. Used as a range for forecasting, it is very useful. Used as a target, it breaks. Here is how to do it right.

On this page
  1. How to calculate velocity
  2. Use a range, not a single number
  3. Forecasting with velocity
  4. Velocity and capacity in Sprint Planning
  5. What not to do with velocity
  6. When velocity changes
  7. Velocity vs throughput
  8. Velocity checklist
  9. Frequently asked questions

Sprint velocity is the amount of work a team completes in one sprint, usually measured as the sum of the story points of the items that met the Definition of Done by the end of the sprint. Averaged over several sprints and read as a range, it helps the team decide how much to take into the next sprint and forecast how many sprints a larger body of work will need.

Velocity is not part of the Scrum Guide. It is a widely used complementary practice, and like any metric it works only when the people producing it have no reason to inflate it.

How to calculate velocity

At the end of each sprint, add up the estimates of every item that is fully done. Nothing else counts.

  • Done items count in full. A 5-point story that is done adds 5.
  • Unfinished items count zero. A story that is 90 percent done adds nothing this sprint. It goes back to the backlog and counts in the sprint where it is finished.
  • Use the original estimate. Do not re-estimate a story because it turned out harder or easier than expected.
  • Unestimated work does not count. Bugs or tasks without an estimate reduce the time available, and that shows up as a lower velocity. That is correct: they did consume capacity.

Example: the team selected 26 points. It finished stories of 8, 5, 5 and 3 points. A 5-point story is almost done. Velocity for the sprint is 21, not 26 and not 25.

Use a range, not a single number

One sprint's velocity is noisy. Holidays, a production incident or one difficult story can move it by 20 or 30 percent. Look at the last five to eight sprints and describe velocity as a range.

SprintVelocity
Sprint 118
Sprint 224
Sprint 321
Sprint 427
Sprint 522
Sprint 625

The average is about 23. A simple way to get a range is to average the three lowest sprints (18, 21, 22, about 20) and the three highest (24, 25, 27, about 25). The team usually finishes 20 to 25 points per sprint. That range is more honest than "23", and it already includes the interruptions of the past six sprints.

Forecasting with velocity

Suppose the remaining work for a release is estimated at 160 points. Divide by both ends of the range:

  • 160 divided by 25 is 6.4, so at the faster pace the work finishes during the 7th sprint.
  • 160 divided by 20 is 8, so at the slower pace it needs 8 sprints.

The forecast is 7 to 8 sprints. With two-week sprints, that is roughly 14 to 16 weeks from now. Share it as a range and update it every sprint as new velocity data arrives and the backlog changes. A velocity forecast calculator runs this arithmetic for you.

Two cautions. The forecast is only as good as the estimates of the remaining backlog, and large, rough items such as epics carry more uncertainty than refined stories. And backlogs tend to grow: new work discovered along the way pushes the date out unless something else is removed.

Velocity and capacity in Sprint Planning

Velocity describes a normal sprint. When the next sprint is not normal, adjust it. If one developer out of five is away for the whole sprint, the team has about 80 percent of its usual capacity, so 20 to 25 points becomes roughly 16 to 20.

The sprint capacity planning guide shows how to count availability day by day. Combine the two at the sprint planning meeting: velocity says what the team usually does, capacity says how this sprint differs.

A new team has no velocity yet. For the first two or three sprints, select work by judgement, record what gets done, and start forecasting once you have at least three data points.

What not to do with velocity

Do not compare teams

Every team calibrates its own point scale. A team with a velocity of 40 is not twice as productive as a team with 20; it may simply use larger numbers. Comparing them only teaches teams to inflate estimates.

Do not set velocity targets

"Increase velocity by 10 percent" is easy to achieve without delivering anything more: estimate a bit higher. The number goes up, the product does not change, and the forecast stops being useful.

Do not measure individuals

Velocity belongs to the team. Splitting it by person ignores pairing, reviews, support and everything else that makes a team deliver.

Do not count partial work

Giving half credit for unfinished stories makes velocity look stable while hiding that work is piling up half done.

More traps of this kind are collected in estimation anti-patterns.

When velocity changes

A sudden drop or rise is a signal to talk about, not a problem to fix in itself. Common causes include a change in team members, a new area of the product, more unplanned work, or a change in how strictly the Definition of Done is applied. Discuss it in the Retrospective. If the cause is lasting, such as a new team member, expect a few sprints before the range settles again.

Velocity also depends on consistent estimation. If the team changes its reference stories or switches between story points and hours, older sprints stop being comparable. Start a new range from the sprint where the change happened.

Velocity vs throughput

Some teams skip points and count items instead. The number of items finished per sprint is usually called throughput. It works well when stories are split to a similar, small size, because each item then represents roughly the same amount of work.

MeasureWhat you countWorks best when
VelocityStory points of done itemsItem sizes vary and the team estimates consistently
ThroughputNumber of done itemsItems are split small and similar in size

Both are forecast the same way: take a range from recent sprints and divide the remaining work by it. If your team already splits stories small, try tracking both for a few sprints and keep the one that forecasts better with less effort.

Velocity checklist

  • Only items that meet the Definition of Done count.
  • Original estimates are kept.
  • Velocity is reported as a range from the last five to eight sprints.
  • Forecasts are shared as ranges and updated every sprint.
  • Capacity changes adjust the plan for a single sprint.
  • Nobody compares teams or individuals using velocity.

Frequently asked questions

What is sprint velocity?

Sprint velocity is the amount of work a team completes in a sprint, usually the sum of the story points of items that met the Definition of Done.

How do you calculate velocity in Scrum?

Add up the original estimates of all items that are fully done at the end of the sprint. Unfinished items count zero until the sprint in which they are finished.

Is velocity part of the Scrum Guide?

No. Velocity is a common complementary practice used by many Scrum teams, but the Scrum Guide does not mention it.

How many sprints do you need to calculate a reliable velocity?

Three sprints give a first rough range. Five to eight sprints give a more stable one, as long as the team and its estimation scale stay the same.

Should you compare velocity between teams?

No. Each team calibrates its own story point scale, so velocities of different teams are not comparable. Comparing them encourages inflated estimates.