Geometry

Volume Calculator

Calculate the volume of a cube, rectangular prism, cylinder, sphere, cone, or square pyramid with formula steps.

Calculate volume

s = 4s = 4s = 4
Answer
Volume = 64

How to use the volume calculator

Pick a solid, enter its dimensions, and read the volume with the formula substitution shown step by step.

  1. Choose a solid shape.
  2. Enter the required dimensions.
  3. Substitute the values into the volume formula.
  4. Read the volume in cubic units.

Formula or method

Cube V = s^3; prism V = lwh; cylinder V = pi r^2 h; sphere V = (4/3) pi r^3; cone V = (1/3) pi r^2 h; pyramid V = (1/3) a^2 h.

Worked examples

Cylinder volume

Problem: r = 3, h = 4

Solution: V = pi * 3^2 * 4 = 36pi ≈ 113.10.

Sphere volume

Problem: r = 3

Solution: V = (4/3) * pi * 3^3 = 36pi ≈ 113.10.