Bird
Raised Fist0
Software Engineeringknowledge~6 mins

Story points and velocity in Agile in Software Engineering - Full Explanation

Choose your learning style10 modes available
Introduction
Teams often struggle to estimate how much work they can complete in a given time. Without a clear way to measure effort and progress, planning becomes guesswork and deadlines can be missed.
Explanation
Story Points
Story points are a way to measure the effort needed to complete a task or user story. Instead of using hours, teams assign points based on complexity, risk, and amount of work. This helps avoid the trap of inaccurate time estimates and focuses on relative effort.
Story points measure effort by comparing tasks, not by exact time.
Velocity
Velocity is the total number of story points a team completes in one sprint or iteration. It shows how much work the team can handle regularly. Tracking velocity over time helps teams plan future sprints more realistically.
Velocity shows the team's actual work capacity per sprint.
Using Story Points and Velocity Together
By estimating tasks with story points and measuring velocity, teams can predict how many tasks they can finish in upcoming sprints. This improves planning, sets realistic goals, and helps manage stakeholder expectations.
Combining story points and velocity enables better sprint planning.
Benefits of Story Points and Velocity
These tools encourage team collaboration on estimates, reduce pressure to guess exact hours, and adapt to changes in team speed. They also help identify when a team is overloaded or when processes can improve.
Story points and velocity support flexible, team-based planning.
Real World Analogy

Imagine a group of friends packing boxes for a move. Instead of guessing how long each box takes, they rate boxes by how heavy or tricky they are to pack. After a few rounds, they see how many points they usually pack in an hour and use that to plan the rest of the move.

Story Points → Rating each box by difficulty and size instead of exact packing time
Velocity → How many points worth of boxes the friends pack in one hour
Using Story Points and Velocity Together → Planning how many boxes they can pack in the next hour based on past packing speed
Benefits of Story Points and Velocity → Avoiding stress from guessing exact times and adjusting plans if packing goes faster or slower
Diagram
Diagram
┌─────────────┐      ┌─────────────┐      ┌─────────────┐
│ Story Points│─────▶│  Velocity   │─────▶│ Sprint Plan │
│ (Effort)    │      │(Points done)│      │ (Work load) │
└─────────────┘      └─────────────┘      └─────────────┘
Diagram showing how story points lead to velocity, which then informs sprint planning.
Key Facts
Story Points → A unit to estimate the relative effort of a task based on complexity and work.
Velocity → The total story points completed by a team in one sprint.
Sprint → A fixed time period in Agile during which a set of work is completed.
Sprint Planning → The process of deciding which tasks to complete in the upcoming sprint.
Common Confusions
Story points represent exact hours of work.
Story points represent exact hours of work. Story points measure relative effort, not exact time; different teams may assign points differently.
Velocity is a fixed number that never changes.
Velocity is a fixed number that never changes. Velocity varies over time and reflects the team's current capacity, which can improve or decline.
Summary
Story points help teams estimate work by comparing effort, not by guessing hours.
Velocity tracks how many story points a team completes each sprint to measure capacity.
Using both together improves planning and helps teams set realistic goals.

Practice

(1/5)
1. What do story points represent in Agile project management?
easy
A. The deadline for completing a project
B. The exact number of hours needed to finish a task
C. A relative measure of effort required to complete a task
D. The total number of tasks in a sprint

Solution

  1. Step 1: Understand story points concept

    Story points are used to estimate how much effort a task will take compared to other tasks, not exact hours.
  2. Step 2: Differentiate from time estimates

    Unlike hours, story points are relative and help teams compare tasks easily.
  3. Final Answer:

    A relative measure of effort required to complete a task -> Option C
  4. Quick Check:

    Story points = relative effort [OK]
Hint: Story points measure effort, not exact time [OK]
Common Mistakes:
  • Confusing story points with hours
  • Thinking story points count tasks
  • Mixing story points with deadlines
2. Which of the following best defines velocity in Agile?
easy
A. The total story points completed in a sprint
B. The time taken to complete a single task
C. The number of team members working on a sprint
D. The number of meetings held during a sprint

Solution

  1. Step 1: Identify velocity meaning

    Velocity is the sum of story points completed by the team in one sprint.
  2. Step 2: Exclude unrelated options

    Team size, task time, and meetings do not define velocity.
  3. Final Answer:

    The total story points completed in a sprint -> Option A
  4. Quick Check:

    Velocity = completed story points [OK]
Hint: Velocity sums completed story points per sprint [OK]
Common Mistakes:
  • Confusing velocity with team size
  • Thinking velocity is task duration
  • Mixing velocity with number of meetings
3. A team completed tasks with story points: 3, 5, 2, and 8 in a sprint. What is their velocity?
medium
A. 20
B. 18
C. 10
D. 8

Solution

  1. Step 1: Add all completed story points

    Sum = 3 + 5 + 2 + 8 = 18
  2. Step 2: Confirm velocity definition

    Velocity is total story points done in sprint, so 18 is correct.
  3. Final Answer:

    18 -> Option B
  4. Quick Check:

    3+5+2+8 = 18 [OK]
Hint: Add all completed story points for velocity [OK]
Common Mistakes:
  • Adding incorrectly
  • Choosing highest single story point
  • Confusing velocity with number of tasks
4. A team planned 30 story points for a sprint but completed only 22. What is the velocity and what does it indicate?
medium
A. Velocity is 22; team completed less than planned
B. Velocity is 30; team met the plan
C. Velocity is 52; sum of planned and completed
D. Velocity is 8; difference between planned and completed

Solution

  1. Step 1: Identify velocity from completed points

    Velocity equals story points actually completed, which is 22.
  2. Step 2: Interpret velocity vs plan

    Since 22 is less than planned 30, team completed fewer points than expected.
  3. Final Answer:

    Velocity is 22; team completed less than planned -> Option A
  4. Quick Check:

    Velocity = completed points = 22 [OK]
Hint: Velocity = completed points, not planned [OK]
Common Mistakes:
  • Using planned points as velocity
  • Adding planned and completed points
  • Using difference as velocity
5. If a team's average velocity is 25 story points per sprint, how many sprints will they need to complete a backlog of 120 story points?
hard
A. 3
B. 4
C. 6
D. 5

Solution

  1. Step 1: Calculate number of sprints needed

    Divide total backlog points by average velocity: 120 ÷ 25 = 4.8 sprints.
  2. Step 2: Round up to whole sprints

    Since partial sprints are not practical, round up to 5 sprints.
  3. Final Answer:

    5 -> Option D
  4. Quick Check:

    120/25 ≈ 5 sprints [OK]
Hint: Divide backlog by velocity, round up [OK]
Common Mistakes:
  • Rounding down instead of up
  • Using velocity as planned points
  • Ignoring partial sprint calculation
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard