Convert volume measurements between liters, gallons and cubic units. Select the units that match your tank, container or other volume measurement, then enter its value.
Unit converter
Volume Converter
Convert liters, milliliters, gallons and cubic units.
US units are liquid measures; UK units are imperial. One cc equals one mL.
For volume conversions on your phone, Unit Converter is free to download and includes a Volume converter.
How to use this tool
- Choose the original unit in From and the unit you need in To. For gallons, choose US liquid or UK Imperial to match your measurement.
- Enter the volume in Value.
- Read Converted value below. Valid entries update automatically; you can also click Convert.
Understanding volume and capacity
Volume measures the space that something occupies in three dimensions. Length measures one direction, area measures a surface, and volume includes depth or height as well. A cubic meter, written m³, is the volume of a cube with edges one meter long.
Capacity describes how much a container can hold. It uses the same volume units, although liters and gallons are often more familiar on tank specifications than cubic meters or cubic feet. A volume converter connects those measurements, so a capacity given in one unit can be compared with a specification written in another.
How cubic units relate to liters
The liter is another name for a cubic decimeter: the volume of a cube with edges one tenth of a meter long. It is therefore directly related to cubic units rather than being a separate kind of measurement. Liters can describe volumes of liquids, solids or gases.
- Cubic meter (m³)
- One cubic meter equals 1,000 liters. It is useful for larger volumes, including storage spaces and water tanks.
- Liter (L)
- One liter equals 1,000 milliliters or 1,000 cubic centimeters.
- Milliliter (mL)
- One milliliter equals one cubic centimeter (cm³). The abbreviation cc also means cubic centimeter.
Cubic-unit conversions account for all three dimensions. A meter contains 100 centimeters along each edge, so a cubic meter contains 100 × 100 × 100, or one million, cubic centimeters. The length conversion factor is cubed.
From dimensions to a volume measurement
For a rectangular container, volume comes from multiplying its length, width and height:
Volume = length × width × height
All three measurements must use the same length unit. Dimensions in meters produce cubic meters; dimensions in feet produce cubic feet. When finding capacity, use the container’s internal dimensions, since the space taken up by its walls cannot hold contents. For a partly filled rectangular tank, the liquid’s depth replaces the full internal height.
Once the volume is known, changing cubic meters to liters means multiplying by 1,000. To convert cubic feet to liters, multiply by 28.316846592. Dividing by the corresponding factor converts in the other direction. This connects the cubic measurement obtained from dimensions with the capacity units used on tank and container specifications.
Converting liters to gallons: US and UK units
The US liquid gallon and the UK Imperial gallon are different sizes. One US liquid gallon is exactly 3.785411784 liters; one Imperial gallon is exactly 4.54609 liters. Converting liters to gallons therefore requires the gallon standard as well as the volume.
US liquid gallons = liters ÷ 3.785411784
UK Imperial gallons = liters ÷ 4.54609
In both systems, a gallon contains four quarts or eight pints. Because the gallons differ, their quarts and pints differ too. Fluid ounces have an additional distinction: a US gallon contains 128 US fluid ounces, while an Imperial gallon contains 160 Imperial fluid ounces.
The converter labels these choices US and UK so you can match the unit on the original specification. Its oil-barrel unit is the petroleum barrel, defined as 42 US liquid gallons.
More tools: Browse all calculators and unit converters.
Take volume conversions with you
Keep volume and capacity conversions close at hand with Unit Converter. Download it free from the App Store or Google Play.

