To convert pints to gallons, you can use the conversion factor that 8 pints equals 1 gallon.
To find out how many gallons are in 42 pints, you can divide the number of pints by the number of pints per gallon:
\[ \text{Gallons} = \frac{\text{Pints}}{8} = \frac{42}{8} = 5.25 \]
So, 42 pints is equal to 5.25 gallons.