dopecalc

Volume Calculator

Calculate the volume of cubes, spheres, cylinders, cones, and rectangular prisms using standard geometric formulas.

About this Calculator

Calculate the volume of cubes, spheres, cylinders, cones, and rectangular prisms using standard geometric formulas.

Formula & Calculations

Formula

Cube: V = s³; Sphere: V = ⁴⁄₃πr³; Cylinder: V = πr²h; Cone: V = ⅓πr²h; Prism: V = l·w·h
Where:
  • V=Volume in cubic units
  • s=Side length (cube)
  • r=Radius (sphere, cylinder, cone)
  • h=Height (cylinder, cone, prism)
  • l=Length (rectangular prism)
  • w=Width (rectangular prism)

Assumptions

  • All measurements use consistent units; output volume uses cubic units.
  • Sphere and cone formulas use π ≈ 3.1415926535.

Calculation Examples

Example 1

Inputs:Shape: Cube, Side: 3
Result:27 cubic units

3³ = 27 cubic units.

Example 2

Inputs:Shape: Cylinder, Radius: 4, Height: 10
Result:502.65 cubic units

π × 4² × 10 = π × 16 × 10 ≈ 502.65 cubic units.

Frequently Asked Questions

How is the volume of a cone different from a cylinder?

A cone with the same radius and height as a cylinder has exactly one-third the volume. The cone formula is V = ⅓πr²h, while the cylinder formula is V = πr²h.

What units should I use for volume calculations?

Enter all dimensions in the same unit. The result will be in cubic units of that measurement (e.g., inches in → cubic inches out).