How it works
Enter a volume, pick the unit it’s in, and pick the unit you want. The answer is shown in that unit, with the same volume in liters, milliliters, US gallons, and UK gallons listed below it.
Every conversion goes through milliliters. A volume in US gallons is turned into milliliters first, then into the unit you asked for. The conversion factors are exact, so the only rounding is in the answer you see.
US and UK measures with the same name are different sizes, so every one is labeled. A UK gallon is about 20% bigger than a US gallon. For cups, tablespoons, and teaspoons, use the cooking measurement converter.
The formula
milliliters = volume × (milliliters in one “from” unit)
answer = milliliters ÷ (milliliters in one “to” unit)
| Unit | In milliliters | Notes |
|---|---|---|
| Liter (L) | 1,000 | |
| Cubic centimeter (cm³) | 1 | The same as a milliliter |
| Cubic meter (m³) | 1,000,000 | 1,000 liters |
| Cubic inch (in³) | 16.387064 | 2.54 cm cubed |
| Cubic foot (ft³) | 28,316.846592 | 1,728 cubic inches |
| Cubic yard (yd³) | 764,554.857984 | 27 cubic feet |
| US fluid ounce (US fl oz) | 29.5735295625 | 1/128 of a US gallon |
| US pint (US pt) | 473.176473 | 16 US fl oz |
| US quart (US qt) | 946.352946 | 2 US pints |
| US gallon (US gal) | 3,785.411784 | 231 cubic inches, 4 US quarts |
| UK fluid ounce (UK fl oz) | 28.4130625 | 1/20 of a UK pint |
| UK pint (UK pt) | 568.26125 | 20 UK fl oz |
| UK quart (UK qt) | 1,136.5225 | 2 UK pints |
| UK gallon (UK gal) | 4,546.09 | 4 UK quarts |
Every number in the table is exact.
Worked example
Want this with your own numbers? See Show the work above.
How many liters is 5 US gallons?
- Turn US gallons into milliliters: 5 × 3,785.411784 = 18,927.05892 mL.
- Turn milliliters into liters: 18,927.05892 ÷ 1,000 = 18.9271 L.
And the other way. How many US fluid ounces are in a 2-liter bottle?
- Turn liters into milliliters: 2 × 1,000 = 2,000 mL.
- Turn milliliters into US fluid ounces: 2,000 ÷ 29.5735295625 = 67.628 US fl oz.
FAQ
How many liters are in a gallon?
It depends on the gallon. A US gallon is exactly 3.785411784 liters, about 3.79. A UK (imperial) gallon is exactly 4.54609 liters, about 4.55. So 10 US gallons is 37.8541 liters, and 10 UK gallons is 45.4609 liters.
Why is a UK gallon bigger than a US gallon?
They’re defined differently. The US gallon is exactly 231 cubic inches (3.785411784 liters), and the UK gallon is exactly 4.54609 liters. So a UK gallon is about 1.2009 US gallons. UK pints and quarts are bigger by the same amount, because each is the same fraction of its own gallon.
Is a US fluid ounce the same as a UK fluid ounce?
No, and the difference goes the other way: a US fluid ounce (29.5735 mL) is slightly bigger than a UK fluid ounce (28.4131 mL). But a UK pint holds 20 UK fluid ounces and a US pint holds only 16 US fluid ounces, so the UK pint is still the bigger pint: 568.26 mL against 473.18 mL.
How many cubic feet is a cubic meter?
About 35.3147. A cubic foot is exactly 28,316.846592 mL (0.3048 m cubed), so a cubic meter, 1,000,000 mL, is 1,000,000 ÷ 28,316.846592 = 35.3147 cubic feet.
Is a milliliter the same as a cubic centimeter?
Yes. A liter is defined as a cubic decimeter, a cube 10 cm on each side, which holds 1,000 cubic centimeters. So 1 mL and 1 cm³ are exactly the same volume.
Sources
- Exact definitions of the US gallon, quart, pint, and fluid ounce, and of cubic inches, feet, and yards: NIST Handbook 44 (2026), Appendix C, General Tables of Units of Measurement
- Conversion factors for volume, including the imperial gallon and fluid ounce: NIST Special Publication 811, Guide for the Use of the International System of Units, Appendix B.9
- The UK gallon, quart, pint, and fluid ounce in UK law: Weights and Measures Act 1985, Schedule 1
Cite this page
APA (7th edition)
Mathlark. (2026, October 3). Volume converter. https://mathlark.com/conversions/volume-converter/
MLA (9th edition)
"Volume Converter." Mathlark, 3 Oct. 2026, mathlark.com/conversions/volume-converter/.