Volume Calculator
Choose a shape, enter its dimensions and get the volume in cubic units. Cube, rectangular box, cylinder, cone, sphere and pyramid are covered.
Last updated November 2, 2026
Result
141.3717 cubic inches (in³)
| Shape | Cylinder |
|---|---|
| Formula | V = π × r² × h |
| Radius | 3 in |
| Height | 5 in |
Show the work
Formula: V = π × r² × h
- Entered: radius 3 in, height 5 in (cylinder).
- Volume = π x 3² x 5 = π x 9 x 5 = 141.3717 cubic inches (in³).
Result: 141.3717 cubic inches (in³)
Volume formulas
cube a³ · box l × w × h · cylinder πr²h · cone πr²h ÷ 3 · sphere 4πr³ ÷ 3 · pyramid l × w × h ÷ 3
Volume is the space inside a solid, measured in cubic units. Prisms and cylinders multiply the area of the base by the height. A cone or a pyramid holds exactly one third of the prism or cylinder with the same base and height. A sphere holds 4/3 × π × r³.
Use the same unit for every dimension. If the sides are in feet, the volume is in cubic feet. The pyramid here has a rectangular base. Results use π = 3.14159265… and are rounded for display.
The calculator asks for the radius of a cylinder, cone or sphere. If you only know the diameter, halve it first. For a sphere, that makes the formula π × d³ ÷ 6. For a cone or a pyramid, the height is the straight, perpendicular height from base to tip, not the slanted side.
See how we calculate for the formulas, sources and review schedule behind every calculator.
Also useful alongside this calculator: Geometry Calculator, Distance Calculator and Perimeter Calculator.
Units and conversions
Volume is in cubic units, and cubing a length conversion cubes the factor. One foot is 12 inches, so one cubic foot is 12³ = 1,728 cubic inches. One yard is 3 feet, so one cubic yard is 27 cubic feet. One meter is 100 centimeters, so one cubic meter is 1,000,000 cubic centimeters. One cubic centimeter is 1 milliliter, and 1,000 cubic centimeters make 1 liter.
The most common mistake is mixing units. A box that is 2 ft by 3 ft by 6 in is not 2 × 3 × 6 = 36. Convert 6 in to 0.5 ft first: 2 × 3 × 0.5 = 3 cubic feet.
Practical examples
A concrete slab 10 ft long, 12 ft wide and 4 in thick: 4 in is 1/3 ft, so the volume is 10 × 12 × 1/3 = 40 cubic feet. Dividing by 27 gives 1.48 cubic yards.
A cylindrical water tank with radius 0.5 m and height 1.2 m holds π × 0.5² × 1.2 ≈ 0.9425 cubic meters, or about 942.48 liters. A ball with radius 4 cm has volume 4/3 × π × 4³ ≈ 268.08 cubic centimeters.
Combined and hollow shapes
For a solid made of several shapes, find each volume and add them. A cylinder of radius 4 and height 10 under a cone of radius 4 and height 10 has volume 502.6548 + 167.5516 = 670.2064, about 670.21 cubic units. Add the unrounded figures and round once at the end.
A hemisphere is half a sphere, so a sphere of radius 3 gives 113.10 ÷ 2 ≈ 56.55 cubic units. For a hollow pipe, subtract the inner cylinder from the outer one: π × (3² − 2²) × 5 = 25π ≈ 78.54 cubic units for an outer radius of 3, an inner radius of 2 and a length of 5.
How to use the Volume Calculator
- Choose the shape.
- Choose the unit and enter each dimension in that unit.
- Read the volume in cubic units.
- Use Copy, Print or Share to keep the result.
Worked example
A cylinder with radius 3 and height 5 has volume π × 3² × 5 = 45π ≈ 141.37 cubic units. A cone with the same radius and height holds a third of that, about 47.12 cubic units.
| Shape | Dimensions | Volume |
|---|---|---|
| Cube | side 3 | 27 |
| Rectangular box | 2 × 3 × 4 | 24 |
| Cylinder | radius 3, height 5 | 141.37 |
| Cone | radius 3, height 5 | 47.12 |
| Sphere | radius 3 | 113.10 |
| Pyramid | base 3 × 4, height 5 | 20 |
Frequently asked questions
What is the formula for the volume of a cylinder?
V = π × r² × h, where r is the radius of the circular base and h is the height.
How do I find volume from the diameter?
Divide the diameter by 2 to get the radius, then use the radius in the formula.
What is the formula for the volume of a sphere?
V = 4/3 × π × r³. A sphere of radius 3 has volume 4/3 × π × 27 = 36π, about 113.10 cubic units.
How do I convert cubic feet to cubic yards?
Divide by 27, because 1 cubic yard is 3 × 3 × 3 = 27 cubic feet. 40 cubic feet is about 1.48 cubic yards.
Are my numbers stored or sent anywhere?
No. The calculation runs in your browser and nothing you enter is saved or uploaded.