Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
page

Advanced Volume Calculator

Advanced Volume Calculator

Length
Width
Height

These are worked examples. Change the values, then press Calculate.

VOLUME —
SURFACE AREA —

Solution

This advanced volume calculator covers ten common 3D shapes — cube, rectangular box, sphere, cylinder, cone, triangular prism, square pyramid, rectangular pyramid, capsule, and tube/pipe — so you don’t need a separate tool or formula sheet for each one.

How to use this volume calculator

  1. Choose the shape you’re measuring from the dropdown.
  2. Enter the required dimensions for that shape (the fields update automatically based on your choice).
  3. The volume is calculated instantly using the correct formula for that shape.

Formulas used for each shape

Cube: V = a³  |  Box: V = l × w × h  |  Sphere: V = (4/3)πr³
Cylinder: V = πr²h  |  Cone: V = (1/3)πr²h  |  Tube: V = π(R² − r²)h

Prisms and pyramids use their base area multiplied by height (and divided by 3 for pyramids), while the capsule combines a cylinder body with two hemispherical ends. Switching shapes swaps in the matching formula automatically, so you always get the right calculation without memorizing which formula applies where.

Why a single multi-shape tool helps

Volume problems rarely stick to one shape — a container might be cylindrical, a storage tank capsule-shaped, a roof section a triangular prism. Having all ten shapes in one calculator means you can switch between them instantly while keeping the same units and workflow, rather than hunting for a different formula or tool each time.

Frequently asked questions

What’s the difference between a capsule and a cylinder?

A capsule is a cylinder with two hemispherical (rounded) ends instead of flat ones, like a pill or a rounded storage tank. Its volume equals the cylinder body’s volume plus a full sphere’s volume from the two combined hemispherical ends.

How is a tube’s volume different from a solid cylinder?

A tube or pipe is hollow, so its volume is the outer cylinder’s volume minus the inner (hollow) cylinder’s volume — calculated using the outer radius R and inner radius r in the formula π(R² − r²)h.

Can I use any unit for the dimensions?

Yes. Enter all dimensions for a given calculation in the same unit, and the resulting volume will be in that unit cubed (for example, all measurements in centimeters gives volume in cubic centimeters).