UTILS.
Private by default
◳

Volume Calculator

Compute the volume and surface area of a cube, sphere, cylinder, cone or box.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

3D Volume Calculator finds the volume and total surface area of five common solids: a cube, sphere, cylinder, cone or rectangular box. Choose the shape and the input fields change to match: side for a cube, radius for a sphere, radius and height for a cylinder or cone, and length, width and height for a box. Results update as you type.

The formulas are the standard ones. A cube has volume s³ and surface area 6s². A sphere has (4/3)πr³ and 4πr². A cylinder has πr²h and 2πr(r + h), so its surface area includes both circular ends. A cone has (1/3)πr²h and πr(r + slant), where the slant height is √(r² + h²), and its surface area includes the base disc. A box has l×w×h and 2(lw + lh + wh).

Every dimension must be a number that is zero or larger; anything else clears the results and shows a prompt. Changing the shape resets the fields to 2. The tool is unit-free: enter every length in the same unit and read the volume in that unit cubed and the surface area in that unit squared. Results are rounded to four decimal places. Everything is computed in your browser.

Frequently asked questions

What shapes are supported?
Cube, sphere, cylinder, cone and rectangular box. Each reports volume and total surface area.
Does the cone surface area include the base?
Yes. It is πr(r + slant height), which covers the curved side plus the circular base. The cylinder figure likewise includes both end discs.
What units does it use?
None. Use the same unit for every length, and the volume comes out in that unit cubed while surface area is in that unit squared. Convert litres or gallons separately.
Why do my values reset when I change the shape?
The input fields are rebuilt for each shape and start at 2, because the shapes need different dimensions.

More tools