🧊 Volume Calculator
Volume of a cube, box, cylinder, cone, sphere, pyramid, prism, capsule, tube and more, with the formula shown and results in liters and gallons.
Formula: V = π r² h
| Unit | Volume |
|---|---|
| cubic inches | 226.1947 |
| cubic feet | 0.1308997 |
| cubic yards | 0.004848137 |
| cubic centimeters (mL) | 3,706.667 |
| liters | 3.706667 |
| cubic meters | 0.003706667 |
| U.S. fluid ounces | 125.3373 |
| U.S. gallons | 0.9791977 |
| Imperial gallons | 0.8153527 |
What Volume Calculator Does
This volume calculator finds the volume of twelve common solids — cube, rectangular box, cylinder, cone, sphere, hemisphere, rectangular pyramid, triangular prism, capsule, ellipsoid, truncated cone and hollow tube — and shows the formula with your measurements substituted. Enter dimensions in millimeters, centimeters, meters, inches, feet or yards, and tick “I measured the diameter” when that is easier than finding the radius.
The answer is converted into cubic inches, feet, yards, centimeters and meters, liters, U.S. fluid ounces, and U.S. and imperial gallons, so you can go straight from a tank’s measurements to how much water it holds.
How to Use Volume Calculator
- Choose a shape
- Pick the unit you measured in
- Enter each dimension — tick diameter if you measured across
- Read the volume with the formula and your numbers
- Use the table for liters, gallons and other cubic units
Formula Used by Volume Calculator
Cylinder
V = π r² h
Worked example
A tank 3 in radius, 8 in tall.
- π × 3² × 8 = 226.19 in³
- 226.19 ÷ 231
Result: 0.98 U.S. gallons.
Sphere
V = ⁴⁄₃ π r³
Worked example
A ball 10 cm across (r = 5 cm).
- ⁴⁄₃ × π × 125
Result: 523.6 cm³ = 0.524 liters.
Volume Unit Conversions
| Unit | Equals |
|---|---|
| 1 liter | 1,000 cm³ = 33.81 U.S. fl oz |
| 1 U.S. gallon | 231 in³ = 3.785 liters |
| 1 imperial gallon | 4.546 liters |
| 1 cubic foot | 1,728 in³ = 7.48 U.S. gallons = 28.32 liters |
| 1 cubic yard | 27 ft³ = 764.6 liters |
| 1 cubic meter | 1,000 liters = 264.2 U.S. gallons |
How to Read Your Result
Why a cone is one third of a cylinder
A cone, and a pyramid, holds exactly one third of the prism or cylinder with the same base and height — a result known since ancient Greece. A sphere fits inside a cylinder of the same width and height and fills two thirds of it.
Inside vs outside measurements
For how much a container holds, measure the inside. For how much material it is made of — a pipe wall, a hollow tube — subtract the inner volume from the outer, which the tube shape does for you.
Limitations & Accuracy Notes
- Shapes are ideal geometric solids; real containers have rounded corners, sloped sides and wall thickness.
- Results are shown to about seven significant figures.