Volume & Surface Area Calculator
Calculate the volume and surface area of 7 common 3D solids — cube, rectangular prism, sphere, cylinder, cone, square pyramid and triangular prism — from a single shape picker.
Input
Output
| Property | Value |
|---|---|
| No data yet | |
Guides
The Volume & Surface Area Calculator computes both measurements for 7 common 3D solids — cube, rectangular prism, sphere, cylinder, cone, square pyramid and triangular prism — from one shape picker, instead of hunting down a separate calculator for each.
How to use it
- Pick a solid from the dropdown.
- Choose a unit (mm, cm, m, km, in, ft or yd).
- Enter the solid's dimensions — the fields update to match the shape you picked.
- Read the volume and surface area. Results update as you type; copy or download them as CSV.
What each solid needs
- Cube — one side length. Also reports the space diagonal.
- Rectangular prism (box) — length, width and height. Also reports the space diagonal.
- Sphere — one radius.
- Cylinder — radius and height. Reports total surface area (both caps + the curved side) and the lateral surface area alone (the curved side only, without the caps) — useful for sizing a label or a rolled sheet.
- Cone — radius and height. Reports total surface area, lateral surface area, and the slant height used to compute them.
- Square pyramid — the square base's side length and the pyramid's height. Reports total surface area, lateral surface area, and the slant height (apex to the midpoint of a base edge).
- Triangular prism — the three side lengths of the triangular cross-section plus the prism's length. Reports total surface area and the lateral surface area (the three rectangular side faces, without the two triangular ends).
Enter three side lengths that can't form a real triangle (e.g. 1, 1, 10) and the triangular prism form flags it instead of returning a nonsense result.
Is my data private?
Yes. The entire calculation runs locally in your browser — nothing is uploaded to a server.
Common uses
Estimating material or paint needed for a container, packaging or shipping-box sizing, tank/silo volume estimates, and general geometry homework.
Use it from code
REST API
curl -X POST https://api.iotools.cloud/v1/tool/volume-surface-area-calculator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"shape": "cube",
"unit": "cm",
"side": "4"
}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `volume-surface-area-calculator` tool (Volume & Surface Area Calculator) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.
| Cost per call | From 5 credits |
|---|