This volume calculator computes the capacity of seven common 3D solids — a box, cube, sphere, cylinder, cone, square pyramid and ellipsoid. Pick a shape, type its dimensions, and the volume appears instantly using the correct geometric formula. It is handy for everything from sizing a tank or aquarium to checking homework.
How it works
Each solid uses its standard formula, with the result given in cubic units:
| Solid | Formula |
|---|---|
| Box (rectangular prism) | length × width × height |
| Cube | side³ |
| Sphere | (4/3) × π × radius³ |
| Cylinder | π × radius² × height |
| Cone | (1/3) × π × radius² × height |
| Square pyramid | (1/3) × base-edge² × height |
| Ellipsoid | (4/3) × π × a × b × c |
The calculator is unit-agnostic: enter every dimension in the same unit and the volume comes back in that unit cubed.
Example
For a cylinder with radius 3 and height 10:
V = π × 3² × 10 = π × 90 ≈ 282.74 cubic units.
If those measurements are in centimetres, that is about 282.7 cm³ (≈ 0.28 litres). Change to a cone with the same radius and height and the volume drops to a third: (1/3) × π × 9 × 10 ≈ 94.25 cubic units. Everything runs in your browser — nothing is uploaded.