Volume and Capacity Converter

Type a value in any of the 35 rows and press Convert: the other rows show the same volume. Metric, US dry, imperial, US liquid and cooking units are listed separately because their names repeat while their sizes differ. Everything is calculated in your browser.

Runs locally in your browser

Metric units



U.S. dry units



Imperial volume units



Metric cooking measures



U.S. cooking measures



U.S. liquid volume



Length-based volume units




How to convert a volume

Type a value into any of the thirty-five rows and press Convert, or press Enter in the field: the other rows are filled with the same volume in their own unit, and the row you typed in keeps exactly what you typed. Clear all empties every field.

Everything is calculated in this browser from exact definitions - 1 gal(US) = 3.785411784 L, 1 gal(imp) = 4.54609 L, 1 US cup = 236.5882365 mL, 1 acre-foot = 43560 ft³ = 1233.48183754752 m³ - and the value you type is neither uploaded nor stored.

  1. Find the row that matches the unit you already have. The symbol in brackets identifies it: (gal (US)) is the US gallon, (gal (imp)) the imperial gallon.
  2. Type the value in that row. Digits, one decimal point and exponent notation such as 1e3 are accepted; the field is never rewritten while you type.
  3. Press Convert in that row, or press Enter in the field, to fill all thirty-five rows with the result.
  4. Read the row you need; the row you typed in still shows your own number, so you can keep typing and compare.
  5. Press Clear all to empty every field and start again.

The seven groups on this page, and why the names repeat

What the seven groups contain

Metric units: cubic metre, hectolitre, decalitre, litre, decilitre, centilitre, millilitre and cubic millimetre. US dry units: barrel, bushel, peck, quart and pint. Imperial volume units: barrel, bushel, gallon, pint and fluid ounce. Metric cooking measures: the 15 mL tablespoon and the 5 mL teaspoon. US cooking measures: tablespoon, teaspoon and cup. US liquid volume: oil barrel, gallon, quart, pint, gill, fluid ounce, fluid dram and minim. Length-based units: acre-foot, cubic yard, cubic foot and cubic inch.

The names repeat because the units are different: a US dry bushel is 35.23907016688 L and an imperial bushel 36.36872 L, a US gallon is 3.785411784 L and an imperial gallon 4.54609 L, and the oil barrel is 42 US gallons (158.987294928 L) while the US dry barrel is 115.627123584 L. The dry measures are capacities, not weights, so a bushel of wheat and a bushel of barley both fill 35.23907016688 L.

How results are rounded

Every result carries twelve significant digits and nothing else: 1 m³ in US gallons is 264.172052358 gal, 1 acre-foot is 1233.48183755 m³, and 1 US cup is exactly 236.5882365 mL, 8 US fluid ounces or 16 US tablespoons. Values between 1e-6 and 1e12 are written as plain decimals and smaller or larger ones in exponent notation, for example 1 acre-foot in cubic millimetres = 1.23348183755e12 mm³.

The previous page printed the binary noise of the division instead, so one US cup read 236.5882365017002 mL and 16.000000000118295 US tablespoons, and its acre-foot row held a four-digit constant (0.0008107 acre-feet per cubic metre) that turned 1 acre-foot into 1233.5019119279634 m³ - about 20 litres too much. The factor here is the exact 1233.48183754752 m³.

Errors, limits and privacy

A blank field, a comma (1,5), a negative value, letters, or a number the browser cannot hold (1e309) produce a sentence under the rows instead of a silent wrong answer, and the other fields are cleared so a stale result never sits next to a new input.

The metric spoons are the rounded 15 mL and 5 mL definitions, which is why a metric tablespoon is not a US tablespoon (14.78676478125 mL). Everything runs locally in JavaScript: the page works offline once loaded, sends no request while you type, and stores nothing.

Recent tools: