A quart is one fourth of a gallon. Dan drank half a quart of milk. What fraction of a gallon did Dan drink?

1/4 * 1/2 = 1/8

To find out what fraction of a gallon Dan drank, we need to first determine how much milk is in half a quart.

Since a quart is one fourth of a gallon, we can calculate that half a quart is one half of one fourth, or one-eighth of a gallon.

Thus, Dan drank one-eighth of a gallon of milk. So, the fraction of a gallon that Dan drank is 1/8.