Find a course

Module 4: Building and Managing the BacklogLesson 9 of 1212 min

Story Points, Estimation and Velocity

Estimate backlog items with relative story points and planning poker, use velocity to forecast delivery honestly, and avoid the most common misuses.

Step 1 of 14Learn

Why relative estimates work better

Ask someone how tall a building is in meters and they'll struggle. Show them two buildings and ask which is taller, or roughly how many times taller, and they'll answer quickly and usually correctly. People are poor at absolute estimates and much better at relative ones.

Software and knowledge work are similar. Estimating that a story will take "14 hours" sounds precise, but it depends on who does it, how many interruptions they get and what surprises appear. These hour estimates are often off by a factor of two or more, and teams then spend energy defending them.

Many Agile teams estimate with story points instead. A story point is a relative unit that combines the effort, complexity and uncertainty of an item. The team picks a well-understood reference story, say "add a field to the profile page," and calls it 2 points. Then every other story is sized relative to it: about the same (2), a bit bigger (3), roughly twice as big (5), much bigger and riskier (8 or 13).

Story points aren't part of Scrum; the Scrum Guide doesn't prescribe any estimation technique. They're one popular tool among several, including t-shirt sizes (S, M, L, XL) and simply counting stories.

Step 2 of 14Learn

The Fibonacci-like scale

Most teams estimate using a modified Fibonacci sequence: 1, 2, 3, 5, 8, 13, 20, 40, 100. Why not use 1 to 10?

Because uncertainty grows with size. It's meaningful to say a story is a 2 rather than a 3. It's not meaningful to argue whether a big, fuzzy story is a 14 or a 15; nobody knows that precisely. The widening gaps in the scale force the team to choose between clearly different sizes, which matches how confident they can actually be.

A few practical conventions:

  • Estimates of 13 or more usually signal a story that's too big or not understood. Split it or investigate before bringing it into a sprint.
  • Points estimate the whole item, including testing, review and everything in the Definition of Done, not just the coding.
  • Points are team-specific. One team's 5 isn't another team's 5, because each team has its own reference stories.
  • A spike is a short, timeboxed investigation used when a story can't be estimated yet, for example to try out an unfamiliar payment service. The output is knowledge, which then makes the real story estimable.

The value of estimating is often the conversation, not the number. If one developer says 2 and another says 13, they understand the story differently, and that's worth discovering before the sprint, not during it.

Step 3 of 14Practice · Choose one

Why do many teams use a scale like 1, 2, 3, 5, 8, 13 for story points instead of 1 to 10?

Step 4 of 14Diagram

The story-point scale: gaps widen with size

The story-point scale: gaps widen with sizeScale: 1, 2, 3, 5, 8, 13, 20, 40, 100.Sprint-sizedSplit before planning1101001 point12 points23 points35 points58 points813 points1320 points2040 points40100 points100

Tap a shape with to see more.

1

1 point

2

2 points

3

3 points

5

5 points

8

8 points

13

A common upper limit for a story that still fits in a sprint.

20

20 points

40

40 points

100

Means "huge and fuzzy": an epic that must be split.

Step 5 of 14Learn

Planning poker

Planning poker is a popular way for a team to estimate together while avoiding anchoring, where the first number spoken pulls everyone else toward it.

  1. The Product Owner reads a story and explains it; the team asks questions.
  2. Each Developer privately picks a card with their estimate.
  3. Everyone reveals at the same time.
  4. If estimates are close, the team agrees on a number and moves on.
  5. If they differ widely, the highest and lowest estimators explain their reasoning. Often one person knows about a hidden complication, or a simpler approach.
  6. The team re-votes, usually converging within one or two rounds.

Only the people doing the work estimate. The Product Owner clarifies but doesn't vote, and managers definitely don't. An estimate imposed from outside isn't the team's estimate.

To keep it fast, timebox each story to a few minutes. If the team can't converge, that's a signal the story needs splitting or more information, not more debate. Some teams estimate many stories quickly by sorting them on a table from small to large, then assigning point values to groups, a technique sometimes called affinity estimation.

Step 6 of 14Practice · Put in order

Put the steps of a planning poker round in order.

Drag the items, or use the arrow buttons, to put them in order.

  1. Everyone reveals their card at the same time
  2. The highest and lowest estimators explain their reasoning
  3. The Product Owner explains the story and answers questions
  4. Each Developer privately chooses an estimate card
  5. The team re-votes and agrees on an estimate

Step 7 of 14Diagram

One round of planning poker

One round of planning pokerCycle diagram: PO explains the story → Everyone picks privately → Reveal at once → Highest and lowest explain → Vote again.Repeat until closePO explains thestoryEveryone picksprivatelyReveal at onceHighest andlowest explainVote again

Tap a shape with to see more.

PO explains the story
Everyone picks privately

Private choice avoids anchoring on the first number spoken.

Reveal at once
Highest and lowest explain

Outliers often know something the others missed.

Vote again

Step 8 of 14Learn

Velocity and forecasting

Velocity is the amount of work a team completes in a sprint, usually measured in story points. Only items that meet the Definition of Done count. A story that's 90% finished contributes zero, because it isn't usable.

After a few sprints, a team has a history, say 26, 31 and 28 points, for an average of about 28. That average is useful for two things:

Sprint planning. As a sanity check on how much to take on, adjusted for capacity.

Forecasting. If 140 points of work remain for a release, at about 28 points per sprint that's roughly 5 sprints. Better still, forecast a range using the team's slower and faster sprints: at 24 points it's about 6 sprints, at 32 about 4 to 5. A range is more honest than a single date, because it shows the uncertainty.

Forecasts improve as the team learns. Each sprint adds data, and the remaining work is re-estimated as stories are refined. When scope grows, which it usually does, the forecast moves out, and the Product Owner can see that early enough to make trade-offs.

Velocity tends to be unstable for the first few sprints of a new team and becomes more predictable once the team, the product and the Definition of Done settle down.

Step 9 of 14Practice · Chart

Six sprints of velocity

Which sprint would you ask about in the Retrospective before trusting the average?

Tap the bar that answers the question, then press Check.

Six sprints of velocityBar chart with 6 categories: Sprint 1: 26; Sprint 2: 31; Sprint 3: 28; Sprint 4: 19; Sprint 5: 30; Sprint 6: 29.010203040Story pointsSprint 1Sprint 2Sprint 3Sprint 4Sprint 5Sprint 6263128193029
Illustrative team. Average about 27 points; recent three about 26.
Six sprints of velocity
ItemPoints Done
Sprint 126
Sprint 231
Sprint 328
Sprint 419
Sprint 530
Sprint 629

Step 10 of 14Try the calculator

Release forecast from velocity

Forecast how many sprints the remaining work will take, as a range rather than a single date.

Sprints needed at average velocity
5
Best case (fast sprints)
5 sprints
Worst case (slow sprints)
6 sprints
Worst case in weeks
12 weeks

Step 11 of 14Practice · Work it out

A team has 120 story points left in a release and an average velocity of 24 points per sprint. About how many sprints will the remaining work take at that pace?

Step 12 of 14Note

Step 13 of 14Practice · True or false

If Team A averages 40 points per sprint and Team B averages 20, Team A delivers twice as much value.

Step 14 of 14Practice · Choose one

At the end of a sprint, a 5-point story is coded and tested, but the required code review hasn't happened, so it doesn't meet the Definition of Done. How does it count toward the sprint's velocity?