Volume Converter
Convert between millilitres, litres, cups, pints, gallons and cubic units — with the US and imperial sizes kept apart.
What this tool does
Volume Converter works from a table of twenty units: millilitre, centilitre, decilitre, litre and cubic metre, alongside teaspoon, tablespoon, fluid ounce, cup, pint, quart and gallon, plus cubic inch, cubic foot and the barrel. Type a bare number and the From and To selects decide the pair. Write the unit into the line instead and the line wins — "500 ml to cups" is read as a whole instruction and overrides both selects. Every line is converted on its own, so a pasted column of amounts comes back as a column of results.
Where one word names two different sizes, a bare unit here means the American one. Pint, quart, gallon, cup and fluid ounce all resolve to the US measure, and the imperial versions must be asked for by name: "1 UK pint to fl oz (UK)", or "imperial gallon". The gap is not small — a US pint is 473.176473 ml against 568.26125 ml for a UK pint. The cup is the messier case, because the table holds the US cup of 236.5882365 ml and a metric cup of 250 ml, while the 284 ml cup of older British cookbooks is not in it at all. Teaspoon and tablespoon are US sizes only, 4.93 ml and 14.79 ml rather than the 5 ml and 15 ml of a metric measuring spoon.
The limit worth knowing before you start is that this converts volume to volume and nothing else. A line reading "1 l to kg" is refused with an unknown-unit message, because mass units are not in this table and a litre of honey does not weigh what a litre of oil weighs. Turning a cooking measurement into a weight needs the density of that particular ingredient, which is the Cooking Converter's job rather than this one's. Cubic yards, the US dry pint and quart, bushels and pecks are absent as well, and Barrel here means the 42-US-gallon oil barrel of 158.987294928 litres, not any of the brewing barrels that share the name. One spelling to avoid: cubic feet have to be typed as "ft³", "cu ft" or the words, because the bare "ft3" is read as a feet-and-inches length and comes back as an unknown-unit error for "ft". The cubic inch and cubic metre have no such trouble — "in3" and "m3" both work.
The arithmetic happens in this browser tab. Your figures are converted by script running on your own machine and none of them are sent anywhere, so an open tab keeps converting after the connection goes. Automatic precision reports ten significant digits and trims trailing zeros, dropping to an eight-digit exponential form such as 1e-9 once a figure reaches a quadrillion or falls below a millionth; the fixed settings round to a chosen number of decimals instead, which is usually what you want when the answer is going into a recipe or a quotation rather than into another calculation.
How to use it
- Type the amounts, one per line. A bare number uses the two selects. A full line such as "500 ml to cups" sets both units itself, and fractions parse: "2 1/2 cups" and "½ tsp" are both understood.
- Choose the units. From and To list all twenty units with their symbols. US and UK measures appear as separate entries, so pick Pint (UK) when you mean 568 ml rather than 473 ml.
- Or expand one value into every unit. Set To to All units (table) and a single input is listed in all twenty units at once — the quickest way to see a volume in metric, US and imperial side by side.
- Decide how precise the answer is. Automatic gives ten significant digits. The fixed options are 0, 1, 2, 3, 4, 6 and 8 decimals — 5 and 7 are not offered — and the conversion factor for the last pair converted is shown in the small line under the output box.
Processing & privacy
Runs on your device. Your file is processed directly in this browser.
Common use cases
Cooking from an American recipe
Cup and spoon measures are no help beside a metric jug. "2 1/2 cups to ml" or "500 ml to cups" gives a number you can actually pour or measure into a jug.
Comparing a US and a UK gallon
Fuel economy, tank capacities and drum sizes are quoted in both, and they differ by about a fifth, so the figure means nothing until you know which gallon it is.
Reading a spec sheet in cubic units
Compressor throughput, freight volumes and container ratings arrive in cubic feet or cubic inches. Converting to litres or cubic metres puts them beside the metric numbers.
Converting a whole column at once
Paste a list of measurements, one per line. Each is converted separately and the results come back as a table you can copy into a spreadsheet.
Questions
Does a measurement I paste get uploaded?
Why does ml to oz not work?
Which cup do I get if I just type "cup"?
Can it convert millilitres to grams?
How exact are the conversions?
What happens to a line that is not a number?
Related tools
- Unit Converter — Convert length, weight, area, volume and speed.
- Time Zone Converter — Compare a time across several zones at once.
- Temperature Converter — Convert Celsius, Fahrenheit and Kelvin.
- Length Converter — Convert metres, feet, inches, miles and more.
- Weight Converter — Convert kilograms, pounds, ounces and stones.
- Area Converter — Convert square metres, feet, acres and hectares.