Volume Calculator — Cube, Sphere, Cylinder & More
Calculate volume of any 3D shape: cube, sphere, cylinder, cone, rectangular prism. Instant results with formulas for math and engineering.
What is this calculator?
This volume calculator computes the volume of common 3D shapes: cube, sphere, cylinder, cone, and rectangular prism. Volume measures the amount of space an object occupies, calculated using specific geometric formulas for each shape.
Formula
For a cube: V = a³ (a = side length). Sphere: V = (4/3)πr³ (r = radius). Cylinder: V = πr²h (r = radius, h = height). Cone: V = (1/3)πr²h. Rectangular prism: V = lwh (l = length, w = width, h = height). The calculator uses these formulas based on the selected shape.
Example
For a cylinder with radius 5 units and height 10 units, volume = π × 5² × 10 = 250π ≈ 785.4 units³. Enter shape 'cylinder', a=5, h=10, and the result shows 785.4 units³.
How to use
- 1Select the shape from the dropdown menu. Then enter the required dimensions: for cube, enter side length 'a'; for sphere, enter radius 'a'; for cylinder, enter radius 'a' and height 'h'; for cone, enter radius 'a' and height 'h'; for rectangular prism, enter length 'a', width 'b', and height 'h'.
- 2Click the Calculate button. The calculator applies the appropriate volume formula using your inputs and computes the result.
- 3The result displays the volume in cubic units (units³). Use this value for applications like filling a container, material estimation, or engineering design.