How to Solve the Water Jug Riddle from Die Hard 3

Download ArticleDownload 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)

Download Article
  1. How.com.vn English: Step 1 Simplify the question and your options.
    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. How.com.vn English: Step 2 Determine where you will keep the 4 gallons of water.
    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. How.com.vn English: Step 3 Know that, like all good riddles, you have everything you need for a solution.
    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. How.com.vn English: Step 4 Realize that this is, at heart, a simple math problem.
    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)

Download Article

Solution 1

  1. How.com.vn English: Step 1 Fill the 5-jug up completely.
    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. How.com.vn English: Step 2 Use the water from the 5-jug to fill up the 3-jug.
    You're left with 3 gallons in the 3-jug and 2 gallons in the 5-jug.
  3. How.com.vn English: Step 3 Pour out the 3-gallon jug.
    You're left with nothing in the 3-jug and 2 gallons in the 5-jug.
  4. How.com.vn English: Step 4 Transfer the water from the 5-jug to the three jug.
    You're left with 2 gallons in the 3-jug. And nothing in the 5-jug.
  5. How.com.vn English: Step 5 Fill up the 5-jug completely.
    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. How.com.vn English: Step 6 Use the water from the 5-jug to fill up the 3-jug.
    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. How.com.vn English: Step 1 Fill the 3-jug completely with water.
    You now have 3 gallons (11.4 L) of water.
  2. How.com.vn English: Step 2 Transfer this water into the 5-jug.
    You now have nothing in the 3-jug, and 3 gallons (11.4 L) in the 5-jug.
  3. How.com.vn English: Step 3 Re-fill the 3-jug with water.
    You now have 3 gallons (11.4 L) in the 3-jug and 3 gallons in the 5-jug.
  4. How.com.vn English: Step 4 Fill the 5-jug with water from your 3-jug.
    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. How.com.vn English: Step 5 Pour out the 5-jug and refill it with your 1 gallon.
    You now have nothing in the 3-jug and 1 gallon in the 5-jug
  6. How.com.vn English: Step 6 Fill up the 3-jug.
    You now have 3 gallons (11.4 L) in the 3-jug and 1 in the 5-jug.
  7. How.com.vn English: Step 7 Transfer the 3 gallons (11.4 L) of water into the 5-jug to end up with 4 gallons (15.1 L).
    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.[1]
  8. Advertisement

Video

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 34 people, some anonymous, worked to edit and improve it over time. This article has been viewed 751,133 times.
      69 votes - 80%
      Co-authors: 34
      Updated: May 23, 2022
      Views: 751,133
      Categories: Word Games
      Article SummaryX

      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 751,133 times.

      Reader Success Stories

      • How.com.vn English: Sean McCluskey

        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, How.com.vn!"
      Share your story

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement