Volume Converter

Converting between volume units shouldn't require a chart taped to your kitchen cabinet or a half-remembered formula from school. This volume converter handles liters, gallons, cups, tablespoons, milliliters, cubic meters, and every common unit in between, instantly and entirely in your browser. Scale a recipe, size a water tank, or check a lab measurement and the result appears without a server round-trip.

Every calculation here runs locally on your device: nothing you type is ever transmitted, logged, or stored. Below, you'll find the full conversion tool, a breakdown of how each unit relates to the others, worked examples covering the situations people actually run into, and a quick-reference table for the conversions you'll look up most often.

Convert volume

Results update as you type.

Liters (L)
US liquid gallons
US
Calculations stay in your browser.
Converted volume
0.264172 US liquid gallons
Conversion factor1 Liters (L) = 0.264172 US liquid gallons

Also equals

Common conversions

Liters (L)
US liquid gallons
Imperial (UK) gallons
US customary cups
Milliliters (mL)
1 L0.2642 gal (US)0.22 gal (UK)4.2268 cup (US)1,000 mL
5 L1.3209 gal (US)1.0998 gal (UK)21.1338 cup (US)5,000 mL
10 L2.6417 gal (US)2.1997 gal (UK)42.2676 cup (US)10,000 mL
30 L7.9252 gal (US)6.5991 gal (UK)126.8027 cup (US)30,000 mL
50 L13.2086 gal (US)10.9985 gal (UK)211.3379 cup (US)50,000 mL
100 L26.4172 gal (US)21.9969 gal (UK)422.6757 cup (US)100,000 mL
250 L66.043 gal (US)54.9923 gal (UK)1,056.6893 cup (US)250,000 mL
500 L132.086 gal (US)109.9846 gal (UK)2,113.3785 cup (US)500,000 mL
1,000 L264.1721 gal (US)219.9692 gal (UK)4,226.7571 cup (US)1,000,000 mL

How This Volume Converter Works

Use the calculator by choosing a source unit, entering a value, and selecting the unit you need.

The steps below cover the controls before the detailed formulas and unit definitions.

  • Select your starting unit from the first dropdown.
  • Enter the value you want to convert.
  • Select your target unit from the second dropdown. The result updates instantly.
  • Use the swap control to reverse the conversion without re-entering anything.

How Volume Conversion Works

Every unit of volume is a fixed multiple of a single base unit: this tool uses the liter as that base. A US gallon is defined as exactly 3.785411784 liters, a US cup as approximately 0.236588 liters, and so on; conversion between any two units takes one multiplication and one division through that shared base instead of a lookup table for every possible pairing. This shared base supports dozens of units without making the calculation more complicated.

Select your starting unit and target unit from the dropdowns, enter a value, and the result updates immediately. There's no submit button and no page reload, because the entire calculation happens client-side in JavaScript. If you need the reverse conversion, use the swap control rather than re-entering values manually; it flips both the input and the unit selectors in one action.

Key Definitions

Liter (L): the base metric unit of volume this tool converts through, equal to 1,000 milliliters or one cubic decimeter.

US customary units (cup, tablespoon, teaspoon, gallon, quart, pint, fluid ounce): the volume units standardized for everyday use in the United States, with exact liter equivalents defined in NIST Special Publication 330, the official U.S. reference for metric and customary unit conversions.

Imperial (UK) units: the gallon and fluid ounce as defined under the UK's Weights and Measures Act. The gallon is about 20% larger than its US counterpart, while the fluid ounce is about 4% smaller.

Using the US and Imperial Unit Toggles

Two units on this page, gallons and fluid ounces, have a second, smaller decision built in: US or Imperial (UK). A US gallon (3.78541 L) and an imperial gallon (4.54609 L) are not the same volume, and neither are a US fluid ounce (29.5735 mL) and an imperial fluid ounce (28.4131 mL). When either of those units is selected, a toggle appears so you can specify which system you mean. If you're not sure which applies, check the container or recipe you're converting from. American products and recipes almost always mean the US measure, while UK and older Commonwealth sources typically mean imperial.

If gallons or ounces are the specific conversion you're doing repeatedly, the dedicated calculators go deeper on exactly this: the Liters to Gallons Converter covers the full US-vs-imperial gallon breakdown with fuel-economy and tank-sizing examples, and the mL to oz Converter does the same for fluid ounces in both directions.

Precision and Rounding

Some customary conversion factors behind this volume converter are not round numbers: a US cup is 236.588 mL, not 240, and a US gallon is 3.785411784 liters, not 3.8. This tool carries full precision through the calculation and rounds only for display, so results stay accurate even when you're chaining several conversions together. For everyday use, two to three decimal places is plenty; for anything lab-related or dosage-sensitive, use the displayed calculator result rather than a memorized approximation.

Converting Cups, Tablespoons, and Milliliters

Kitchen measurements often mix cups, spoons, and milliliters, so the selected system matters.

These relationships help you move between recipe units while keeping rounding under control.

mL to Cups and Cups to mL

To convert mL to cups, divide by 236.588. To go the other direction, multiply cups by 236.588. For example, 500 mL ÷ 236.588 ≈ 2.11 cups, and 1.5 cups × 236.588 ≈ 354.88 mL.

Cups to Tablespoons

There are 16 US tablespoons in 1 US cup, so multiply cups by 16 to get tablespoons, or divide tablespoons by 16 to get cups. Half a cup, for instance, is exactly 8 tablespoons.

Tablespoons to mL and Teaspoons to mL

1 US tablespoon equals 14.7868 mL, and 1 US teaspoon equals 4.92892 mL. A recipe calling for 2 tablespoons of oil is about 29.57 mL, and 1 teaspoon of vanilla extract is about 4.93 mL.

Converting Cups, Pints, Quarts, and Gallons

US customary volume units form a practical chain from teaspoons through gallons.

Use the relationships below to check common recipe, container, and household conversions.

Quarts to Cups and Cups to Quarts

1 US quart equals 4 cups. To convert quarts to cups, multiply by 4; to convert cups to quarts, divide by 4. 3 quarts, for example, equals exactly 12 cups.

Quarts to Gallons and Gallons to Quarts

1 US gallon equals 4 quarts. Divide a quart value by 4 to calculate gallons, or multiply a gallon value by 4 to calculate quarts. A 5-gallon container holds exactly 20 quarts.

Pints, Cups, and Quarts

1 US pint equals 2 cups, and 1 quart equals 2 pints. So converting pints to cups is a straight doubling, and cups to pints is a straight halving. Three pints, for instance, is 6 cups or 1.5 quarts.

Cups to Gallons and Gallons to Cups

1 US gallon equals 16 cups. To convert cups to gallons, divide by 16; gallons to cups, multiply by 16. 6 cups is 0.375 gallons.

Fluid Ounces to Cups

1 US cup equals 8 fluid ounces, so dividing fl oz by 8 gives cups, and multiplying cups by 8 gives fl oz. 20 fl oz, for example, is 2.5 cups.

Converting Metric and Cubic Volume Units

Metric volume units scale by powers of ten and connect directly to cubic measurements.

That structure makes liter and milliliter conversions straightforward across scientific and everyday work.

mL to Liters and Liters to mL

1 liter equals 1,000 mL. Divide mL by 1,000 to get liters, or multiply liters by 1,000 to get mL. For example, 750 mL is 0.75 L, and 2.5 L is 2,500 mL.

Cubic Centimeters, Cubic Feet, and Cubic Meters

1 cm³ equals exactly 1 mL, which makes cm³-to-mL conversions a 1:1 relabeling. 1 cubic foot equals 28.3168 liters, and 1 cubic meter equals 1,000 liters, useful for anything sized in construction or shipping terms rather than kitchen or lab terms.

Pints, Cubic Meters, and Fluid Ounces in Liters

1 US pint equals 0.473176 liters, 1 cubic meter equals 1,000 liters, and 1 US fluid ounce equals 0.0295735 liters. These show up less often than the pairs above, but the same base-unit math applies: convert through liters, and the relationship between any two volume units falls out of the same table used throughout this page.

Worked Examples

Worked examples show how the same volume factors apply to cooking, travel, fuel, and storage.

Each result is rounded for its stated use, while the calculator retains more precision internally.

  • Simple case: You need 2 liters of water in cups for a recipe written in US measurements. 2 L ÷ 0.236588 L per cup ≈ 8.45 cups.
  • Real-world scenario, recipe scaling: A recipe calls for 3/4 cup of milk, but you're doubling the batch and want to measure it in milliliters for precision. 3/4 cup × 236.588 mL ≈ 177.4 mL, doubled to roughly 354.9 mL.
  • Cross-unit chain, container sizing: You're filling a 5-gallon (US) water container and want to know the equivalent in liters and quarts. 5 gal × 3.78541 ≈ 18.93 L, and since 1 gallon = 4 quarts, that's exactly 20 quarts. For more worked examples on this exact pair, see the Liters to Gallons Converter.
  • Edge case, small precision volumes: A lab protocol calls for 0.5 mL of a reagent, and you need that in teaspoons for a non-lab explanation. 0.5 mL ÷ 4.92892 mL per tsp ≈ 0.101 tsp, small enough that most kitchen tools can't measure it accurately, which is exactly why lab work uses milliliters rather than teaspoons in the first place.
  • Multi-step, real-world use case, UK vs. US comparison: An imported product lists its volume as "4 imperial pints." Converted to US units: 4 imperial pints × 0.568261 L ≈ 2.273 L, which is about 4.8 US pints, not 4, a common source of confusion when comparing UK and US packaging.

Code Snippets

For anyone integrating a similar conversion into their own project, the core logic is a multiplication and a division through liters as the base unit:

The snippets use the same factors as the calculator and can be adapted to other volume pairs.

JavaScript Function

This JavaScript example converts through a liter base factor so one function can support multiple units.

const LITERS_PER_UNIT = {
  l: 1,
  ml: 0.001,
  m3: 1000,
  cm3: 0.001,
  gal_us: 3.785411784,
  gal_uk: 4.54609,
  qt_us: 0.946353,
  pt_us: 0.473176,
  floz_us: 0.0295735,
  floz_uk: 0.0284131,
  cup_us: 0.236588,
  tbsp: 0.0147868,
  tsp: 0.00492892,
  ft3: 28.3168,
};

function convertVolume(value, fromUnit, toUnit) {
  const liters = value * LITERS_PER_UNIT[fromUnit];
  return liters / LITERS_PER_UNIT[toUnit];
}

// Example: 2 US cups to milliliters
convertVolume(2, 'cup_us', 'ml'); // ≈ 473.176

Spreadsheet Formula

For a quick one-off in a spreadsheet, the equivalent Google Sheets/Excel formula for liters to US gallons is =A1/3.785411784, and for US cups to milliliters, =A1*236.588.

Security & Privacy

This converter runs entirely in your browser: no value you enter is ever sent to a server, logged, or stored anywhere outside your current session. There's no account, and the converter does not send individual conversions to a server.

On the input side, basic validation helps prevent malformed values (non-numeric text, negative numbers) from producing nonsensical output, but this is a usability safeguard rather than a security boundary. There's no server-side attack surface to defend here, since no data ever leaves the page.

Common Errors & Edge Cases

Most conversion mistakes come from choosing the wrong unit system or applying the factor in the wrong direction.

Check the examples in this table before relying on a result for a recipe, shipment, or measurement record.

Input condition
Tool behavior
Empty fieldNo result shown; no error message displayed
Non-numeric textInline validation message; conversion does not run
Negative numberInline validation message ("volume cannot be negative")
Extremely large numberResult rounds to a sensible number of decimal places rather than showing floating-point artifacts
Same unit selected on both sidesResult equals input exactly; no error
Leading/trailing whitespaceTrimmed automatically before parsing

Common Volume Unit Equivalents

Use the live reference table to compare one liter with commonly used metric, US customary, and imperial units.

Looking for the mL-to-oz or liters-to-gallons conversion specifically? Those have their own dedicated calculators with deeper worked examples: mL to oz Converter and Liters to Gallons Converter.

Unit
Liters (L)
Milliliters (mL)
1 Liters (L)1 L1,000 mL
1 Milliliters (mL)0.001 L1 mL
1 Cubic meters (m³)1,000 L1,000,000 mL
1 Cubic centimeters (cm³)0.001 L1 mL
1 Cubic feet (ft³)28.3168 L28,316.8 mL
1 US customary cups0.236588 L236.588 mL
1 US tablespoons0.0147868 L14.7868 mL
1 US teaspoons0.00492892 L4.92892 mL
1 US liquid quarts0.946352946 L946.352946 mL
1 US liquid pints0.473176473 L473.176473 mL
1 US liquid gallons3.785411784 L3,785.411784 mL
1 Imperial (UK) gallons4.54609 L4,546.09 mL
1 US fluid ounces0.0295735 L29.5735 mL
1 Imperial (UK) fluid ounces0.0284131 L28.4131 mL

Volume Converter FAQ

Frequently Asked Questions