Skip to content
Tutorials Center
My learning

Topics

Lesson 27 of 37 · Volume and Surface Area

Prisms and Cylinders: Volume and Surface Area

Learn volume as base area times height, surface area from nets, and how to convert cm³ to liters, for prisms and cylinders, with worked examples and code.

Flat shapes have area; solid shapes have volume (how much space they take up, or how much they can hold) and surface area (the total area of their outside faces). Volume tells you how much water fits in a tank. Surface area tells you how much paper wraps a box. This lesson covers the two most common families: prisms and cylinders.

Volume: base area times height

A prism has two identical, parallel bases joined by flat rectangular sides. A cylinder is the same idea with circular bases. Imagine stacking thin slices, each exactly the shape of the base. The stack is h tall, so:

Text
Volume = (area of the base) × height      V = B × h

This works for every right prism (one whose sides stand straight up) and every right cylinder. In fact it works for slanted ones too: what matters is the perpendicular height.

Solid Base area B Volume
Cuboid l × w × h l × w lwh
Cube, edge s s² s³
Triangular prism ½ b h_t (triangle) ½ b h_t × L
Cylinder, radius r πr² πr²h

Example: a cuboid fish tank is 60 cm long, 30 cm wide and 40 cm tall. Its volume is 60 × 30 × 40 = 72,000 cm³.

Volume units

Volume is measured in cubic units: cm³, m³. Converting needs the cubed factor: 1 m³ = 100 × 100 × 100 cm³ = 1,000,000 cm³. For liquids, 1 liter = 1,000 cm³ (a cube 10 cm on each side) and 1 m³ = 1,000 liters. The fish tank above holds 72,000 cm³ = 72 liters.

Surface area and nets

To find surface area, imagine cutting the solid along its edges and unfolding it flat. The flat pattern is a net. Surface area is the sum of the areas of all faces in the net.

For any right prism:

Text
Surface area = 2 × (area of base) + (perimeter of base) × height
             = 2B + P h

The second part, P × h, is the lateral area: the sides unrolled form one big rectangle of width P and height h.

Example: a cuboid 4 cm by 3 cm by 10 cm tall. B = 12, P = 14. SA = 2 × 12 + 14 × 10 = 24 + 140 = 164 cm². Check by adding six faces: 2(4×3) + 2(4×10) + 2(3×10) = 24 + 80 + 60 = 164. ✓.

flowchart LR
    A["Right prism or cylinder"] --> B["Volume = B × h"]
    A --> C["Surface area = 2B + P × h"]
    C --> D["Two bases"]
    C --> E["Lateral rectangle: P × h"]

Both formulas use the base area B and the base perimeter P.

Cylinders

For a cylinder of radius r and height h, the base is a circle, so B = πr² and P = 2πr. The lateral surface, when unrolled, is a rectangle with width 2πr (the circumference) and height h.

Text
V  = π r² h
SA = 2π r² + 2π r h = 2π r (r + h)

Example: a can has radius 3 cm and height 10 cm.

  • Volume = π × 9 × 10 = 90π ≈ 282.7 cm³ (about 0.28 liters).
  • Surface area = 2π × 9 + 2π × 3 × 10 = 18π + 60π = 78π ≈ 245.0 cm².

An open-top cup has no top circle, so its surface is πr² + 2πrh. Always read what is included: an open tank, a closed box and a pipe without end caps need different formulas.

If a problem gives the diameter, halve it for r. A common mistake is V = π d² h, which is four times too big.

Calculators you can trust

The program defines the formulas and checks the cuboid by adding faces separately. It also converts to liters.

Python Volume and surface area of prisms and cylinders

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

How full is the tank?

Volume problems often ask for a height. If you pour V of water into a base of area B, the water depth is V / B. The program below fills a cylindrical tank and finds depth.

Python Water depth in a cylinder

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The tank holds about 100.5 liters, so 10 L, 50 L and 90 L all fit (the 90 L depth is about 71.6 cm). Try 110 L to see the overflow check trigger.

Common mistakes

  • Using the slanted edge instead of the perpendicular height.
  • Forgetting one of the two bases in the surface area.
  • Mixing units: all lengths must be in the same unit before multiplying.
  • Converting cubic units with the linear factor: 1 m³ is 1,000,000 cm³, not 100 cm³.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. A cuboid measures 5 cm by 4 cm by 3 cm. What is its volume?

    V = l × w × h = 5 × 4 × 3 = 60 cm³.
  2. 2. A cylinder has radius 5 cm and height 8 cm. Which expression is its volume?

    V = πr²h = π × 25 × 8 = 200π cm³.
  3. 3. How many liters are in 5,000 cm³?

    1 liter = 1,000 cm³, so 5,000 cm³ = 5 liters.
  4. 4. A cube has edge 6 cm. What is its total surface area?

    A cube has 6 faces of area 36 cm² each, so SA = 216 cm².

Summary

  • Volume of a prism or cylinder: V = B × h (base area times perpendicular height).
  • Surface area of a right prism: 2B + P × h; for a cylinder 2πr(r + h).
  • 1 liter = 1,000 cm³ and 1 m³ = 1,000 liters.
  • Cubic conversions use the cubed factor.

Next: Pyramids and Cones