Volume Calculator
Find the volume of nine solids — cube, cuboid, cylinder, cone, sphere, hemisphere, square pyramid, triangular prism and rectangular prism — with the surface area alongside. Pick a solid, enter its measurements, and both answers appear instantly.
Volume is the amount of space a solid occupies, measured in cubic units. Use one unit for all the measurements in a calculation. The menu sets the unit, and the result is shown in cubic units — ft³ or m³, whichever you chose.
Volume
How It Works
Volume is the amount of space a solid occupies, measured in cubic units. Each solid has its own formula, and this calculator applies the standard one for the solid you pick:
- Cube: volume = s³; surface area = 6s².
- Cuboid / rectangular prism: volume = length × width × height; surface area = 2(lw + lh + wh).
- Cylinder: volume = πr²h; surface area = 2πr(r + h) — the curved side (2πrh) plus the two circular ends (2πr²).
- Cone: volume = ⅓πr²h; surface area = πr(r + l), where the slant height l = √(r² + h²).
- Sphere: volume = ⁴⁄₃πr³; surface area = 4πr².
- Hemisphere: volume = ⅔πr³; total surface area = 3πr² — the curved dome (2πr²) plus the flat circular base (πr²).
- Square pyramid: volume = ⅓ × base² × height; surface area = base² + 2 × base × slant height, where the slant height is √(h² + (base/2)²).
- Triangular prism: volume = (½ × triangle base × triangle height) × length; surface area = 2 × triangle area + triangle perimeter × length.
Notice the pattern: a cone holds exactly one third of the cylinder it fits inside, and a pyramid holds exactly one third of the box it fits inside — that ⅓ is the signature of a solid that tapers to a point. Volume and mass together give density — mass divided by volume.
Worked Example
A cylinder of radius 3 m and height 5 m has volume π × 3² × 5 = 45π ≈ 141.3717 m³ and surface area 2π × 3 × (3 + 5) = 48π ≈ 150.7964 m². A sphere of radius 3 m has volume ⁴⁄₃π × 27 = 36π ≈ 113.0973 m³ and surface area 4π × 9 = 36π ≈ 113.0973 m² — the same number, a coincidence that only happens at r = 3.
A cone of radius 3 m and height 4 m has volume ⅓π × 9 × 4 = 12π ≈ 37.6991 m³; its slant height is √(3² + 4²) = 5, so its surface area is π × 3 × (3 + 5) = 24π ≈ 75.3982 m². A square pyramid with base side 4 m and height 6 m has volume ⅓ × 16 × 6 = 32 m³ and surface area 16 + 2 × 4 × √40 ≈ 66.5964 m². A cube of side 4 m holds 4³ = 64 m³ with surface area 6 × 16 = 96 m².
Assumptions
- All measurements must use the same unit. If your radius is in centimetres and your height in metres, convert one first — the calculator does not mix units.
- Heights are perpendicular. For cones and pyramids the height is the straight-line distance from the tip to the base, not the slant height — the calculator works the slant height out itself.
- The pyramid is a right square pyramid — a square base with the apex directly above its centre. A pyramid with a different base shape needs its own formula.
- Measurements must be positive. Zero or negative measurements are rejected with a message rather than producing a meaningless volume.
- Hemisphere surface area includes the flat base (3πr² total). The curved dome alone is 2πr², and both figures are shown in the results table.
Sources: No external data is used on this page — every figure is calculated from the measurements you enter. Last reviewed: 15 November 2026.
Built and tested by SumKitTool — see how we check our numbers.
How to Use This Calculator
Pick your solid from the menu, choose the unit, and enter the measurements shown. The volume appears immediately, with the surface area — and any useful breakdown, such as the curved surface of a cone — in the table below. Switch solids any time; each solid remembers its own inputs.
Working out how much a tank holds? Use the cylinder for a round tank or the cuboid for a rectangular one, then convert: 1 m³ is 1,000 litres, and 1 ft³ is about 7.4805 US gallons. A 141.37 m³ cylinder holds about 141,370 litres.
Tips and Practical Advice
Volume grows fast — doubling every measurement multiplies the volume by eight.
- Don't confuse diameter and radius. The cylinder, cone, sphere and hemisphere ask for the radius — half the width across. If you measured across the whole solid, halve it first.
- Check the unit on the answer. A volume in ft³ is not the same as one in m³ — 1 m³ is about 35.3147 ft³, so a tank that is 2 m³ holds about 70.6 ft³.
- Round up when ordering. Concrete, soil and gravel are sold by volume and always need 5–10% extra for settling and spillage — the exact figure is the minimum, not the order quantity.
- Use surface area for paint and coating. The volume tells you what a solid holds; the surface area tells you how much paint, wrapping or insulation it needs.
Frequently Asked Questions
Which solids does this volume calculator cover?
Nine solids: cube, cuboid, cylinder, cone, sphere, hemisphere, square pyramid, triangular prism and rectangular prism. Pick a solid from the menu and the calculator shows only the measurements that solid needs — for example, just a radius for a sphere, or radius and height for a cylinder.
Is surface area shown as well as volume?
Yes — every solid shows its total surface area next to the volume, and where it is useful the working is broken down further, such as the curved surface of a cone or the base and side faces of a pyramid. For a triangular prism, add the two extra triangle sides to see the full surface area.
What is the difference between a cuboid and a rectangular prism?
Nothing — they are two names for the same solid, a box with six rectangular faces. Both options are listed because people search for both names, and both use the same formula: volume = length × width × height.
How do I convert the volume to litres or gallons?
The calculator reports volume in cubic units of the unit you chose. One cubic metre is 1,000 litres, and one cubic foot is about 7.4805 US gallons. So a cylinder of 141.37 cubic centimetres holds about 0.141 litres — divide cubic centimetres by 1,000 to get litres.
Last updated: