Converting between gallons, liters, cups, and fluid ounces is one of those small problems that pops up constantly — a recipe scaled for a US kitchen, a fuel tank spec from a European car, a fish-tail pond measured in cubic feet, or a water bill quoted in gallons. This volume converter calculator from Smekys instantly translates any amount between eight common units so you never have to trust a fuzzy memory of "a quart is roughly a liter."
Type in a value, pick the unit you have, pick the unit you want, and the result card updates immediately — with the same volume shown in liters, milliliters, and US gallons alongside your chosen target unit. All results are rounded to two decimal places for readability.
How to Use
- Enter the Volume Value — the amount you want to convert. It must be zero or positive; negative volumes have no physical meaning.
- Choose the From Unit code — the number matching your starting unit: 1 = milliliter (ml), 2 = US fluid ounce, 3 = US cup, 4 = US pint, 5 = US quart, 6 = liter, 7 = US gallon, 8 = cubic foot.
- Choose the To Unit code — the number for the unit you want the answer expressed in, using the same 1–8 list. You can pick the same unit to sanity-check your work (it returns the original value).
- Read the Converted Value on the result card. It is highlighted as the headline number, rounded to two decimal places.
- Below it, the card also shows the equivalent volume in Liters, Milliliters, and US Gallons, so if you picked an obscure unit like cubic feet, you still get the everyday conversions without doing extra work.
The engine converts through liters as a pivot: every input unit has a fixed factor to liters, and every output unit has a fixed factor back. Because the chain is purely multiplicative, the math is exact to the precision of the factors themselves.
The Conversion Factors Behind the Calculator
All conversions are anchored to the liter, the metric base unit of volume. The US customary chain is defined as follows, with each entry showing how many liters one unit equals:
- 1 milliliter = 0.001 liters
- 1 US fluid ounce = 0.0295735 liters (29.5735 mL)
- 1 US cup = 0.236588 liters (236.588 mL; 8 fluid ounces)
- 1 US pint = 0.473176 liters (473.176 mL; 2 cups)
- 1 US quart = 0.946353 liters (4 cups, 2 pints)
- 1 US gallon = 3.78541 liters (4 quarts, 8 pints, 16 cups, 128 fluid ounces)
- 1 cubic foot = 28.3168 liters (about 7.48 US gallons)
The formula the calculator uses is simply:
result = value × litersPer(fromUnit) ÷ litersPer(toUnit)
For example, converting 2 cups to milliliters: litersPer(cup) = 0.236588, litersPer(ml) = 0.001, so result = 2 × 0.236588 ÷ 0.001 = 473.18 mL.
A common trap: a US gallon is not the same as a UK (imperial) gallon, which sits near 4.546 liters. This calculator uses US units throughout, matching what American recipes, fuel stations, and hardware stores expect.
Examples
Example 1 — Cooking from a European recipe. A bread recipe calls for 500 milliliters of water, but your measuring cups are marked in US cups. Convert 500 mL to cups: result = 500 × 0.001 ÷ 0.236588 = 2.11 cups, so you would measure a little over 2 cups. The same card shows 0.50 liters and 0.13 gallons for cross-checking.
Example 2 — Fuel economy on an imported car. Your diesel car's tank holds 55 liters. In gallons, that is 55 ÷ 3.78541 ≈ 14.53 gallons. If fuel is $3.80 per gallon, a full tank costs roughly $55.20, and an 80% fill-up is about $44. Use this to budget long trips instead of guessing.
Example 3 — A backyard pond. You dig a pond that holds 1,000 cubic feet and want to know how many gallons of water a pump must move. Convert 1,000 cubic feet: 1 cubic foot is 28.3168 liters, so the pond is 28,316.8 liters, or 28316.8 ÷ 3.78541 ≈ 7,480.5 gallons. Pool pump sizing charts are usually rated in gallons per hour, so this is the number to match.
Example 4 — Large industrial orders. A beverage supplier buys 1,000,000 liters of syrup per year. In gallons that is 1,000,000 ÷ 3.78541 ≈ 264,172.18 gallons. The calculator handles volumes this large without rounding artifacts, which matters when contracts are priced to the tenth of a gallon.
FAQ
How many liters are in a US gallon?
Exactly 3.78541 liters. A US gallon is defined as 231 cubic inches, which works out to 3.785411784 liters; this calculator uses the rounded 3.78541 factor, accurate to five decimal places, and displays the result rounded to two decimal places.
How many cups are in a quart?
There are exactly 4 US cups in 1 US quart, and 4 quarts in a US gallon — so a gallon holds 16 cups. This makes the US liquid system a clean power-of-two chain: gallon → quart → pint → cup → fluid ounce, halving at each step.
Is a US gallon the same as a UK gallon?
No. A US gallon is 3.78541 liters, while an imperial (UK) gallon is about 4.546 liters — roughly 20% larger. This calculator uses US customary units, which is what most American recipes, fuel pumps, and product labels assume.
How do I convert cubic feet to gallons?
Multiply cubic feet by 7.4805. One cubic foot equals 28.3168 liters, and dividing by 3.78541 liters per gallon gives 7.4805 gallons. Pool, aquarium, and pump sizing are the most common places you need this number.
How many milliliters are in a cup?
One US cup equals 236.588 milliliters. A rounded 240 mL is often used on nutrition labels, but for precise cooking — especially baking by weight — use the exact 236.588 mL figure.
What is the difference between a fluid ounce and a regular ounce?
A fluid ounce (fl oz) measures volume — 29.5735 mL — while an ounce (oz) measures weight, about 28.35 grams. They coincide closely only for water-like liquids. This calculator converts volume units only; for weight you need a mass converter.
Can this calculator handle very large volumes like tank farms?
Yes. The engine uses ordinary floating-point arithmetic with no built-in cap, so volumes of 1,000,000 liters and beyond convert cleanly. The only hard limit is the physical meaning: the value must be zero or positive, since negative volumes are rejected.
Disclaimer
This volume converter calculator from Smekys is provided for informational purposes only and does not constitute professional engineering, culinary, or commercial advice. Conversion factors are approximations of US customary and metric definitions; always double-check critical measurements — such as fuel, medication dosages, or construction volumes — against primary reference standards before relying on them for safety- or cost-sensitive decisions.