Audited ·Last updated 27 Jul 2026·2 citations·Tier 3·0 uses

Gallons to Liters Calculator

Convert US or imperial gallons to liters using the exact NIST-defined factor - ideal for aquarium, pool, and tank-fill sizing.

Gallons to Liters Calculator

The volume you want to convert, in gallons. Use an aquarium size, a pool fill target, or a drum capacity. Must be zero or greater.
gal
Gallon type
Converted volume
151.4165
The gallon value expressed in liters, using the selected gallon type (US or imperial).
Liters (from US gallons)
151.4165L
Liters (from imperial gallons)
181.8436L

Background.

A gallons-to-liters calculator earns its keep the moment you buy an aquarium, a fish tank filter, or a pool pump. US pet stores sell tanks by the gallon - a '40-gallon breeder' is a standard size - but the filter's flow rate, the water-conditioner dosage chart, and the heater wattage guide that came in the box are all specified in liters per hour or liters of tank volume, because the equipment is manufactured to a metric standard sold worldwide. Getting the conversion wrong means dosing the wrong amount of dechlorinator or undersizing a filter for the actual water volume, both of which matter to the animals living in the water.

This calculator converts gallons to liters using the exact US liquid gallon (3.785411784 liters, fixed by the 1959 international yard-and-pound agreement and published in NIST Special Publication 811) and, as a second mode, the UK imperial gallon (exactly 4.54609 liters, fixed by the 1985 UK Weights and Measures Act). A 40-gallon US aquarium is 151.41647136 liters; if the same number were read as imperial gallons instead, it would be 181.8436 liters - a 20 percent difference large enough to under-dose a water treatment or under-power a filter. Both results are always shown side by side so you never have to guess which gallon a spec sheet meant.

What is gallons to liters calculator?

A gallon is a US customary and imperial unit of volume; a liter is the metric unit of volume equal to one cubic decimeter (1000 cubic centimeters). Two gallons are in everyday use and they are not the same size: the US liquid gallon is defined as exactly 231 cubic inches (3.785411784 liters), while the UK imperial gallon is defined as exactly 4.54609 liters - about 20 percent larger. Pet-supply, home-improvement, and fuel retail in the United States use the US gallon; the UK, Ireland, and parts of the Commonwealth use the imperial gallon. This calculator converts a gallon value into liters under both definitions simultaneously, so a US-gallon-derived result and an imperial-gallon-derived result are always available together, and the select field simply chooses which one is treated as primary.

How to use this calculator.

  1. Enter the volume in gallons - for example, an aquarium size, a pool-fill target, or a drum or tank capacity.
  2. Choose the gallon type: US gallon (used in the United States) or imperial gallon (used in the UK and parts of the Commonwealth).
  3. Read the converted value in liters, shown to full precision.
  4. Check the liters-from-US and liters-from-imperial fields side by side if your equipment documentation does not specify which gallon it means.

The formula.

L = gal × f

The conversion is purely multiplicative because volume has no offset - zero gallons is zero liters in every system. The calculator multiplies the gallon value by the exact size of one gallon in liters. For the US gallon, that factor is 3.785411784, derived from the historical 231-cubic-inch US gallon combined with the exact 2.54 cm inch fixed by the 1959 international yard-and-pound agreement (231 × 2.54³ cm³ = 3785.411784 cm³ = 3.785411784 L). For the imperial gallon, the factor is 4.54609, fixed directly by the UK Weights and Measures Act 1985. In the worked example, 40 gallons multiplied by 3.785411784 gives 151.41647136 liters if the tank is US-gallon sized; the same 40 gallons multiplied by 4.54609 gives 181.8436 liters if it is imperial-gallon sized - a difference of more than 30 liters on the same nominal tank size. All arithmetic runs through Decimal.js at full precision so the result matches the defined factor exactly rather than drifting the way ordinary floating-point multiplication can.

A worked example.

Example

An aquarium hobbyist buys a US-market '40-gallon breeder' tank and needs the volume in liters to follow a European fish-tank filter's flow-rate chart and a water-conditioner dosage chart printed in milliliters per liter. Entering 40 gallons with the US gallon selected, the calculator multiplies by the exact factor 3.785411784 and returns 151.41647136 liters - about 151.4 liters. If the tank had instead been sized in imperial gallons, the same 40-gallon label would mean 181.8436 liters, nearly 30 liters more water to treat and filter, which is exactly the mix-up this calculator is built to prevent.

gallons40
gallon Typeus

Frequently asked questions.

Why does this calculator offer both a US gallon and an imperial gallon?
Because two different gallons are in active use and they are not the same size. The US liquid gallon is exactly 3.785411784 liters (231 cubic inches, per NIST Special Publication 811), while the UK imperial gallon is exactly 4.54609 liters (per the 1985 UK Weights and Measures Act) - about 20 percent larger. Aquarium, pool, and fuel-tank specifications almost always mean the US gallon if the product is sold in the United States and the imperial gallon if it is sold in the UK or parts of the Commonwealth. This calculator computes and displays both every time so you never have to guess which one a label meant.
How many liters are in a 40-gallon aquarium?
A US 40-gallon aquarium is 151.41647136 liters (40 × 3.785411784), which rounds to about 151.4 liters in practice. If the tank were instead sized using imperial gallons, 40 gallons would be 181.8436 liters - roughly 30 liters more. Always confirm which gallon your tank manufacturer used before ordering a filter, heater, or water-conditioner dose sized to the wrong volume.
Is the gallons-to-liters conversion factor exact, or is it rounded?
It is exact, not rounded. The US gallon is defined as precisely 231 cubic inches, which combined with the exact 2.54 cm inch (fixed by the 1959 international yard-and-pound agreement) gives 3.785411784 liters with no remainder. The imperial gallon is likewise fixed at exactly 4.54609 liters by UK statute. This calculator runs the multiplication in Decimal.js at full precision and rounds only at the final display step, so results match the defined factor to ten decimal places.
My pool company quoted the fill volume in gallons - how many liters is that for my metric pump?
Multiply the gallon figure by 3.785411784 if the quote is in US gallons (the standard in the United States), or by 4.54609 if it is in imperial gallons (common in the UK and parts of the Commonwealth). Pool pump flow rates and chemical dosing charts sold outside the US are almost always specified in liters or liters per hour, so converting the fill volume correctly before sizing a pump or calculating a chlorine dose avoids under- or over-treating the water.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon