The interval velocity vi of a layer is its own speed; with Δti=2hi/vi the two-way time across it, the root-mean-square velocity down to the base of layer n is
Vrms,n=(∑i≤nΔti∑i≤nvi2Δti)1/2.
The stacking velocity of a reflection is the speed V of the hyperbola t2=t02+x2/V2 that best fits its times in a CMP gather.