Free tool · Math and study
Volume calculator
Choose a solid, type its sizes and a length unit, and get the volume with the formula written out for your numbers, a drawing of the solid, and the same volume in litres, US gallons, cubic feet and more.
- Free
- No sign-up
- Runs in your browser
282.74334 cm³radius 3, height 10 cm
- 0.28274334 litres
- 0.074692888 US gal
- 0.0099849868 ft³
- Radius
- 3 cm
- Surface area
- 245.04423 cm²
- Base area
- 28.274334 cm²
Formula: V = π × r² × h
Your numbers: π × 3² × 10 = 282.74334 cm³
| Unit | Volume |
|---|---|
| m³ | 0.00028274334 |
| cm³ | 282.74334 |
| litres | 0.28274334 |
| mL | 282.74334 |
| US gallons | 0.074692888 |
| ft³ | 0.0099849868 |
| in³ | 17.254057 |
| yd³ | 0.00036981433 |
How to use the Volume Calculator
- Pick the Solid and the Length unit you measured in. For round solids, say whether you know the Radius or the Diameter.
- Type the sizes. The boxes change with the solid, for example Radius and Height for a cylinder.
- Read the volume, the chips with litres and US gallons, the drawing, and Formula and Your numbers.
- Use the table to read the same volume in other units, and Copy the result to paste it.
What is the formula for the volume of a sphere, cylinder or cone?
A cylinder is its circular base times its height: V = π × r² × h. With a radius of 3 cm and a height of 10 cm that is π × 9 × 10 = 282.74334 cm³. A cone with the same base and height holds exactly one third as much, V = ⅓ × π × r² × h, which is 94.24778 cm³. A sphere is V = ⁴⁄₃ × π × r³, so a radius of 3 cm gives 113.09734 cm³, and a hemisphere is half of that.
A cube is side × side × side and a box is length × width × height. A pyramid with a rectangular base is one third of base length × base width × height, the same one-third rule as the cone. A triangular prism is the area of its triangle (half the base times the triangle height) times the length of the prism. A capsule is a cylinder with a half sphere on each end, so its volume is the cylinder plus one whole sphere of the same radius. The calculator also gives the surface area where it has a closed formula.
How do I find the volume if I only know the diameter?
For round solids choose Diameter under You know the: the page halves it to get the radius, since the radius is always half the diameter. A sphere with a diameter of 6 cm has a radius of 3 cm and a volume of 113.09734 cm³, the same as the radius example above. The volume grows with the cube of the radius, so doubling the diameter makes a sphere eight times as large, not twice.
The table compares five round solids with the same radius of 3 cm and, where it applies, the same height of 10 cm. The last column shows each volume as a percentage of the cylinder, which makes the one-third and two-thirds relationships easy to see.
| Solid | Volume (cm³) | Litres | % of the cylinder |
|---|---|---|---|
| Cylinder | 282.74334 | 0.28274334 | 100 |
| Cone | 94.24778 | 0.09424778 | 33.33 |
| Capsule | 395.84067 | 0.39584067 | 140 |
| Sphere | 113.09734 | 0.11309734 | 40 |
| Hemisphere | 56.548668 | 0.056548668 | 20 |
The capsule row is larger than the cylinder because it adds the two rounded ends on top of the same 10 cm straight part.
How do I convert cubic centimeters to litres, gallons and cubic feet?
One litre is 1,000 cm³, so the 282.74334 cm³ cylinder holds 0.28274334 litres. Cubic units scale by the cube of the length factor: a foot is 12 inches, so a cubic foot is 12 × 12 × 12 = 1,728 cubic inches, and a cubic yard is 27 cubic feet. Convert the volume, not the length: going from meters to centimeters multiplies a length by 100 but a volume by 1,000,000. A box 4 ft by 3 ft by 2 ft is 24 ft³, which is 179.53247 US gallons. The calculator lists the volume in m³, cm³, litres, mL, US gallons, ft³, in³ and yd³, whatever length unit you typed.
A US liquid gallon is about 3.785 litres (the page uses 3.785411784, which rounds to the figure in the NIST conversion table). UK gallons are larger and are not used here. Units of volume are always a length unit cubed, so the small 3 in m³ marks volume, in the same way that the small 2 marks area.
For an irregular shape, split it into the solids above, add the parts and subtract any hollow. Water in a swimming pool has its own tool, the pool volume calculator, and ordering concrete for a slab or a footing is covered by the concrete calculator. For the flat shapes that these solids are built from, use the area calculator.
Use it with
- Pool Volume Calculator: gallons or liters in a pool.
- Concrete Calculator: bags or cubic yards for slabs and posts.
- Area Calculator: area of common shapes.
Questions
What is the formula for the volume of a sphere, cylinder or cone?
Sphere: ⁴⁄₃ × π × r³. Cylinder: π × r² × h. Cone: ⅓ × π × r² × h. With r = 3 and h = 10 they give 113.1, 282.7 and 94.2 cubic units.
How do I convert cubic centimeters to litres?
Divide by 1,000: one litre is 1,000 cm³. So 282.74 cm³ is 0.2827 litres.
How do I find the volume if I only know the diameter?
Halve the diameter to get the radius and use the radius in the formula. The calculator does this when you choose Diameter.
How do I find the volume of an irregular shape?
Split it into boxes, cylinders and other solids, find each volume and add them, subtracting any hollow part. Or measure the water it displaces.
What are the units of volume?
A length unit cubed, such as cm³, m³, ft³, or a liquid unit such as litres and gallons. 1 litre = 1,000 cm³; 1 ft³ = 1,728 in³.
How many US gallons are in a cubic foot?
About 7.4805 US gallons.
Sources
How this page was made: the tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations were drafted with AI help and checked against the tool's own output.