What this calculator does and when to use it
This tool finds the volume of four common solids — a cube, cylinder, cone, or sphere — from a small number of linear measurements, then converts that volume into liters, US gallons, and cubic feet automatically. Volume calculations come up constantly outside a classroom: figuring out how much water a tank holds, how much concrete a cylindrical footing needs, how much soil fills a planter, or how much a shipping container can carry.
Pick the shape that matches what you're measuring, choose the unit your measurements are already in (millimeters through feet), and enter the dimensions. Because the calculator re-expresses the result in three different volume units at once, it's also a fast way to sanity-check a supplier's spec sheet or convert between metric and US customary volumes without hunting for a separate conversion factor.
The formulas
Each shape uses a standard geometric volume formula, applied to whatever unit you selected (so results are in that unit cubed until converted):
- Cube: V = s³, where s is the side length.
- Cylinder: V = πr²h, where r is the base radius and h is the height.
- Cone: V = (1⁄3)πr²h, where r is the base radius and h is the height — exactly one-third of a cylinder with the same base and height.
- Sphere: V = (4⁄3)πr³, where r is the radius.
After computing volume in the input unit, the calculator converts to cubic meters using the unit's length-to-meter factor cubed, then multiplies to get liters (×1000), US gallons (×264.172052), and cubic feet (÷0.0283168466).
Worked example
Take a cylindrical container with radius 5 cm and height 15 cm. Volume = π × 5² × 15 = π × 25 × 15 = 375π ≈ 1,178.097 cm³. Converting: 1,178.097 cm³ = 0.001178097 m³, so that's about 1.178 liters, 0.311 US gallons, and 0.042 cubic feet — matching what the calculator displays for those inputs.
Common mistakes and how to interpret results
- Entering diameter instead of radius. The cylinder, cone, and sphere fields all ask for radius, not diameter — using diameter will overstate volume by a factor of 8 for a sphere (since r³ is cubed) or 4 for a cylinder/cone.
- Mixing units within one shape. If you measure height in inches but radius in centimeters, convert one of them first — the calculator applies a single selected unit to every dimension for that shape.
- Forgetting the cone's one-third factor. A cone is easy to overestimate because it's tempting to compute it like a cylinder; the true volume is exactly a third of a cylinder sharing the same base and height.
- Reading the wrong equivalent unit. Double-check whether you need liters, US gallons, or cubic feet — US and Imperial gallons differ, and this calculator reports the US gallon.
Related calculators
- Area Conversion Calculator
- Length Conversion Calculator
- Weight Conversion Calculator
- Geometry Calculator
Volume unit conversion table
Use this table to convert between common US customary and metric volume units at a glance.
| Unit | fl oz | cups | pints | quarts | gallons | liters | mL |
|---|---|---|---|---|---|---|---|
| 1 fl oz | 1 | 0.125 | 0.0625 | 0.03125 | 0.0078 | 0.02957 | 29.57 |
| 1 cup | 8 | 1 | 0.5 | 0.25 | 0.0625 | 0.2366 | 236.6 |
| 1 pint | 16 | 2 | 1 | 0.5 | 0.125 | 0.4732 | 473.2 |
| 1 quart | 32 | 4 | 2 | 1 | 0.25 | 0.9464 | 946.4 |
| 1 gallon | 128 | 16 | 8 | 4 | 1 | 3.785 | 3785 |
| 1 liter | 33.81 | 4.227 | 2.113 | 1.057 | 0.264 | 1 | 1000 |
| 1 mL | 0.0338 | 0.00423 | 0.00211 | 0.00106 | 0.000264 | 0.001 | 1 |
Cooking measurement quick reference
Handy equivalents for US cooking measurements — tablespoons, cups, fluid ounces, and milliliters.
| Measurement | Equivalent |
|---|---|
| 1 tablespoon | 3 teaspoons = ½ fl oz = 14.8 mL |
| ¼ cup | 4 tablespoons = 2 fl oz = 59.1 mL |
| ⅓ cup | 5 tbsp + 1 tsp = 78.9 mL |
| ½ cup | 8 tablespoons = 4 fl oz = 118.3 mL |
| ¾ cup | 12 tablespoons = 6 fl oz = 177.4 mL |
| 1 cup | 16 tablespoons = 8 fl oz = 236.6 mL |
Liters to gallons conversion table
Quick reference for converting liters (1–20) to both US gallons (1 US gal = 3.785 L) and Imperial gallons (1 imp gal = 4.546 L).
| Liters | US Gallons | Imperial Gallons |
|---|---|---|
| 1 L | 0.264 gal | 0.220 gal |
| 2 L | 0.528 gal | 0.440 gal |
| 3 L | 0.793 gal | 0.660 gal |
| 4 L | 1.057 gal | 0.880 gal |
| 5 L | 1.321 gal | 1.100 gal |
| 6 L | 1.585 gal | 1.320 gal |
| 7 L | 1.849 gal | 1.540 gal |
| 8 L | 2.113 gal | 1.760 gal |
| 9 L | 2.378 gal | 1.980 gal |
| 10 L | 2.642 gal | 2.200 gal |
| 11 L | 2.906 gal | 2.420 gal |
| 12 L | 3.170 gal | 2.641 gal |
| 13 L | 3.434 gal | 2.861 gal |
| 14 L | 3.698 gal | 3.081 gal |
| 15 L | 3.963 gal | 3.301 gal |
| 16 L | 4.227 gal | 3.521 gal |
| 17 L | 4.491 gal | 3.741 gal |
| 18 L | 4.755 gal | 3.961 gal |
| 19 L | 5.020 gal | 4.181 gal |
| 20 L | 5.283 gal | 4.402 gal |