The present invention provides an equipment for measuring the vertical distance or pitch between a plurality of thin substrates inside a container body, including an optical component to transmit a light beam to a thin substrate in the container body and receive light beam reflected from the thin substrate, a scanning device to drive the optical component to move along vertical direction of the thin substrates for measuring the vertical distance or pitch between the plurality of thin substrates in the container body, and a rotation base to carry and rotate the container body to a plurality of angles for the plurality of thin substrates inside the container body to be measured from different angular positions.