Volume Calculator
Calculate the volume of a cube, box, sphere, cylinder, cone, or square pyramid from its dimensions, with the formula used shown alongside the result. Runs entirely in your browser.
🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.
How it works
- Choose a solid — cube, box, sphere, cylinder, cone, or square pyramid.
- Fill in the dimensions shown for that shape.
- The volume updates instantly, with the formula used shown underneath.
Each shape uses its standard geometric volume formula: a cube is side³, a box is length × width × height, a sphere is (4/3)πr³, a cylinder is πr²h, a cone is (1/3)πr²h, and a square pyramid is (1/3) × base² × height. The calculator plugs your numbers straight into the matching formula.
FAQ
Which solids does this cover?
Cube, rectangular prism (box), sphere, cylinder, cone, and square pyramid — the six 3D solids that come up most often in geometry classes and everyday measuring.
What units does the result use?
Whatever unit you entered your dimensions in, cubed. Enter centimetres and the volume is in cubic centimetres; enter feet and it's in cubic feet — the calculator just does the arithmetic, so keep every dimension in the same unit.
Why does the cone use 1/3 but the cylinder doesn't?
A cone is exactly one-third the volume of a cylinder with the same base radius and height — you can verify this by filling a cone-shaped container with water three times into a same-sized cylinder. The same 1/3 factor applies to a pyramid versus a prism with the same base and height.
Is anything I enter sent anywhere?
No. Every calculation happens locally in your browser with plain arithmetic — nothing is uploaded or logged.
Can I use decimals?
Yes — every dimension field accepts decimals, so measurements like 4.5 or 2.75 work exactly as typed.
How we compare
| Feature | Online Tool Store | Doing it by hand | Generic calculator app |
|---|---|---|---|
| No file upload — runs in your browser | ✓ | ✓ | ✓ |
| No formula to remember or π to look up | ✓ | Manual recall required | Still need the right formula |
| Six solids in one tool, formula shown | ✓ | Only what you remember | Usually just a number, no formula |
Doing it by hand risks a slipped digit or the wrong formula, and most generic calculator apps only handle one shape at a time with no working shown. Volume Calculator switches formulas automatically when you change shape and always shows the arithmetic behind the result.