0
0
Software Engineeringknowledge~10 mins

Story points and velocity in Agile in Software Engineering - Step-by-Step Execution

Choose your learning style9 modes available
Concept Flow - Story points and velocity in Agile
Team estimates tasks with story points
Sprint starts: team works on tasks
Sprint ends: count completed story points
Calculate velocity = total story points done
Use velocity to plan next sprint's workload
The team assigns story points to tasks, completes them in a sprint, then measures velocity by summing completed points to plan future sprints.
Execution Sample
Software Engineering
Sprint 1 tasks: 3, 5, 2 points
Sprint 1 done: 3, 5 points
Velocity = 8 points
Plan Sprint 2 with ~8 points
Shows how story points completed in Sprint 1 determine velocity used for Sprint 2 planning.
Analysis Table
StepActionStory Points AssignedStory Points CompletedVelocity CalculationPlanning Outcome
1Estimate tasksTask A=3, Task B=5, Task C=2
2Sprint work
3Complete tasksTask A=3, Task B=5 done; Task C=2 not done
4Calculate velocity3 + 5 = 8
5Plan next sprintPlan ~8 story points workload
💡 Velocity calculated after sprint ends by summing completed story points
State Tracker
VariableStartAfter Step 1After Step 3After Step 4Final
Story Points Assigned03,5,23,5,23,5,23,5,2
Story Points Completed003,53,53,5
Velocity00088
Planned Sprint Points00008
Key Insights - 3 Insights
Why do we add only completed story points to calculate velocity?
Velocity counts only completed work to reflect actual team capacity, as shown in step 4 of the execution_table where only done tasks (3 and 5 points) are summed.
Can velocity change every sprint?
Yes, velocity can vary because the team may complete different amounts of work each sprint, which is why velocity is recalculated every sprint (step 4).
Why not use story points assigned for planning instead of velocity?
Story points assigned show estimated effort, but velocity shows real completed work, making it a better guide for planning future sprints (step 5).
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table at step 4. What is the velocity calculated?
A8 story points
B10 story points
C5 story points
D0 story points
💡 Hint
Check the 'Velocity Calculation' column in step 4 of the execution_table.
At which step do we see the team completing only some of the tasks?
AStep 1
BStep 3
CStep 5
DStep 2
💡 Hint
Look at the 'Story Points Completed' column in the execution_table to find partial completion.
If the team completed all tasks, how would velocity change at step 4?
AVelocity would be 5 story points
BVelocity would be 8 story points
CVelocity would be 10 story points
DVelocity would be 0 story points
💡 Hint
Sum all story points assigned (3+5+2) if all tasks are done, check variable_tracker for assigned points.
Concept Snapshot
Story points estimate task effort.
Velocity = sum of completed story points in a sprint.
Velocity helps plan realistic future sprint workloads.
Only completed points count toward velocity.
Velocity changes each sprint based on actual work done.
Full Transcript
In Agile, teams estimate tasks using story points to represent effort. During a sprint, the team works on these tasks. At sprint end, they count only the story points of tasks fully completed. This sum is called velocity. Velocity shows how much work the team can finish in a sprint. Teams use velocity to plan how many story points to take on in the next sprint, aiming for a realistic workload. Velocity changes each sprint depending on actual completed work. This helps teams improve planning and delivery over time.