Code tool

Volume Converter

Enter a value and select the source and target units.

In-browser processingNo account requiredPrivacy details ↗

Enter a finite non-negative value.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter a value and select the source and target units.
  2. Review the converted result and all-unit table.
  3. Use Swap to reverse the selected units.

Units and systems

The nine units are mL, L, US tsp, US tbsp, US fl oz, US cup, US pint, US quart, and US gallon. US cooking measures use exact US legal definitions. Imperial/UK units are not mixed into these results.

Precision and local processing

Conversions use decimal factors with full JavaScript number precision and run locally in your browser. Display rounding is for readability.

GOOD TO KNOW

Common questions

Are gallons US or Imperial?

US gallon. US pint, quart, cup, fluid ounce, tablespoon, and teaspoon are labeled separately; Imperial units are not included.

What is the formula?

Convert the input to liters with its factor, then divide by the target unit factor.