Scrum velocity indicates how much work (in story points or another unit of estimation) a team can complete on average in one sprint. It's a metric you can use to predict progress, provided you track it consistently and realistically. Velocity isn't about speed in the literal sense, but about the amount of value the team consistently delivers.
Calculating velocity is simple: at the end of each sprint, sum the story points of all 'Done' user stories. Averaged over several sprints, this reveals a trend: your velocity. So:
Velocity=Total number of "Done" story points over number of sprintsNumber of sprints.\text{Velocity} = \frac{\text{Total number of "Done" story points over number of sprints}}{\text{Number of sprints}}.
Important: only fully completed items count. If a story is not yet 'Done', do not partially include it in the calculation.
By knowing the average velocity, a team can reasonably estimate how many story points they can take on in the next sprint. It also helps predict approximately how many sprints will be needed to complete a larger project or a specific part of the backlog. This gives stakeholders an indication of the delivery time, increasing predictability.
Velocity offers value when viewed as a guide for planning and predictability. It is not an absolute measure of how 'good' or 'fast' a team is, but an internal reference point that helps create realistic plans and manage expectations. Use velocity wisely, ensure a stable team, and be aware of the context in which you estimate and deliver stories.