🔄 Converters · calculator

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

  1. 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'.
  2. 2Click the Calculate button. The calculator applies the appropriate volume formula using your inputs and computes the result.
  3. 3The result displays the volume in cubic units (units³). Use this value for applications like filling a container, material estimation, or engineering design.

Frequently Asked Questions

What is the formula for the volume of a sphere?
The volume of a sphere is V = (4/3)πr³, where r is the radius. For example, a sphere with radius 3 units has volume (4/3)π×27 = 36π ≈ 113.1 units³.
How do I interpret the volume result in cubic units?
The result is in cubic units (e.g., cm³, m³, in³). If you input dimensions in meters, the volume is in cubic meters. This represents the amount of space the shape occupies.
When should I use this volume calculator?
Use it for any task requiring volume calculation: determining how much liquid a container holds, estimating material needed for a 3D object, or solving geometry problems. It covers five common shapes but not irregular objects.
What does the 'volume' output represent?
The volume output is the total space enclosed by the 3D shape, expressed in cubic units. For a cube with side 2 units, volume = 8 units³, meaning it can hold 8 unit cubes.
Are these volume formulas based on standard mathematical definitions?
Yes, the formulas are derived from Euclidean geometry and are universally accepted in mathematics and engineering. They are defined by the International System of Units (SI) for volume measurement (cubic meters).