Measurement of gasket size is usually based on the length, height, and width of the pipe you need to seal. Measurement also depends on which industry code applies—for example, the shape of the gasket, which could be round, oval, rectangular, etc.