Volume Calculator

Find the volume of a box, cylinder, sphere, cone, pyramid, or capsule from its dimensions. Calculates in your browser.

Use one unit throughout, the volume comes out in that unit cubed.

Volume

-

ShapeBox / cube

Show the math

Each shape has its own volume formula:

box = length × width × height

cylinder = π × radius² × height

sphere = 4⁄3 × π × radius³

cone = ⅓ × π × radius² × height

pyramid = ⅓ × base length × base width × height

Keep every length in the same unit and the volume comes out in that unit cubed, feet give cubic feet, metres give cubic metres. A capsule is a cylinder with a half-sphere on each end. All math runs locally in your browser.

What this does

A volume calculator finds the volume of common 3D shapes (box, cylinder, sphere, cone, pyramid, and capsule) from the dimensions you enter. The result is in cubic units of whatever unit you use.

How to use it

  1. Choose the shape.
  2. Enter the required dimensions.
  3. Read the volume in cubic units.

How it works

Each shape has its own formula. All lengths share one unit, so the volume comes out in that unit cubed, feet give cubic feet, metres give cubic metres.

box = l × w × h; cylinder = π × r² × h; sphere = 4⁄3 × π × r³

Understanding your result

Volume grows fast with size: a sphere and a cylinder scale with the radius squared, so a small change in radius moves the result a lot. Keep every dimension in the same unit, and remember that a capsule here is a cylinder with a half-sphere on each end.

Example

A cylinder with a 2 ft radius and 5 ft height holds about 62.8 cubic feet (π × 2² × 5).

Sources & methodology

Last updated .

Frequently asked questions

Which shapes are supported?

Box (and cube), cylinder, sphere, cone, pyramid, and capsule. Choose the shape and enter the dimensions it needs.

What units does it use?

Whatever unit you enter. All lengths must share the same unit, and the volume is that unit cubed, feet give cubic feet, metres give cubic metres.

What is a capsule?

A cylinder capped by a hemisphere at each end. Enter the radius and the straight side length, and the two end caps are added automatically.

Do you store my numbers?

No. Everything is calculated locally in your browser.