The way I describe it, the piston to wall clearance is the difference between the cylinder bore diameter and the piston diameter. The location on the piston skirt to measure the piston dia is specified by the piston manufacturer.