Skip to main content

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

Results
PropertyValue
No data yet
Was this helpful?

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

  1. Pick a solid from the dropdown.
  2. Choose a unit (mm, cm, m, km, in, ft or yd).
  3. Enter the solid's dimensions — the fields update to match the shape you picked.
  4. 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.

volumesurface areasolidgeometrycubeprismspherecylinderconepyramidmathengineering

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_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

Cost per callFrom 5 credits

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.