← Math & statistics

3D Geometry Calculator

Compute the volume and surface area of spheres, cylinders, cones, rectangular prisms, and regular prisms.

Other languages 日本語 | English | 简体中文 | 繁體中文 | 繁體中文(香港) | Español | Español (México) | Português (Brasil) | Português (Portugal) | Bahasa Indonesia | Tiếng Việt | 한국어 | Français | Deutsch | Italiano | Русский | हिन्दी | العربية | বাংলা | اردو | Türkçe | ไทย | Polski | Filipino | Bahasa Melayu | فارسی | Nederlands | Українська | עברית | Čeština

Compute the volume and surface area of spheres, cylinders, cones, rectangular prisms, and regular prisms. Ideal for architecture, fabrication, education, and lab work.

Your inputs sync to the query string, so you can share or reopen exact calculations on any device.

Sphere

Feed the radius to obtain volume and surface area—great for tanks, drops, or domes.

Use any unit so long as you keep it consistent across dimensions.

Results

Volume
--
Surface area
--

Cylinder

Enter base radius and height to get volume, total surface area, and lateral area.

Supply the radius of the circular base.
Enter the perpendicular height of the cylinder.

Results

Volume
--
Surface area
--
Lateral area
--

Cone

Calculate volume, surface area, and slant height from the radius and height.

Enter the radius of the circular base.
Provide the vertical height from base to apex.

Results

Volume
--
Surface area
--
Slant height
--
Lateral area
--

Rectangular prism

Combine length, width, and height to determine volume, surface area, and the space diagonal.

Enter the longest side or depth.
Supply the shorter horizontal dimension.
Provide the vertical dimension.

Results

Volume
--
Surface area
--
Space diagonal
--

Regular prism

Handle prisms with regular polygon bases—see volume, surface area, base area, and lateral area in one go.

Enter an integer of 3 or more.
Provide the length of one polygon side.
Enter the height of the prism.

Results

Volume
--
Surface area
--
Base area
--
Lateral area
--

How to use the 3D geometry calculator

Choose the solid first, then enter dimensions in one unit system. The calculator reports volume and surface area from the same inputs, so a radius/diameter or height/slant-height mix-up will affect several results at once.

How it works

Each shape uses the standard formula for its geometry, with π kept internally and rounded only in the displayed answer. If you compare with a worksheet or CAD note, align whether the input is radius, diameter, edge length, perpendicular height, or slant height before judging a difference.

When to use

Use this page for quick classroom checks, packaging estimates, material takeoffs, and sanity checks before moving to a more detailed drawing. It is best for idealized shapes; irregular solids still need measurement or decomposition into simpler parts.

Common mistakes to avoid

Interpretation and worked example

For a cylinder, enter radius and height in the same unit. Volume grows with radius squared, so doubling radius has a much larger effect than doubling height. If the output looks too large, check the radius/diameter distinction first, then confirm the unit shown beside each input.

See also

FAQ

How should I handle units?

Use the same unit for every dimension. Volume is returned in cubic units and surface area in square units.

Does the shared URL keep my inputs?

Yes. Values are stored in the query string so anyone opening the link will see the same setup.

What should I do first on this page?

Start with the minimum required inputs or the first action shown near the primary button. Keep optional settings at defaults for a baseline run, then change one setting at a time so you can explain what caused each output change.

Why does this page differ from another tool?

Different pages often use different defaults, units, rounding rules, or assumptions. Align those settings before comparing outputs. If differences remain, compare each intermediate step rather than only the final number.

How reliable are the displayed values?

Values are computed in the browser and rounded for display. They are good for planning and educational checks, but for regulated or high-stakes decisions you should validate assumptions with official guidance or professional review.

How it’s calculated