- Home
- PMP
- Study Guide
- Agile and Hybrid
- Story Points, Planning Poker and Velocity
Agile and Hybrid
Story Points, Planning Poker and Velocity
PMP · Agile and Hybrid · 3 lessons · about 35 min
Part of the free PMP video course: every lesson starts with its video →
What this chapter covers
When a team uses story points, it does not estimate “how many people for how many days”. It estimates “how much bigger is this item than that one”. This chapter starts from that idea. First come story points and relative size estimating, and how a team reaches consensus with planning poker and wideband Delphi. Then comes velocity, the number of story points completed and accepted within an iteration: how to calculate it, how to use it to forecast how many iterations remain, what to do when an iteration runs short midway, and how to handle velocity problems. Last come spikes: when requirements or technical approaches are unclear and an item cannot be estimated, a small, time-boxed experiment turns the unknown into the known.
By the end of this chapter you should be able to do the following. Explain that story points measure relative effort, not time, and that story points and velocity cannot be compared between teams. Describe how planning poker works and why it does not take an average. Calculate the velocity of an iteration accurately, use the average velocity of recent iterations to forecast the number of remaining iterations, and check the result. When an iteration develops a gap, address impediments first; if the scope still cannot be completed, renegotiate it without endangering the Sprint Goal. Recognize situations that call for a spike.
Lessons in this chapter
- Lesson 1: Story Points, Relative Estimating and Planning Poker. The team picks a familiar reference story and agrees its point value (often 1 point); planning poker reveals cards at the same time and, when the spread is large, starts with the reasons; wideband Delphi uses independent estimates and several rounds that converge; the estimate is made jointly by the team that does the work.
- Lesson 2: Velocity: Calculation, Stability and Forecasting. Only completed and accepted points count; forecast with the average of recent velocities, which represents current capability, and round up; when an iteration falls short midway, protect the iteration goal first, then have the developers and the product owner negotiate scope; includes three complete worked examples with checks.
- Lesson 3: Spikes. Used when requirements or the technical approach are unclear and the work cannot be estimated; a timebox, a clear question, and knowledge as the output; how a spike differs from iteration zero and from the risk register.
Chapter map
| Question to answer | Tool or measure | Key rule | Lesson |
|---|---|---|---|
| How big is the story? | Story points, relative estimating | Choose a reference story, agree its point value, and use the team's own scale | Lesson 1 |
| How does the team reach consensus? | Planning poker, wideband Delphi | Reveal at the same time and explain reasons; do not take an average | Lesson 1 |
| How much is completed in an iteration? | Velocity | Counts only when completed and accepted | Lesson 2 |
| How many iterations remain? | Remaining points ÷ average velocity | Use the recent average and round up | Lesson 2 |
| The iteration will not be finished | Gap, negotiating scope | Protect the iteration goal first and move lower-priority stories that do not affect it back to the product backlog | Lesson 2 |
| Cannot be estimated | Spike | Timebox; the output is knowledge | Lesson 3 |
Study tips and practice
- Work calculation questions in four fixed steps: set the basis (count only what is completed), take the data (recent average), calculate (round up), and check (multiply back).
- Options that compare teams, reward a higher velocity, or set the highest velocity as the target are almost always wrong.
- Velocity is tested often. Start with the three worked examples in Lesson 2, then do the practice questions.
- Velocity also appears in release planning and burndown charts, and later chapters use it again.
Lesson 1
Story Points, Relative Estimating and Planning Poker
Lesson overview
At the user-story level, an agile team commonly uses relative sizing instead of directly estimating “how many people for how many days”; it asks “how much bigger is this item than that one”. This lesson covers three things: what story points are and how relative estimating works, how the team reaches consensus with planning poker and wideband Delphi, and who should do the estimating. Common exam traps are comparing different teams by story points and velocity, replacing discussion with an average, and letting the product owner or an expert estimate on the team's behalf. ECO: Process domain, Task 8 (Plan and manage schedule). The next lesson turns story points into velocity for forecasting.
Story points and relative size estimating
PMBOK 8 describes a story point as “a unit used to estimate the relative level of effort needed to implement a user story”. Story points “reflect the relative effort or complexity rather than absolute time, based on the understanding that teams are typically better at comparing work items than predicting precise durations.” A story point holds more than effort: it also holds complexity and risk. A story that links to hardware, does data analysis and pushes notifications is much bigger than a page that adds one dropdown, even if the number of lines of code is similar.
PMBOK 8 says only that story points reflect relative effort or complexity and does not prescribe fixed steps. What follows is one common way to do relative estimating, in three steps. First pick a small story that everyone understands immediately as the reference, and have the team agree its point value (often 1 story point). Then compare each story with the reference and ask how many times bigger it is. Finally settle on a point value. The reference story should be simple, familiar to everyone, and uncontroversial. Agile estimating is iterative and just in time: stories to be done soon are estimated in more detail, those further out are estimated roughly, and they are re-estimated as understanding grows. Lines of code are not used. At the task level, hours can still be used.
Because each team sets its own reference, story points are each team's own scale: 5 points means different things in two different teams. So story points and velocity are a team's own calibration scale, used mainly for that team's planning and forecasting (they can be shown openly so stakeholders see progress), but they cannot be used to compare teams or to appraise individuals.
Who estimates and how: planning poker
Estimating is done jointly by the people who do the work: all the developers take part and form a team consensus. The product owner explains the story and helps with trade-offs but does not set the points for the team. If there is a business expert or a senior engineer, none of them decides alone, and no other team is brought in to estimate. Before estimating, the team must first understand each story clearly.
Planning poker is a method for reaching estimating consensus within the team. Each person has a deck whose faces form a Fibonacci-like sequence, such as 1, 2, 3, 5, 8, 13, 20, 40, plus 0 (no work needed), a question mark (not understood) and 100 (too big; keep splitting). The process: the product owner explains the story and the team asks questions to clarify it; each person picks a card and puts it face down on the table; on the count of three everyone reveals at the same time; if the numbers are close, settle on a consensus value; if they are far apart, the people who played the lowest and the highest cards explain their reasons first, everyone listens, and another round follows, usually converging in about three rounds.
The sequence widens as it goes up because larger estimates are less precise: the difference between 7 and 8 is meaningless and not worth arguing about. Revealing at the same time prevents anchoring, so that whoever speaks first, especially a senior member, does not sway the others' judgment.
Wideband Delphi also reaches consensus through multiple rounds. PMBOK 8 defines it as “an estimating method in which subject matter experts go through multiple rounds of producing estimates individually, with a team discussion after each round, until a consensus is achieved.” The steps: choose the expert team and explain the rules; each person writes down an estimate independently; a facilitator consolidates and shares the results (in practice this can be done anonymously, but anonymity is not required); after each round the team discusses the reasons for large differences; then estimate again until consensus is reached. Its keywords are “estimate independently, discuss over several rounds and converge”. Affinity estimating (common exam practice) suits hundreds or thousands of stories that need quick sorting, and T-shirt sizing uses S, M, L and XL to express relative size.
Worked example: one round of planning poker
The story is “export the monthly report”. In round one, 5 people reveal: 3, 3, 3, 5, 13. The spread is large, so the people who played 3 and 13 speak first.
The member who played 13 says: “A similar feature last quarter timed out on 100,000 rows of data.” The member who played 3 says: “This time it is at most 2,000 rows, using an existing component.” With the information aligned, all 5 play 3 in round two, and the story is set at 3 points.
Check: if an average had been taken, (3+3+3+5+13)÷5 = 5.4, which is nobody's judgment and also hides the key disagreement about data volume. So do not average; let the discussion lead everyone to re-estimate.
Worked examples
Example 1: A project manager wants to compare two teams' performance by velocity
A project manager at a logistics company manages two agile teams at once and wants to judge which one performs better by comparing the two teams' velocities. Which approach is MOST appropriate?
Show answer and explanation
Correct answer: A
A project manager manages two agile teams and wants to compare their velocities to judge performance. The point here is to decide what velocity can be used for.
Velocity is measured in story points, and story points are a relative scale each team builds from its own reference story, so the same number of points means different things in different teams and their sizes are not comparable. Velocity therefore cannot be used to compare the performance of two teams. Its purpose is forecasting within a team. The most common management mistake is treating velocity as a performance metric: once it is used for ranking, teams lower their standards or inflate figures to protect the number, and the forecasts become distorted. The answer is A.
Why the other options are wrong
- B. A high velocity may just mean the team sizes its stories larger, not that it produces more. Rewarding on that basis has no foundation and encourages inflated reporting.
- C. Comparing regularly still assumes the velocities are comparable, and that assumption does not hold.
- D. A retrospective is where a team improves its own way of working, not where two teams are compared. Changing the meeting does not change the fact that the velocities are not comparable.
Key takeaway Velocity is mainly for forecasting and tracking trends within the same team; it cannot be used to rank different teams or appraise individuals.
Variation If the stem were changed to “require the team's velocity to be higher in every iteration than the last”, that would be wrong too, because velocity should be stable, not constantly climbing.
Something wrong with this question?
Example 2: Stories were estimated poorly; how can the next iteration's estimates improve
A team has completed several iterations but has consistently estimated story sizes poorly: in some iterations stories were overestimated and finished early, and in others they were underestimated and could not be finished. What should the team do to improve planning for the next iteration?
Show answer and explanation
Correct answer: A
The team has completed several iterations but its story estimates keep missing: overestimated in some iterations, so work finishes early, and underestimated in others, so work is not completed. The question asks how to improve planning for the next iteration.
In planning poker, members reveal cards at the same time, the highest and lowest estimators explain their reasons, and everyone plays again; after several rounds the estimates converge. Differences usually come from different understanding or assumptions about the story, and the discussion exposes and removes them, which makes the estimates more accurate. Revealing cards simultaneously prevents whoever speaks first from swaying the others, and explaining extreme values brings out differences in understanding, so the team's judgment of relative size becomes more consistent and more reliable. The answer is A.
Why the other options are wrong
- B. Simply averaging is pulled off by extreme values and skips the discussion, so differences in understanding are never found.
- C. Story size is estimated by the team that actually does the work. The product owner and Scrum Master are not responsible for estimating.
- D. Other teams understand the story and use an estimating scale differently. The team that will do the story should estimate it.
Key takeaway Planning poker converges through several rounds of revealing cards and discussing the extreme values, not by taking an average.
Variation If the scenario stressed that members submit estimates independently, the facilitator consolidates and feeds them back, and rounds continue until convergence, that would be wideband Delphi. The key points are independent estimating and several rounds of discussion that converge.
Something wrong with this question?
Common traps
Compare
- Planning poker: cards revealed openly, with a numeric sequence on the cards; the focus is “reveal at the same time” and “explain the reasons”.
- Wideband Delphi: independent estimates, discussion after each round, several rounds converging; the focus is “estimate independently, converge over several rounds”.
- Affinity estimating: groups a large batch of stories into categories and suits quick estimating when there are many.
- T-shirt sizing: S, M, L, XL; more qualitative.
Common trap
- Planning poker does not take an average; when the spread is large, first have the two extremes state their assumptions.
- Story points are each team's own relative scale. Velocity cannot be compared between teams or used to reward or appraise.
- Estimating is done jointly by the developers, not by the product owner, the Scrum Master, a business expert or another team on their behalf.
- Story points are not hours or days, and lines of code are not used either.
- Make sure the team understands every story first and then estimate; do not skip the discussion and go straight to playing cards.
Key takeaways
Key point
- A story point is a unit of relative effort or complexity, not absolute time, and not lines of code.
- Relative estimating: choose a reference story and agree its point value (the common practice is 1 point), and compare the others by multiples.
- Story points and velocity are each team's own scale; they cannot be compared between teams or used to appraise individuals.
- Estimating is done jointly by the developers, and the team understands the stories clearly before estimating.
- Planning poker: reveal at the same time; when the spread is large, the lowest and highest players explain first, then another round; no averaging.
- The key to wideband Delphi is independent estimating and several rounds of discussion that converge.
Lesson 2
Velocity: Calculation, Stability and Forecasting
Lesson overview
Velocity is the number agile teams use most, and this is the lesson where calculation and scenario questions cluster most heavily. Questions fall roughly into three types: calculate the velocity of an iteration, forecast how many more iterations are needed, and decide what to do when an iteration is found midway to be running out of time. A further type of scenario question covers velocity that falls, swings widely, or is used by management for comparison, and what should be done about it. This lesson gives the definition first, then three complete step-by-step worked examples, and finally the order of handling when velocity goes wrong. ECO: Process domain, Task 8 (Plan and manage schedule). The previous lesson covered story points; this one turns story points into forecasts.
What velocity is
PMBOK 8 defines velocity as “a measure of a team's productivity rate at which the deliverables are produced, validated, and accepted within a predefined interval.” On a team that estimates with story points, velocity is usually the total number of story points completed and accepted within an iteration. Only stories that are truly done and accepted count; a story that is almost finished earns nothing, regardless of how many were planned.
Velocity is not better when it is higher, and it is not a performance target. A team usually needs several iterations before its recent velocity settles into a relatively stable range, and data from the early settling-in period runs low or high; forecasts use that recent range. Velocity is mainly for the same team to forecast from its own history. It can be shown openly to stakeholders, but it should not be used to rank teams or appraise individuals: if it is, teams lower their standards or inflate figures to protect the number, and the forecast becomes distorted. A single high value in a new team's first few iterations also should not be taken as the planned velocity for later ones.
How to calculate: three types
1. Calculate the velocity of an iteration. Rule: add up only the story points of stories that meet the Definition of Done; relevant acceptance criteria and testing belong within that definition.
2. Forecast how many more iterations are needed. Take the historical velocity that represents the team's current capability (in practice, usually the average of the last few iterations), divide the total remaining story points by it, and round up. Do not take the highest value, the lowest value or the best ever. Settling-in data that there is good reason to treat as no longer representative of current capability is left out of the average (when a question specifies the data range, calculate as it says). This is common exam practice.
3. The iteration is found midway to be running out of time. First work out the gap, keep the iteration timebox unchanged, and have the team update its plan and deal with impediments. If the existing scope truly cannot be completed, the developers and the product owner collaborate to renegotiate scope and, without endangering the iteration goal, adjust the backlog (the common exam practice is to move out the lowest-priority stories).
Worked example 1: calculating an iteration's velocity
An iteration selects 5 stories of 5, 3, 8, 2 and 5 points, 23 in total. At the end, the 5-point, 8-point and 2-point stories meet the Definition of Done; the 3-point story fails acceptance testing and therefore does not meet the Definition of Done; the last 5-point story is mostly done.
Step 1: Count only what is completed and accepted: 5 + 8 + 2 = 15.
Step 2: The 3 points (not accepted) and the 5 points (not complete) do not count, and the “mostly done” story is not credited with 4 points.
Conclusion: velocity = 15, not 23 and not 18. Check: 15 + 3 + 5 = 23, which matches the total selected.
Worked example 2: forecasting the remaining iterations
The product has 150 story points remaining. The first 6 iterations had velocities of 12, 18, 26, 28, 27 and 29, and each iteration is 2 weeks.
Step 1: Take the average velocity of the last 3 iterations: (28 + 27 + 29) ÷ 3 = 28.
Step 2: 150 ÷ 28 ≈ 5.36, rounded up, so 6 iterations are needed.
Step 3: Check. 5 iterations deliver only 5 × 28 = 140 points, not enough; 6 iterations deliver 6 × 28 = 168 points, enough. So 6 iterations, about 12 weeks.
Comparison: if the average of all 6 iterations, (12 + 18 + 26 + 28 + 27 + 29) ÷ 6 ≈ 23.3, were used wrongly, 150 ÷ 23.3 ≈ 6.4 gives 7; using the highest value of 29 wrongly, 150 ÷ 29 ≈ 5.2 gives 6 but with no basis; using the first iteration's 12 wrongly gives 13. The settling-in data pulls the result down, so using the last few iterations is the reasonable choice. This is a forecast, not a promise, and it is updated on a rolling basis as actual velocity comes in.
Worked example 3: a gap appears midway through an iteration
A two-week (10 working day) iteration plans 30 points. At the end of working day 6, 14 points are complete, and after assessment the team can complete at most 12 more in the remaining time.
Step 1: Expected total = 14 + 12 = 26.
Step 2: Gap = 30 − 26 = 4 points.
Step 3: Do not extend the timebox and do not work overtime. Negotiate with the product owner and, without endangering the iteration goal, move out the lowest-priority stories that add up to at least 4 points (for example one 4-point story or two 2-point stories) and put them back in the product backlog.
Check: after moving out 4 points, the planned amount is 26, equal to the expected 26. If only one 5-point story can be moved out, the adjusted plan is 25 points; the details depend on the points of the stories moved and on the iteration goal.
PMBOK 8 also uses story points in earned value: on adaptive projects, planned value (the story points planned to be completed by a given date) and earned value (the story points completed by the end of the same iteration) can be calculated for each iteration from the story points assigned to each user story.
What to do when velocity goes wrong
When velocity is lower than expected or swings up and down, do not rush to “fix” it. The order is:
- Collect data and find the cause: are the estimates too small, are there too many impediments, are members not taking part enough, or is the team tied up by operations and other chores?
- Analyze it with the team and agree improvements in the retrospective.
- If results still deviate, negotiate with the product owner to adjust the release plan and priorities and move the lowest-priority stories out.
- Stay transparent throughout, telling stakeholders the actual velocity and the adjusted forecast.
Time taken up by operations must show up in available capacity and in the iteration forecast; planned vacation should be built into team capacity and the release forecast in advance; and if actual velocity or available capacity still differs, keep updating the forecast on a rolling basis. Velocity has forecasting value only once it is stable, so protect the team from outside interruptions; the answer is not to add people or shorten the iteration.
Worked examples
Example 1: 6 iterations completed, forecast with the average of the last 3 iterations
An agile team has completed 6 iterations with velocities of 14, 22, 30, 32, 31 and 33. The backlog still holds 165 story points, and the product owner wants to know how many more iterations are needed. The team should forecast using the average velocity of the last 3 iterations. How many iterations are needed?
Show answer and explanation
Correct answer: B
A project has completed 6 iterations with velocities of 14, 22, 30, 32, 31 and 33, with 165 story points remaining. Forecast the number of iterations still needed using the average velocity of the last 3 iterations.
The question specifies the last 3 iterations: 32, 31 and 33. After working out the average velocity, divide the remaining story points by it. A fraction of an iteration still takes up one iteration, so round up. The result is 6 iterations. The earlier 14 and 22 fall outside the last 3 iterations the question specifies, so they are left out. The answer is B.
- Take the velocities of the last 3 iterations: 32, 31, 33.
- Average velocity = (32 + 31 + 33) ÷ 3 = 96 ÷ 3 = 32.
- Iterations needed = 165 ÷ 32 ≈ 5.16, rounded up to 6.
- Check: 5 iterations deliver only 5 × 32 = 160, less than 165, so not enough; 6 iterations deliver 6 × 32 = 192, more than 165, so enough. The answer is 6.
Why the other options are wrong
- A. Using the highest velocity, 33: 165 ÷ 33 = 5. The highest value does not represent the normal level and is too optimistic.
- C. Using the average of all 6 iterations, (14 + 22 + 30 + 32 + 31 + 33) ÷ 6 = 27: 165 ÷ 27 ≈ 6.1, rounded up to 7. The low early velocities pull the average down, and this also ignores the “last 3 iterations” the question specifies.
- D. Using the first iteration's velocity of 14: 165 ÷ 14 ≈ 11.8, rounded up to 12. This uses data outside the last 3 iterations, against what the question specifies.
Key takeaway Forecast with the average velocity of the number of recent iterations the question specifies, and round the number of iterations up.
Variation If the question said to use the average of the last 2 iterations, the average would be (31 + 33) ÷ 2 = 32, and the answer would not change; if 200 points remained, 200 ÷ 32 = 6.25, rounded up to 7.
Something wrong with this question?
Example 2: What velocity should be recorded for an iteration
At the iteration planning meeting, a team selects 4 user stories estimated at 8, 5, 3 and 2 story points. At the end of the iteration, the first three stories meet the Definition of Done, while the fourth does not because integration testing is unfinished. What velocity should be recorded for this iteration?
Show answer and explanation
Correct answer: B
The iteration has ended. The team selected 4 stories (8, 5, 3 and 2 points). The first three met the Definition of Done; the fourth lacks only integration testing. The task is to calculate the iteration's velocity.
In a Scrum context, completion is judged by the Definition of Done, which should include the relevant acceptance criteria and testing. The first three stories total 16 points and the fourth does not meet the Definition of Done, so it is excluded. The answer is B.
- Count only stories that meet the Definition of Done: 8, 5 and 3.
- Velocity = 8 + 5 + 3 = 16.
- The fourth story (2 points) lacks only integration testing and is not complete, so it is not counted and is not pro-rated for partial completion.
- Check: total selected 8 + 5 + 3 + 2 = 18, minus the 2 incomplete points, gives 16, which matches the velocity.
Why the other options are wrong
- A. 4 is the number of stories selected. Velocity is counted in story points, not story count, and only 3 stories were completed, not 4.
- C. This gives partial credit for the unfinished story. Velocity does not recognize “almost done”: a story that does not meet the definition of done earns nothing.
- D. 18 is the total points planned into the iteration. That is a forecast amount, not the amount completed.
Key takeaway Velocity counts only story points that meet the Definition of Done; a story that is almost done earns nothing.
Variation If the fourth story had also met the Definition of Done, velocity would be 8 + 5 + 3 + 2 = 18; if the third story had also not met the Definition of Done, velocity would be 8 + 5 = 13.
Something wrong with this question?
Example 3: A gap appears midway through an iteration; what does the team do
A team is in a 2-week (10 working days) iteration and plans to complete 36 story points in it. On working day 7, 21 story points have been completed, and after assessment the team can complete at most 10 more; the unfinished work includes low-priority stories that are not needed to achieve the Sprint Goal. What should the team do about the gap?
Show answer and explanation
Correct answer: A
In a 2-week (10 working day) iteration, the team plans to complete 36 story points. On working day 7, 21 points are done, the team can complete at most 10 more, and low-priority stories not needed for the Sprint Goal remain. The task is to calculate the gap and choose how to handle it.
The iteration timebox is fixed. The team should first confirm the forecast and address impediments; if the current scope still cannot be completed, the Developers collaborate with the Product Owner to renegotiate Sprint Backlog scope without endangering the Sprint Goal, potentially removing lower-priority stories totaling at least the gap. The answer is A.
- Planned 36 points; on working day 7, 21 are done and at most 10 more can be completed.
- Expected total = 21 + 10 = 31 points.
- Gap = 36 − 31 = 5 points.
- The timebox is fixed: negotiate with the product owner to remove at least 5 points of low-priority stories without endangering the Sprint Goal.
- Check: after removing 5 points, the planned amount is 36 − 5 = 31, equal to the expected total of 31.
Why the other options are wrong
- B. An iteration is a fixed timebox and cannot be extended by 2 days to fill a gap.
- C. Overtime for everyone goes against a sustainable pace, is not how agile deals with a scope gap, and would harm quality.
- D. Adding a standby task makes the planned amount larger and the gap bigger. The gap is 5 points, so scope should be reduced, not increased.
Key takeaway The iteration timebox is fixed; if the current scope still cannot be completed after impediments are addressed, renegotiate scope with the Product Owner without endangering the Sprint Goal rather than extending the iteration or requiring overtime.
Variation If on day 7 the team had completed 21 points and could complete at most 16 more, the expected total would be 37, above the original forecast of 36. There would be no gap; if the Sprint Goal is not endangered, the Developers could discuss with the product owner whether to pull in a suitably ordered small story.
Something wrong with this question?
Common traps
Common trap
- Velocity counts only completed and accepted story points. Partial completion earns no credit, and the amount planned in is not velocity.
- Forecast with the average of the last few iterations, not the highest, lowest or best ever; round the number of iterations up.
- Steadier velocity is better; it does not have to be higher than the last iteration every time. It cannot be used to compare different teams or appraise individuals.
- When an iteration is running out of time: do not extend it, work overtime or add tasks; clear impediments and update the plan first. If scope truly has to be cut, the developers negotiate with the product owner and, without endangering the iteration goal, adjust the work (the common exam practice is to move out low-priority stories).
- When velocity falls, first look for the cause and improve in the retrospective; do not work overtime, add people, compress the iteration or change the estimate numbers.
Key takeaways
Key point
- Velocity = the story points completed and accepted within one iteration; what is unfinished or not accepted does not count.
- Forecast: remaining story points ÷ the average velocity of the last few iterations, rounded up.
- Velocity is not a performance target and need not rise every iteration; it settles into a relatively stable range only after several iterations, and forecasts use that recent range. It is used mainly by the same team to forecast from its own history and may be shown openly to stakeholders, but it is not used to compare teams or appraise individuals.
- A gap midway through an iteration: gap = planned amount − (completed + still able to complete); the developers negotiate with the product owner and, without endangering the iteration goal, adjust scope (the common exam practice is to move out low-priority stories).
- When velocity falls: first find the cause, improve in the retrospective, then negotiate with the product owner to adjust the plan, and stay transparent.
Lesson 3
Spikes
Lesson overview
Planning poker and velocity rest on one premise: the stories can be estimated. If requirements are vague or the technical approach is uncertain, the team cannot even give a point value, and forcing an estimate turns into gambling. The agile response is to run a spike first: a small, time-boxed experiment that turns the unknown into the known, after which the team goes back to the story and estimates it. This lesson covers when to use a spike, how to run one, and how it differs from formal development. ECO: Business Environment domain, Task 5 (Plan and manage risk), because the essence of a spike is spending a small cost up front to reduce or clarify uncertainty. A spike is a common exam term.
When to use one
A spike, sometimes called a probe or an exploration, is a quick experiment used when requirements or the technical approach are unclear and the team cannot estimate a story. Typical situations are:
- Not knowing whether the product can integrate with an external system.
- Not being able to judge which of two technical approaches is more suitable.
- Wanting to adopt a new framework or technology no one has used, with no confidence in its effect or how hard it is to integrate.
- Non-functional requirements, such as response time under high concurrency, that the team does not know it can meet.
- A customer's new requirement is very general and the product owner does not know where to start.
What they have in common: uncertainty is high, meetings and reasoning cannot produce the answer, and a little real experimental data is needed.
How to run one
A spike must meet three conditions:
- A timebox. Agree a short timebox appropriate to the question, which may be hours or days; stop when time is up and do not let it stretch on without limit.
- A clear question. For example, “Can this interface return within 1 second?” or “Can this framework support 500 concurrent users?” The question should be specific and verifiable, so that the experiment can produce a clear conclusion or data (the conclusion need not be yes or no; it can also be a comparison of approaches, performance data or effort information).
- The output is knowledge, not product. The implementation can be quick and crude, because the goal is to obtain information. When the experiment ends, the code is normally thrown away and only what was learned is kept, and then the team goes back to the story to estimate and schedule it formally.
A spike is often written as a “spike story” and put into the product backlog, with a title, a timebox and the question to be answered, and it is ordered like any other story. It is usually done by a few members with the relevant skills (the number depends on the question), and the conclusions are shared with the team afterward; the whole team does not stop work.
A spike is not a line in the risk register and not a change request. Logging a risk only writes the uncertainty down and does not reduce it; a spike spends a small cost to reduce it actively, so it is the more proactive way of dealing with uncertainty. Its cost-effectiveness is also easy to see: without a spike, putting an 8-point story straight into an iteration could, if the interface proves unstable, cost most of the iteration's capacity, while a spike limits exploration to a short, agreed timebox.
Worked example: integrating a third-party payment interface
A team has to integrate a third-party payment service into a mini-app, but two developers are not sure whether its callbacks are stable or how many days integration will take. The product owner wants to put it straight into the iteration as planned: “just give an estimate”.
What the team does: it writes a spike story with the question “Do callbacks from this interface arrive within 30 seconds, and does it support retry on failure?”, a timebox of 1 day, carried out by two members. The result: callbacks are stable and retry is supported, so integration is simpler than feared. On the second day the team uses planning poker to estimate “integrate third-party payment” at 8 points, and it goes into the next iteration.
Comparison: without a spike, if the interface turned out to be unstable halfway through the iteration, the result could be significant rework, a missed iteration goal or a waste of part of the iteration's capacity; the spike cost only 1 day and brought the risk to light early.
Worked examples
Example 1: A new framework may improve efficiency, but the product owner worries it will slow progress
An industrial IoT platform project has a very tight schedule. Two developers propose learning a new framework that could significantly improve development efficiency, but the product owner worries it will slow progress and objects. What should the agile coach do?
Show answer and explanation
Correct answer: D
On a project with a tight schedule, two developers propose learning a new framework that could significantly raise efficiency. The product owner objects because of the risk to progress. What should the agile coach do?
Whether the new framework will improve efficiency cannot be confirmed in advance, and discussion alone cannot answer it. The most appropriate step is for the coach to facilitate agreement between the team and product owner on a spike (a common exam term): let the two members try the framework within a clear, short timebox and then decide from the results whether to adopt it. A spike needs a clear question, for example “can the new framework cut build time in half?” The timebox limits the experiment's schedule exposure, although the experiment still consumes capacity. The answer is D.
Why the other options are wrong
- A. The value of the new framework is uncertain. Letting the product owner decide alone replaces evidence with authority.
- B. A technology choice within the project's scope does not first require a functional manager's assessment, and such an assessment cannot settle whether the effect is worth it.
- C. The real effect of the new framework cannot be judged in advance through theoretical discussion. A small experiment is needed to verify it.
Key takeaway When technical feasibility or benefit is uncertain, use a time-boxed spike for a quick experiment and replace argument with facts.
Variation If the stem required only startup preparation such as setting up the environment or configuring infrastructure, iteration zero (a common exam term) could fit; if it required answering a particular unknown, use a time-limited spike with a clear learning goal.
Something wrong with this question?
Example 2: The data storage requirements of a new system are vague and the team is unsure
The customer and product owner have clarified the data-storage outcomes required from a new system, but the team is still unsure which storage architecture can meet them and cannot estimate reliably or move forward. As an agile practitioner, what should you do next?
Show answer and explanation
Correct answer: C
At the start of the project, the customer and product owner have clarified the required data-storage outcomes, but the team remains unsure which architecture can meet them and cannot estimate reliably or proceed. What should be done next?
When work is highly uncertain and the team has not done it before, first run a spike (a common exam term): a time-boxed, small-scale exploration that clarifies the risk caused by the technical uncertainty, and then write stories, estimate and schedule based on what is learned. The output of a spike is knowledge, not product. Its result may be “feasible”, “not feasible” or “a different approach is needed”; in any case the team now has a basis for estimating and scheduling. The answer is C.
Why the other options are wrong
- A. Writing stories when both the product and the technology are poorly understood only produces vague stories, and the uncertainty is not removed.
- B. Iteration zero (a common exam term) may include several startup activities and even initial architectural exploration, but this option specifies only environment, infrastructure, and document-library setup and does not investigate the particular technical unknown in the stem.
- D. Continuing to refine the list without resolving the unknowns has no basis, and merely reporting the situation does not move anything forward.
Key takeaway When the required outcome is clear but the technical approach remains uncertain, use a spike to reduce the technical uncertainty and then estimate and plan the subsequent work.
Variation If the stem were changed to “the team cannot tell whether an interface can respond within 1 second”, the answer would still be a spike, with a short timebox appropriate to the question, a conclusion as the output, and any experimental implementation not automatically treated as production code.
Something wrong with this question?
Common traps
Common trap
- The output of a spike is mainly knowledge and is normally not released directly as an increment; to keep a prototype, write a separate story and build it into a proper increment against the definition of done. It cannot be treated as a completed feature.
- When both requirements and technology are unclear, spike first and then develop formally; do not force an estimate or replace experiment with argument.
- A spike and iteration zero are not the same concept: iteration zero (a common exam term) is usually a preparation period at the start of a project or release and may include environment, infrastructure, an initial backlog, and initial architectural decisions. A spike is a time-limited exploration of a particular unknown with a clear learning goal and may be scheduled during iteration zero.
- A spike needs a timebox and a clear question; it is not open-ended “research”.
- When facing technical uncertainty, the product owner cannot decide alone, and the answer is not to ask a functional manager to assess it or to hold a meeting to discuss whether it “could in theory” improve efficiency.
Key takeaways
Key point
- A spike is a quick experiment run when requirements or the technical approach are unclear and the work cannot be estimated.
- Three conditions: a timebox, a clear question, and knowledge rather than product as the output.
- When the experiment ends, the code is normally discarded, the knowledge is kept, and the team returns to the story to estimate and schedule it.
- It can be written as a spike story in the product backlog and ordered together with the other items.
- When the stem says “not sure”, “cannot estimate” or “technical feasibility unknown”, think spike.
- A spike is not iteration zero; both are common exam terms.
This chapter has 37 questions in the full bank; the questions beyond the worked examples are practiced in the question bank. Practice this chapter.