PDF download Download Article PDF download Download Article

You've got to defuse a bomb by placing exactly 4 gallons (15 L) of water on a sensor. The problem is, you only have a 5 gallon (18.9 L) jug and a 3 gallons (11 L) jug on hand! This classic riddle, made famous in Die Hard 3, may seem impossible without a measuring cup, but it is actually remarkably simple.

Method 1
Method 1 of 2:

Figuring out the Answer (Hints)

PDF download Download Article
  1. Setting the movie aside for the moment, think of the riddle in its most basic terms. What do you know, what's your goal, and what are your options? A simpler way to look at the riddle might be:

    You have two empty water jugs in your hands. One holds 3 gallons of water, the other holds 5 gallons of water. You need to use these two jugs to measure exactly 4 gallons of water. You have an unlimited amount of water to do so.
  2. In order to measure out your 4 gallons, you need to put it somewhere. As John McClane rightly deduces, you couldn't possibly fit it in the 3-gallon jug, which means the right answer must involve getting the right amount of water in the 5-gallon jug.
    Advertisement
  3. The solution does not involve bringing in another jug, or eyeballing the water levels perfectly, or finding fractions of jugs. You have two jugs and an unlimited supply of water. How can you use just those things to get to 4 gallons? More specifically, how can you use 3 and 5 to get to 4?
    • Unlimited water means you can use or pour out as much as you want.
    • You are not able to guess exactly how much water is in the jug unless you fill it all the way up.
  4. Ignore the water and the jugs for a moment if you are still stuck. How can you add or subtract 3's and 5's to get to 4? This is really all you are doing; the numbers just happen to represent gallons. Adding water or dumping it out is really just addition and subtraction.
  5. Advertisement

Method 2
Method 2 of 2:

Getting the Solution (Correct Answers)

PDF download Download Article

Solution 1

  1. There will be, of course, 5 gallons in the 5-jug. You must fill all the gallons up to the top, otherwise you don't actually know how much you have.
  2. You're left with 3 gallons in the 3-jug and 2 gallons in the 5-jug.
  3. You're left with nothing in the 3-jug and 2 gallons in the 5-jug.
  4. You're left with 2 gallons in the 3-jug. And nothing in the 5-jug.
  5. You now have 2 gallons in the 3-jug and 5 in the 5-jug. This means that there is 1 gallon (3.8 L) of space left in the 3-jug.
  6. Fill up the last gallon of space in the 3-jug with the water from the 5-jug. This leaves you with 3 gallons in the 3-jug, and 4 gallons in the 5-jug.
  7. Advertisement

Solution 2

  1. You now have 3 gallons (11.4 L) of water.
  2. You now have nothing in the 3-jug, and 3 gallons (11.4 L) in the 5-jug.
  3. You now have 3 gallons (11.4 L) in the 3-jug and 3 gallons in the 5-jug.
  4. You now have 1 gallon (3.8 L) in the 3-jug and 5 gallons (18.9 L) in the 5-jug. This is because, in the last step, you only had 2 gallons (7.6 L) of space left over, so you could only pour 2 gallons.
  5. You now have nothing in the 3-jug and 1 gallon in the 5-jug
  6. You now have 3 gallons (11.4 L) in the 3-jug and 1 in the 5-jug.
  7. Simply pour over your three gallons into the 5-jug, which only had 1 gallon (3.8 L) in it previously. 1+3=4, and a successfully defused bomb.
  8. Advertisement

Video

Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Article Summary X

      To solve the water jug riddle from Die Hard 3, start by filling a 5-gallon jug completely to the top with water. Then, use that water to fill a 3-gallon jug, so that you’re left with 2 gallons in the larger jug. Next, empty the 3-gallon jug and transfer the water from the 5-gallon jug into it. Once there are 2 gallons of water in the 3-gallon jug, fill the 5-gallon jug again. Finally, pour water from the full 5-gallon jug into the 3-gallon jug until the smaller jug is full, which will leave 4 gallons of water in the 5-gallon jug. To learn how to solve the riddle by filling the 5-gallon jug with the 3-gallon jug, scroll down!

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 772,407 times.

      Reader Success Stories

      • Sean McCluskey

        Nov 7, 2020

        "I saw this movie when it was released, and walked out of the theater baffled. But all better now--thanks, wikiHow!"
      Share your story

      Did this article help you?

      Advertisement