Free volume tool

Gallon Calculator

Estimate gallons from common tank and container shapes or convert known volumes directly into US or imperial gallons.

Volume planning

Gallon inputs

Shape-based gallon estimate

Quick examples

Filled gallons

179.53

Total gallons

239.38

Liters

679.60

Cubic meters

0.6796

Related planning tools

What is a gallon calculator?

A gallon calculator estimates liquid capacity or current filled volume in gallons from a container shape or a known volume. It is useful for tanks, troughs, drums, barrels, bins, ponds, stock tanks, process containers, and simple storage spaces where people want a fast answer in gallons instead of raw cubic units.

This tool supports practical shapes like rectangular tanks, vertical cylinders, and horizontal cylinders, plus a known-volume mode for when you already have liters, cubic feet, cubic meters, or another volume unit and just want the gallon conversion.

It also supports US gallons and imperial gallons, which is important because they are not the same size.

Why shape and gallon type both matter

Gallons are a volume unit, so the result depends entirely on the actual container shape and the dimensions you enter. A rectangular tank and a cylinder with similar outside dimensions may not hold the same amount because the geometry is different.

Gallon type matters too. A US gallon is smaller than an imperial gallon, so the same physical container will show a different gallon count depending on which unit system you need.

Fill depth matters whenever the container is not full. That is especially important for tanks in daily use, where people often need the current gallons in the tank, not just the full rated capacity.

Shape changes the capacity

Rectangular, vertical cylindrical, and horizontal cylindrical containers use different geometry.

Fill depth changes the current volume

A partially filled tank can hold far fewer gallons than its full rated capacity.

US and imperial gallons differ

The same container gives different gallon counts depending on the gallon system selected.

Horizontal tanks need better geometry

A horizontal cylinder should use a segment formula for partial fill instead of a simple rectangle shortcut.

How the gallon calculation works

The calculator first finds the container volume in cubic feet using the selected shape and dimensions. It then converts that cubic volume into the selected gallon type and also shows related metric outputs like liters and cubic meters.

Step 1: Choose the shape or known-volume mode

Use the mode that best matches the tank or the volume data you already have.

Step 2: Enter the dimensions or known volume

For shape-based modes, enter the actual inside dimensions whenever possible.

Step 3: Add fill depth when the container is not full

This gives current gallons instead of only full capacity.

Step 4: Review gallon and metric outputs

Use gallons for everyday planning and liters or cubic meters when comparing specs or product data.

Core idea

Gallons = cubic volume x gallon conversion factor

The conversion factor depends on whether you need US gallons or imperial gallons.

The more accurate the inside dimensions and fill depth, the more useful the result will be. That matters especially when you are checking partial-fill levels in real tanks.

Quick reference examples for gallon estimation

These examples show why gallons are best calculated from actual shape and fill data.

ExampleWhy the result changes
Rectangular stock tankThe gallon result comes directly from length, width, height, and the actual fill depth.
Vertical drumA vertical cylinder uses a circular base area, not a rectangular footprint.
Horizontal tank at partial fillA half-full horizontal cylinder does not behave like a simple box and needs a curved segment formula.
Known liters to gallonsKnown-volume mode is useful when you already have a metric volume and just need gallons.
US vs imperial gallon outputThe same physical volume produces different gallon counts depending on the gallon standard chosen.

How to use this gallon calculator

  1. 1

    Choose the shape or known-volume mode

    Pick the mode that best matches the container or the volume data you already have.

  2. 2

    Enter the real dimensions

    Use inside dimensions when possible, because outside measurements can overstate capacity.

  3. 3

    Set the fill depth if the tank is not full

    This helps you estimate current usable gallons instead of only full capacity.

  4. 4

    Choose US or imperial gallons

    Use the gallon type that matches the unit system you need for the job or spec sheet.

  5. 5

    Review gallons and supporting conversions

    Check liters, cubic meters, and fill percentage when you need more than a single gallon figure.

Real-world uses, edge cases, and limitations

Useful for tank and container planning

Helpful for water storage, drums, troughs, stock tanks, process containers, and general liquid capacity checks.

Useful for fill-level checks

Partial-fill results can help with ordering, batching, mixing, and storage planning.

Best with inside dimensions

Wall thickness and shape details can change actual capacity, so inside dimensions usually give a better result.

Real containers are not always perfect shapes

Rounded corners, domed tops, internal hardware, and irregular geometry can make the true capacity differ slightly from a simple shape model.

This tool is practical for everyday planning and conversion work, but the result still depends on how closely the real container matches the chosen shape.

For highly irregular tanks or vessels with unusual geometry, manufacturer-rated capacity or a calibrated tank chart may still be the better final reference.

For many common containers, though, this calculator is a strong first-pass answer for total capacity and current gallons on hand.

Frequently asked questions

What is the difference between US and imperial gallons?
They are different volume units, so the same container will show a different gallon count depending on which one you use.
Can I use this for a partially filled tank?
Yes. Shape-based modes include fill depth so you can estimate current gallons instead of only full capacity.
Why is horizontal tank fill harder to estimate?
Because the liquid cross-section is curved, so partial fill needs a circular segment calculation instead of a simple box formula.
Can I convert liters into gallons here?
Yes. Known-volume mode supports liters, milliliters, cubic feet, cubic inches, cubic meters, and both gallon systems.
Should I use inside or outside dimensions?
Inside dimensions are usually better because they reflect the true usable volume more closely.

Estimate gallons from real container dimensions

Use this gallon calculator to estimate full capacity and current filled gallons from common tank and container shapes, or convert known volumes into gallons directly. It is a practical tool for storage, batching, ordering, and everyday volume planning.