A US gallon container
1 US liquid gallon holds exactly 3.785411784 liters. An Imperial gallon holds 4.54609 liters, so choosing the gallon system matters.
Convert liters, cubic units, and explicitly defined US and Imperial gallons and pints. See equivalent values in every supported unit, control display precision, and export a conversion table.
US liquid gallon = 231 in³ = 3.785411784 L. Imperial gallon = 4.54609 L. Both contain 8 pints; US and UK pints differ. No US dry units.
Liters (L)
Display rounding does not change the calculation. Scientific notation keeps very small values visible; extra digits do not add measurement accuracy.
| Unit | Equivalent |
|---|---|
| Liters (L) | 3.78541178 |
| Milliliters (mL) | 3785.41178 |
| Cubic meters (m³) | 0.00378541178 |
| Cubic centimeters (cm³) | 3785.41178 |
| Cubic inches (in³) | 231 |
| Cubic feet (ft³) | 0.133680556 |
| Cubic yards (yd³) | 0.00495113169 |
| US liquid gallons | 1 |
| US liquid pints | 8 |
| US fluid ounces | 128 |
| Imperial gallons (UK) | 0.832674185 |
| Imperial pints (UK) | 6.66139348 |
| Imperial fluid ounces (UK) | 133.22787 |
Use internal dimensions and a fill percentage. Straight-sided rectangular tanks only; dimensions must all use the same unit.
All entered measurements and calculations stay in this browser. No external API or uploaded dataset is used.
Enter a numeric value without a comma separator or unit suffix, then choose the source and destination units.
Read the main result and equivalent-unit table. Choose 3, 6, 9, or 12 significant digits for display; calculation constants are not rounded to match the display.
Use the rectangular tank capacity panel for the practical calculation. Restore its example independently from the converter.
Copy the conversion or task results, or download the displayed conversion table as a CSV. Clear removes the converter value.
1 US liquid gallon holds exactly 3.785411784 liters. An Imperial gallon holds 4.54609 liters, so choosing the gallon system matters.
A tank measuring 100 × 50 × 40 cm internally holds 200 liters when full. At 80% of its height, a rectangular tank contains 160 liters.
One US liquid pint is 0.473176473 liter and contains 16 US fluid ounces. One Imperial pint is 0.56826125 liter and contains 20 Imperial fluid ounces. The regional definitions are written out in every menu to avoid mixing them.
A liter is a volume. Its mass depends on the substance and conditions. This tool does not turn liters into kilograms or fluid ounces into weight ounces. The tank calculation also ignores wall thickness unless you enter internal dimensions.
Use a decimal point or scientific notation such as 1e3. Blank values, unit suffixes, separators, and nonfinite numbers are rejected. Input magnitudes above 1e100 or nonzero magnitudes below 1e-100 are outside the supported range. The table rounds only for presentation, so 12 displayed digits should not be interpreted as 12 digits of measurement accuracy. Binary floating-point calculations can differ from exact decimal arithmetic in the final digits.
No. US gallon and pint options always mean liquid measure. The US dry system has different definitions and is intentionally excluded.
Yes. One milliliter equals one cubic centimeter. A liter is one cubic decimeter, or 0.001 cubic meter.