Gallon Calculator

Convert and calculate gallons quickly for everyday volume measurements.

Note: US gallon (3.78541 L) and UK/Imperial gallon (4.54609 L) are different sizes.

Examples: 1 US gallon = 3.785 liters · 5 US gallons = 18.927 liters · Volume from dimensions assumes a full container.

What This Gallon Calculator Does

This calculator converts between gallons and other common volume units including liters, quarts, pints, cups, fluid ounces, and cubic inches. It also calculates the total volume of a rectangular container based on its dimensions, making it useful for both conversion and estimation tasks.

How the Volume Calculations Work

The calculator uses standard US liquid volume conversions:

For the container volume calculation, the tool multiplies the length, width, and height (in inches) to get cubic inches, then divides by 231 to convert to gallons. This assumes a rectangular shape with straight sides.

How to Use the Calculator

You have two input options:

  1. Enter a value in gallons — The tool instantly converts to all supported units.
  2. Enter container dimensions — Provide length, width, and height in inches to estimate the total gallon capacity.

Both inputs work independently. You can use one or both depending on your task.

Example: Estimating Container Capacity

Suppose you have a storage bin that measures 24 inches long, 18 inches wide, and 12 inches tall. Enter these dimensions into the calculator:

This tells you the bin holds roughly 22.4 gallons, which helps determine whether it can hold a specific quantity of liquid or granular material.

Understanding Your Results

The conversion results show the equivalent volume in each unit. For example, 5 gallons converts to:

The container volume result is an estimate. Real-world containers may have slightly different internal dimensions, rounded corners, or tapered sides that affect actual capacity.

Common Mistakes to Avoid

Practical Use Cases

Limitations

FAQ

How many liters are in a gallon?

One US liquid gallon equals 3.78541 liters. This is the standard conversion used in the United States.

What is the difference between a US gallon and a UK gallon?

A US liquid gallon is 3.785 liters. A UK (imperial) gallon is 4.546 liters, which is about 20% larger. This calculator uses US gallons only.

Can I use this calculator for dry gallons?

No. This calculator uses US liquid gallons. US dry gallons are a different unit used for measuring dry goods like grains, and the conversion factors are not the same.

How accurate is the container volume estimate?

The calculation is mathematically accurate for a perfect rectangular shape. Real containers may vary slightly due to manufacturing tolerances, rounded corners, or tapered sides. Use the result as a close estimate, not an exact measurement.

What units can I convert to and from?

The calculator converts gallons to liters, quarts, pints, cups, fluid ounces, and cubic inches. It also estimates gallon capacity from container dimensions.