The term “gallon” usually refers to the U.S. liquid gallon, which is a measurement of volume used widely in the United States and some other countries. In certain cases, you may want to convert to gallons from some other common unit of liquid volume measurement, such as pints, quarts, milliliters, or liters. Or, you might want to calculate the volume of a cylindrical or cube-shaped container and convert that result to gallons. In any case, grab your calculator!

Method 1
Method 1 of 3:

Converting Imperial and Metric Measurements

  1. 1
    Divide by 128 to convert fluid ounces to gallons. There are 128 U.S. fluid ounces in one U.S. liquid gallon. So, if you know the volume of a liquid or a container in fluid ounces, simply divide the amount by 128 to convert to gallons.[1]
    • Example: The volume of a tank is 931 U.S. fluid ounces. Calculate the volume of the same tank in gallons.
      931 oz * (1 gallon / 128 oz) = 931 / 128 = 7.27 gallons
      Final answer: 7.27 gallons
    • Imperial measurements can be confusing! There are “dry” ounces and gallons used to measure mass, and “liquid” ounces and gallons used to measure volume. There are also U.K. fluid ounces and gallons that don’t match their U.S. counterparts. The focus of this article is the U.S. liquid gallon.
  2. 2
    Divide U.S. liquid cups by 16 to determine gallons. As with ounces and gallons, keep in mind that there’s a difference between a liquid cup and a dry measure cup! To calculate the number of gallons from the number of (liquid) cups, simply divide the amount by 16.[2]
    • Example: The volume of a container is 88 cups. Calculate the number of gallons.
      88 cups * (1 gallon / 16 cups) = 88 / 16 = 5.5 gallons
      Final answer: 5.5 gallons
    Advertisement
  3. 3
    Convert pints to gallons by dividing by 8. A single U.S. fluid pint equals 2 U.S. fluid cups, which means there are 8 pints in every gallon. To find the volume in gallons when you have the volume in pints, divide the amount in pints by 8.[3]
    • Example: The volume of a tank is 72 pints. Find the number of gallons.
      72 pints = (1 gallon / 8 pints) = 72 / 8 = 9 gallons
      Final answer: 9 gallons
  4. 4
    Divide by 4 to convert quarts to gallons. The name quart derives from “quarter gallon,” so this one should be easy to remember. Simply divide the volume in quarts by 4 to get the result in gallons.[4]
    • Example: The volume of a tank is 54 quarts. Convert this value into gallons.
      54 quarts * (1 gallon / 4 quarts) = 54 / 4 = 13 gallons
      Final answer: 13 gallons
  5. 5
    Convert the imperial gallon to the metric liter by dividing by 3.79. While the gallon is the most common volume measurement for larger amounts of fluid in the imperial system, the liter handles that role in the metric system. A liter is slightly greater in volume than a quart (which divides by 4 to convert to gallons), so you need to divide by 3.79.[5]
    • Example: The volume of a tank is 8.3 liters. Calculate the volume of the same tank in gallons.
      8.3 liters * (1 gallon / 3.79 liters) = 8.3 / 3.79 = 2.19 gallons
      Final answer: 2.19 gallons
  6. 6
    Divide by 3785 to convert from gallons to milliliters. You might notice that the number of milliliters in a gallon is the same as the number of cubic centimeters in a gallon. This is by design! No matter which system of measurement you prefer, there’s no doubt that the metric system is more logical than the haphazard imperial system.[6]
    • Example: The volume of a tank is 9877 milliliters. Find the volume in gallons.
      9877 milliliters * (1 gallon / 3785 milliliters) = 9877 / 3785 = 2.61 gallons
      Final answer: 2.61 gallons
  7. Advertisement
Method 2
Method 2 of 3:

Converting Cubic Volume Measurements

  1. 1
    Divide by 231 to convert cubic inches to gallons. Remember that you’re using the most common “gallon” here—the U.S. liquid gallon—instead of alternatives like the U.S. dry gallon or U.K. liquid gallon, both of which require different conversions. With that taken care of, you simply need to divide by 231 to get your answer here.[7]
    • Example: The volume of a tank is 3042 cubic inches. Find the volume in gallons.
      3042 cubic inches * (1 gallon / 231 cubic inches) = 3042 / 231 = 13.17 gallons
      Final answer: 13.17 gallons
  2. 2
    Multiply by 7.48 to convert from cubic feet to gallons. A cubic foot has significantly more volume than a gallon, so it's easier to multiply rather than divide in this instance. Alternatively, you can divide by 0.134 to get the same result (for instance, 2 * 7.48 and 2 / 0.134 both equal 14.96).[8]
    • Example: The volume of a tank is 3.5 cubic feet. Find the volume in gallons.
      3.5 cubic feet * (7.48 gallons / 1 cubic foot) = 3.5 * 7.48 = 26.1 gallons
      Final answer: 26.1 gallons
  3. 3
    Convert from cubic yards to gallons by multiplying by 201.97. If you know the volume of a container in cubic yards and need to find that volume in gallons, multiply the number of cubic yards by 201.97. If you don’t need your result to be completely precise, it’s okay to multiply by 200 instead.[9]
    • Example: The volume of a pool is 1.86 cubic yards. Calculate the volume in gallons.
      1.86 cubic yards * (201.97 gallons / 1 cubic yard) = 1.86 * 201.97 = 375.66 gallons
      Final answer: 375.66 gallons
  4. 4
    Determine gallons from cubic meters by multiplying by 264.17. The metric cubic meter is somewhat larger than the imperial cubic yard. Instead of multiplying by just over 200, then, you’ll have to multiply by over 260 in this case—264.17 to be exact.[10]
    • Example: The volume of a pool is 8.12 cubic meters. Find the volume in gallons.
      8.12 cubic meters * (264.17 gallons / 1 cubic meter) = 8.12 * 264.17 = 2145.06 gallons
      Final answer: 2145.06 gallons
  5. 5
    Convert cubic centimeters to gallons by dividing by 3785.41. In other words, there are 3785.41 cubic centimeters in 1 gallon. Use this number to do some quick division if you need to find the volume of a container in gallons when you have the volume in cubic centimeters.[11]
    • Example: The volume of a tank is 7982.09 cubic centimeters. Convert this value into gallons.
      7982.09 cubic centimeters * (1 gallon / 3785.41 cubic centimeters) = 7982.09 / 3785.41 = 2.11 gallons
      Final answer: 2.11 gallons
  6. Advertisement
Method 3
Method 3 of 3:

Calculating the Volume of Various Containers

  1. 1
    Determine the overall shape of the container. Before you figure out how many gallons a container can hold, you have to figure out the three-dimensional shape of the container. Different shapes—such as a cylinder and a cone—require the use of different volume formulas.[12]
    • Common container shapes include rectangular prisms (which include cubes), cylinders, cones, pyramids, and spheres.
    • If the container is made up of multiple regular shapes—for instance, a pyramid on top of a cube—treat each part as a separate container. Determine the volume of each component separately, then add the amounts together to get the total volume.
  2. 2
    Estimate or calculate the volume of an irregularly-shaped container. Some containers—for instance, an oddly-shaped swimming pool—just don’t fit neatly into a regular shape pattern. In many instances, your easiest option is to estimate the volume based on the regular shape the container most closely approximates. For example, if the pool is nearly a rectangular prism, you might just treat it as a rectangular prism.
    • The easiest way to precisely determine the volume of an irregularly-shaped object is by placing it in a graduated cylinder and measuring the change in the water level inside the cylinder. This isn’t practical if you’re trying to figure out the volume of a large container like a swimming pool, though!
  3. 3
    Choose the volume formula to use based on the container’s shape. Each regular shape has a unique volume formula, so make sure you pick the right one! For example:[13]
    • Rectangular prism: L * W * H (L = length, W = width, H = height)
    • Regular pyramid (with a square base): (1/3) * (L * W) * H
    • Cylinder: π * R2 * H (π [pi] = approximately 3.14; R = radius [half of the diameter]; H = height)
    • Cone: (1/3) * π * R2 * H
    • Sphere: (4/3) * π * R3
  4. 4
    Calculate the container’s volume based on its measurements. Plug the appropriate size measurements into the correct formula, then calculate away! For example:[14]
    • Rectangular prism (measurements in inches): 104 [L] * 52 [W] * 98 [H] = 529984 cubic inches
    • Regular pyramid (in meters): (1/3) * 1.92 [L] * 2.3 [W] * 2.1 [H] = 3.09 cubic meters
    • Cylinder (in centimeters): 3.14 [π] * 2712 [R] * 893 [H] = 205930032.82 cubic centimeters
    • Cone (in feet): (1/3) * 3.14 [π] * 2.02 [R] * 2.0 [H] = 8.4 cubic feet
    • Sphere (in meters): (4/3) * 3.14 [π] * 1.753 [R] = 22.45 cubic meters
  5. 5
    Convert the volume measurement into gallons if necessary. With a little quick multiplication or division, you’ll be all finished! Based on the examples above, for instance:[15]
    • Convert from cubic inches to gallons by dividing by 231: 529984 / 231 = 2294.3 gallons
    • Convert from cubic meters to gallons by multiplying by 264.17: 3.09 * 264.17 = 816.29 gallons
    • Convert from cubic centimeters to gallons by dividing by 3785.41: 205930032.82 / 3785.41 = 54400.88 gallons
    • Convert from cubic feet to gallons by multiplying by 7.48: 8.4 * 7.48 = 62.8 gallons
    • Convert from cubic meters to gallons by multiplying by 264.17: 22.45 * 264.17 = 5930.62 gallons
  6. Advertisement

Community Q&A

  • Question
    My pond is 12' wide, 15' long, 2' deep; how many gallons will it hold?
    Donagan
    Donagan
    Top Answerer
    As there are 7.48 gallons in a cubic foot, multiply width by length by depth to find the volume in cubic feet, then multiply by 7.48.
  • Question
    I have an air tank, 12" x 12" x 18", that says it is 10 gallons. Is that correct?
    Donagan
    Donagan
    Top Answerer
    There are 231 cubic inches in a gallon. The tank contains 2,592 cubic inches. 2592 ÷ 231 = 11.22 gallons.
  • Question
    18" H x 13" W x 60" L. How many gallons of water?
    Donagan
    Donagan
    Top Answerer
    Multiply height by width by length. That gives the volume in cubic inches. Then divide by 231. That gives the volume in gallons.
Advertisement

About This Article

Christopher M. Osborne, PhD
Co-authored by:
wikiHow Staff Writer
This article was co-authored by wikiHow staff writer, Christopher M. Osborne, PhD. Christopher Osborne has been a wikiHow Content Creator since 2015. He is also a historian who holds a PhD from The University of Notre Dame and has taught at universities in and around Pittsburgh, PA. His scholarly publications and presentations focus on his research interests in early American history, but Chris also enjoys the challenges and rewards of writing wikiHow articles on a wide range of subjects. This article has been viewed 71,567 times.
1 votes - 20%
Co-authors: 3
Updated: May 17, 2020
Views: 71,567
Categories: Conversion Aids
Advertisement