Pipeline stalls
A stall is the delay in cycles caused due to any of the hazards mentioned above.
1/(1+pipeline stall per instruction)* Number of stages
So what is the speed up for an ideal pipeline with no stalls?
Number of cycles needed to initially fill up the pipeline could be included in computation of average stall per instruction.