Works on this device
Volume & Surface Area Calculator
Work out the volume and the surface area of common solid shapes. Choose a shape, enter the sizes you have, and pick a unit for each one. The formula and the working are shown with the answer.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose a shape or a task, for example Cylinder or Swimming pool.
- Choose which sizes you know, such as the radius or the diameter. Enter each size and pick its unit. The sizes can use different units.
- Choose Calculate. The volume and the surface areas are shown first, in the unit of your first size.
- Change the unit of any result with the menu next to it, for example to litres, gallons or cubic yards.
- Read How it was worked out to check each step. You can copy the result, print it or download it as a CSV file.
Shapes and formulas
- Box or cuboid: volume = length × width × height. Surface area = 2 × (lw + lh + wh).
- Cube: volume = side³. Surface area = 6 × side².
- Cylinder: volume = π × r² × h. Curved area = 2 × π × r × h. Total area = 2 × π × r × (r + h).
- Pipe or hollow cylinder: inside volume = π × (inside diameter ÷ 2)² × length. Wall volume = π × (D² − d²) ÷ 4 × length.
- Cone: volume = π × r² × h ÷ 3. Slant height s = √(r² + h²). Curved area = π × r × s.
- Truncated cone: volume = π × h × (R² + R × r + r²) ÷ 3. Curved area = π × (R + r) × s.
- Sphere: volume = 4 × π × r³ ÷ 3. Surface area = 4 × π × r². A hemisphere has half the volume.
- Spherical cap: volume = π × h² × (3 × R − h) ÷ 3. Curved area = 2 × π × R × h.
- Pyramid: volume = base area × height ÷ 3. The surface area adds the triangle faces to the base.
- Truncated pyramid or hopper: volume = h ÷ 6 × (A1 + A2 + (l1 + l2) × (w1 + w2)).
- Prism: volume = area of the end × length. Surface area = perimeter of the end × length + 2 × area of the end. This covers triangular and trapezoidal prisms and prisms with a regular polygon or an ellipse as the base.
- Ellipsoid: volume = 4 × π × a × b × c ÷ 3. Torus: volume = 2 × π² × R × r². Capsule: a cylinder and one sphere.
- Partly filled tank: the liquid volume at a measured depth, with a dip chart, for a cylinder on its side, an upright cylinder or a rectangular tank.
- Dished tank head: the volume inside an ellipsoidal, torispherical or hemispherical end.
Worked examples
Cylinder. Radius 3 cm and height 10 cm. Volume = π × 3² × 10 = 282.743 cm³. Curved surface area = 2 × π × 3 × 10 = 188.496 cm². Total surface area = 188.496 + 2 × 28.2743 = 245.044 cm².
Box. 30 cm × 20 cm × 10 cm. Volume = 6,000 cm³, which is 6 litres. Surface area = 2 × (600 + 300 + 200) = 2,200 cm².
Cone. Radius 3 cm and height 4 cm. Slant height = √(3² + 4²) = 5 cm. Volume = π × 3² × 4 ÷ 3 = 37.6991 cm³. Curved surface area = π × 3 × 5 = 47.1239 cm².
Slab in cubic yards. Length 12 ft, width 10 ft and depth 4 in. Volume = 12 × 10 × 0.333333 = 40 ft³. Change the result unit to yd³ to read 1.48148 cubic yards.
Pool. A rectangular pool 8 m long and 4 m wide, 1 m deep at one end and 2 m at the other. Average depth = 1.5 m. Volume = 32 × 1.5 = 48 m³, which is 48,000 litres.
Tank on its side. Inside diameter 1.2 m, length 3 m, liquid 0.4 m deep. The tank holds 990.025 litres of a full 3,392.92 litres, so it is 29.18% full.
Units
- Lengths can be in millimetres, centimetres, metres, inches, feet or yards. Each box has its own unit menu, so you can mix feet and inches.
- Volumes can be shown in mm³, cm³, mL, litres, m³, in³, ft³, yd³, US gallons (gal) and imperial gallons (imp gal). 1 cm³ is 1 mL. 1 m³ is 1,000 litres. 1 US gallon is 231 in³. 1 imperial gallon is 4.54609 litres.
- CBM means cubic metres. To add up equal cartons, open More options in the box shape and enter how many there are.
Limits you should know
- Every shape is a perfect solid. Real tanks, pools, piles and pits have rounded corners, sloped floors and uneven sides, so treat the result as an estimate.
- Cones, pyramids and prisms are right solids: the tip is straight above the centre of the base, and the ends of a prism are square to its length.
- A shape made of several simple solids is not worked out in one step. Find each part and add the volumes.
- The surface area of an ellipsoid and the edge of an ellipse have no simple formula. They are worked out with elliptic integrals and are correct to about 10 digits.
- The partly filled tank on its side has flat ends. Dished ends are worked out on their own, for a full head only.
- The dished head result is geometry only. It is not a pressure vessel design check, and it does not give the blank size or the weight of a head.
- This tool has no table of material densities, pipe sizes, container sizes or bag sizes. You enter the sizes. It does not draw the shape or its net.
- Results are shown with 6 significant digits. The CSV file has more digits.