Volume Converter

Convert between litres, millilitres, both gallons, US fluid ounces and the cubic units. Free, and it tells you which gallon it means.

How it works

Every unit in this converter carries one number, its size in liters. The liter is the base, and its own number is 1. A milliliter is 0.001. A US gallon is 3.785411784.

A conversion is two steps. The tool multiplies your value by the number of the unit you entered, which gives the volume in liters. It then divides by the number of the unit you asked for.

result = value * fromFactor / toFactor

  1. Type the number into the first field.
  2. Choose the unit you have, and the unit you want.
  3. Read the converted volume in the second field.
  4. Use the swap button to turn the pair around.

Both fields accept a number. Type into the second field and the first one follows, so a conversion runs in either direction.

Nine units are available: liter, milliliter, cubic meter, cubic centimeter, cubic inch, cubic foot, US gallon, imperial gallon and US fluid ounce. The two gallons are separate units, because they are different volumes.

A result is rounded to 12 significant digits. The whole conversion runs in your browser.

Worked examples

A 50 liter fuel tank in gallons

50 liters is 13.2086026179 US gallons. The same tank is 10.998462415 imperial gallons.

One volume, two answers. The imperial gallon is larger, so it takes fewer of them to fill the tank. Read it the other way and 20 US gallons are 75.70823568 liters.

A 500 milliliter bottle in US fluid ounces

500 milliliters is 16.9070113509 US fluid ounces. A full liter is 33.8140227018 US fluid ounces, and 2 liters are 67.6280454037 US fluid ounces.

Read it the other way and a 12 US fluid ounce can is 354.88235475 milliliters, while 8 US fluid ounces are 236.5882365 milliliters.

Frequently asked questions

How many liters are in a gallon?

That depends on the gallon. A US gallon is 3.785411784 liters and an imperial gallon is 4.54609 liters. Both numbers are exact. One liter is 0.264172052358 US gallons, or 0.219969248299 imperial gallons.

Why do the US gallon and the imperial gallon differ?

They were defined from different things and never reconciled. The US gallon is exactly 231 cubic inches, which this converter confirms: enter 231 cubic inches and the result is 1 US gallon. The imperial gallon is defined directly in metric units as exactly 4.54609 liters. One imperial gallon is 1.2009499255 US gallons, so an imperial gallon holds about a fifth more.

How many milliliters are in a US fluid ounce?

29.5735295625 milliliters, and that number is exact. One liter is 33.8140227018 US fluid ounces, and one US gallon is exactly 128 US fluid ounces. The imperial fluid ounce is a different volume, and this converter does not offer it.

How large is a cubic foot?

28.316846592 liters, which is 7.48051948052 US gallons and exactly 1,728 cubic inches. A cubic meter is 1,000 liters exactly, and 35.3146667215 cubic feet.

Does the converter offer cups, pints or tablespoons?

No. The units are liter, milliliter, cubic meter, cubic centimeter, cubic inch, cubic foot, US gallon, imperial gallon and US fluid ounce. A cup has no single agreed size, so a recipe is safer converted through the fluid ounce or the milliliter.

Is anything I type stored?

No. There is no account, and nothing you type reaches a server. The application is stored in the browser after your first visit, so the converter works with no internet connection. No result is written down.

Good to know

A milliliter and a cubic centimeter are the same volume. Enter 1 cubic centimeter and the result is 1 milliliter, with no rounding. The liter is defined as one cubic decimeter, a cube 10 centimeters on a side.

Common volume conversions:

  • 1 liter = 0.264172052358 US gallons
  • 1 US gallon = 3.785411784 liters
  • 1 liter = 0.219969248299 imperial gallons
  • 1 imperial gallon = 4.54609 liters
  • 1 imperial gallon = 1.2009499255 US gallons
  • 1 US fluid ounce = 29.5735295625 milliliters
  • 1 liter = 33.8140227018 US fluid ounces

Check which gallon a figure uses. A car rated at 40 miles per gallon in the United Kingdom is not the same car as one rated at 40 miles per gallon in the United States, because the gallon behind the number is larger. The Fuel Consumption Converter keeps the two apart.

The nine converters share one workspace, so a value typed here is still in the field when you open another measurement. For the sides of the container rather than what it holds, use the Length Converter.