Blog
Unit converters

Volume unit converter

Enter a value, choose a source and target unit, and the converter recalculates volume between any pair of ten units: milliliters, liters, cubic meters and centimeters, US gallons, quarts, pints, fluid ounces, cubic feet and cubic inches.

Your data never leaves this device

Result

Result

This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.

Facts and limits of this method

Base unit Liter — all other units convert through it
1 US gallon 3.785411784 liters (liquid, not dry)
1 US quart 0.946352946 liters (¼ gallon)
1 US pint 0.473176473 liters (⅛ gallon)
1 US fluid ounce ≈29.5735 ml (1/128 gallon)
Total units 10 — ml, l, m³, cm³, gal, qt, pt, fl oz, ft³, in³

When it misleads you

How it is calculated

Each of the ten units has a preset conversion factor to liters — for example, 1 US gallon = 3.785411784 l, 1 cubic foot = 28.316846592 l.

The entered value is multiplied by the factor of the selected "from" unit, giving volume in liters.

The volume in liters is divided by the factor of the "to" unit, giving the result in the target unit.

The result is rounded to the chosen number of decimal places and updates instantly whenever the value, units or precision change.

Questions and answers

Is this a US or imperial gallon?

US (liquid) gallon — 3.785411784 liters. The British imperial gallon (≈4.546 l) isn't supported here — it's a noticeably different quantity.

What's the difference between a quart and a pint?

1 US quart = 2 US pints = 0.946352946 liters; a pint is 0.473176473 liters, exactly half a quart.

Are a cubic centimeter and a milliliter the same thing?

Yes, numerically 1 cm³ = 1 ml — this is an exact relationship in the SI system.

Is my data sent anywhere?

No, the whole calculation runs in your browser.

Related tools

All tools