The distance of both rollers from each other or from the roller to the support surface is the crucial dimension for rolling processes for metals, plastics or other materials. In the case of sensitive processes and high material accuracies, the clearance must be checked constantly so that imminent rejection is avoided. The contacting inductive and the non-contact methods are suitable for this. In the case of contacting methods, the sensor is mounted on the outside on the roller guide. The change in clearance is transmitted to a plunger whose position change is measured by the inductive sensor. In the case of the non-contact method, the roller is between the transmitter and receiver of an optical micrometer. The emitted light curtain is partially covered by the roller. The remainder reaches the receiver through the gap. The gap can be calculated based on the light quantity measurement.