Skip to content
IB Diploma ProgrammeSL & HL

3D distance, volume and area

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

3D distance, volume and area notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full 3D distance, volume and area notes as text: skim, search, and jump between subtopics.

~13 min read

1. Distance between two points

In three dimensions a point has three coordinates (x, y, z). The distance between two points is the length of the straight line joining them. It comes from Pythagoras' theorem used twice, so you square each difference, add, and take the square root.

Subtract the coordinates in the same order on every line. The signs vanish when you square, but a slip in a bracket does not. The command term 'calculate' needs the working, so write the substitution into the formula before the answer.

The formula is in the data booklet. Give an exact value such as √66 when it is asked for. Otherwise give three significant figures.

d = √((x₂ - x₁)² + (y₂ - y₁)² + (z₂ - z₁)²)

Worked example 12 marks

The points A(-1, 2, 0) and B(4, 6, 5) lie in three-dimensional space. Calculate the distance AB.

  1. 1

    attempt to use the distance formula: √((4 - (-1))² + (6 - 2)² + (5 - 0)²) (M1) [1]

  2. 2

    = √(25 + 16 + 25) = √66 = 8.12 A1 [1]

2. Midpoint and the sphere's centre and radius

The midpoint of two points is the mean of each pair of coordinates. Add the two x values and halve, then do the same for y and z.

A sphere with diameter [RS] has its centre at the midpoint of R and S. The radius is the distance from the centre to either end, or half the distance RS. Both routes give the same value.

The command term 'determine' asks for one valid answer with working. The markscheme gives a mark for an attempt to find the midpoint and a mark for an attempt to use the distance formula.

midpoint = ((x₁ + x₂)/2, (y₁ + y₂)/2, (z₁ + z₂)/2)

r = 1/2RS

Worked example 14 marks

All lengths in this question are in metres. A sphere has diameter [RS], where R(5, -3, 2) and S(-3, 3, -4).(a) Determine(i) the coordinates of the centre of the sphere;(ii) the radius of the sphere.

  1. 1

    attempt to find the midpoint of [RS]: ((5 + (-3))/2, (-3 + 3)/2, (2 + (-4))/2) (M1) [1]

  2. 2

    centre (1, 0, -1) A1 [1]

  3. 3

    attempt to use the distance formula to find the radius: √((1 - 5)² + (0 - (-3))² + (-1 - 2)²) (M1) [1]

  4. 4

    = √(16 + 9 + 9) = √34 = 5.83 m (5.83095...) A1 [1]

3. Volume and surface area of a cuboid

A cuboid has six rectangular faces in three equal pairs. Its volume is length × width × height. Its surface area is the sum of the areas of all six faces, so it is twice the sum of the three different face areas.

When a cuboid has a volume given, the volume equation links its three sides. Rearrange it to write one side in terms of the others, then substitute into the surface area. This turns the area into a function of one variable.

A 'show that' question needs every step to reach the given result, so write the substitution out in full.

V = lwh

A = 2(lw + lh + wh)

Worked example 14 marks

A cuboid has a rectangular base of length x, width x² and height y. The cuboid has a volume of 1000 cubic metres and surface area A.(c)(i) Write down an equation for the volume of the cuboid in terms of x and y.(ii) Show that A = 2(x³ + 1000/x + 1000/x²).

  1. 1

    V = x × x² × y (= 1000) OR x³ y = 1000 A1 [1]

  2. 2

    A = 2(x³ + x² y + xy) A1 [1]

  3. 3

    attempt to rearrange and substitute their y into the expression for the surface area M1 [1]

  4. 4

    correct substitution of y = 1000/x³: A = 2(x³ + x² × 1000/x³ + x × 1000/x³) A1 [1]

  5. 5

    A = 2(x³ + 1000/x + 1000/x²) AG

4. Right pyramids and cones

A right pyramid has its apex directly above the centre of its base. A cone is the same idea with a circular base. Both have volume one third of base area × perpendicular height.

A cone has three lengths: the radius r, the vertical height h and the slant height l. They form a right-angled triangle, so l² = r² + h². The volume uses h. The curved surface uses l. Do not swap them.

A cone made from a sector has two links. The arc length of the sector is the circumference of the cone's base. The sector's radius is the cone's slant height. The data booklet gives the sector area and arc length for an angle in radians.

V = 1/3Ah

V = 1/3π r² h

curved surface area = π r l

l² = r² + h²

Worked example 16 marks

The points A and B lie on a circle, with centre O and radius 19.5 cm, such that BhatOA = 210^(°). A piece of paper is cut into the shape of the sector BOA. A hollow cone with no base is constructed from the sector by joining the points A and B. The sector forms the curved surface of the cone. Find(a) the area of the sector BOA;(b) the radius of the cone.

  1. 1

    210^(°) = 210π/180 = 7π/6 (= 3.66519…) radians (A1) [1]

  2. 2

    attempt to use the radian formula for the area of a sector: 1/2(19.5)² × 7π/6 (M1) [1]

  3. 3

    area = 3549π/16 = 697 cm² (696.844...) A1 [1]

  4. 4

    arc length = 19.5 × 7π/6 = 91π/4 = 71.4712… (A1) [1]

  5. 5

    attempt to set 2π r equal to the arc length: 2π r = 91π/4 (M1) [1]

  6. 6

    r = 91/8 = 11.4 cm (11.375) A1 [1]

5. Sphere and hemisphere

A sphere of radius r has the volume and surface area in the data booklet. A hemisphere is half a sphere, so its volume is half. Its curved surface is half the sphere's surface area.

A solid hemisphere also has a flat circular face. Add its area π r² when the question asks for the total surface area.

The markscheme gives a mark for an attempt to substitute their radius into the volume formula. A wrong radius from an earlier part is followed through, so always show the value you substitute. Volume is in cubic units, such as m³.

V = 4/3π r³

A = 4π r²

V_hemisphere = 2/3π r³

Worked example 12 marks

All lengths in this question are in metres. A sphere has diameter [RS], where R(5, -3, 2) and S(-3, 3, -4). Its radius is √34 m.(b) Find the volume of the sphere.

  1. 1

    attempt to substitute their radius into the volume formula: V = 4/3π(√34)³ (M1) [1]

  2. 2

    V = 830 m³ (830.437...) A1 [1]

6. Combined solids

A combined solid is built from the solids above joined together, such as a cone on a hemisphere. Split it into parts. Find the volume of each part. Add the volumes.

For surface area, add only the faces that are on the outside. A face where two parts join is hidden, so leave it out.

Check that the parts share the same radius where they meet. Keep the exact value, such as a multiple of π, until the final line.

V_total = V₁ + V₂

Worked example 14 marks

A solid toy is made from a cone placed on top of a hemisphere. The hemisphere has radius 4 cm. The cone has the same base radius and a vertical height of 9 cm. Calculate the volume of the toy.

  1. 1

    cone: V = 1/3π (4)² (9) = 48π (A1) [1]

  2. 2

    hemisphere: V = 2/3π (4)³ = 128π/3 (A1) [1]

  3. 3

    attempt to add the two volumes: 48π + 128π/3 = 272π/3 (M1) [1]

  4. 4

    = 285 cm³ (284.837...) A1 [1]

7. Angles in three-dimensional solids

The angle between a line and a plane is the angle between the line and its projection on the plane. The projection is the shadow of the line straight down onto the plane.

The angle between two intersecting lines is measured where they meet, in the triangle that holds them both.

In SL examinations only right-angled trigonometry is set in three dimensions. Find a right-angled triangle that holds the angle. Use Pythagoras for any missing side, then sine, cosine or tangent. Draw the triangle on its own, flat, with its lengths marked.

sinθ = opp/hyp, cosθ = adj/hyp, tanθ = opp/adj

Worked example 14 marks

A right pyramid has a square base of side 8 cm and a vertical height of 6 cm. Determine the angle between a sloping edge and the base.

  1. 1

    the projection of a sloping edge on the base is half the base diagonal: √(8² + 8²) = √(128) (M1) [1]

  2. 2

    half diagonal = √32 = 5.657… cm (A1) [1]

  3. 3

    right-angled triangle with height 6: tanθ = 6/(√32) (M1) [1]

  4. 4

    θ = 46.7^(°) A1 [1]

Recap

  • Distance: d = √((x₂ - x₁)² + (y₂ - y₁)² + (z₂ - z₁)²). Substitute before you evaluate.
  • Midpoint: the mean of each pair of coordinates. The centre of a sphere with diameter [RS] is the midpoint of RS.
  • Radius is half the diameter. Check which one a length is before using it.
  • Volumes: cuboid lwh, pyramid 1/3Ah, cone 1/3π r² h, sphere 4/3π r³. Use the data booklet.
  • Cone: l² = r² + h². Volume uses h. Curved surface π r l uses l.
  • Hemisphere: half the volume, and add the flat face π r² for total surface area.
  • Angle in a solid: find a right-angled triangle, use Pythagoras for the missing side, then a trigonometric ratio.
  • Volume in cubic units, area in square units. Give three significant figures unless exact is asked.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State the midpoint of the line segment joining A(2, 6, -4) and B(4, -2, 8).1 mark
    Answer
    1. (3, 2, 2) A1

    Trap: The midpoint is the mean of each pair of coordinates. Adding without halving gives (6, 4, 4).

  2. Do not use a calculator. Calculate the distance between P(1, 2, 3) and Q(4, 6, 15).2 marks
    Answer
    1. √((4 - 1)² + (6 - 2)² + (15 - 3)²) = √(9 + 16 + 144) (M1)
    2. = √(169) = 13 A1

    Trap: Leaving out the z difference gives √25 = 5. Every one of the three coordinates needs a squared difference.

  3. A cone has a base of diameter 12 cm and a vertical height of 8 cm. Calculate the volume of the cone.3 marks
    Answer
    1. radius = 6 cm (A1)
    2. V = 1/3π (6)² (8) = 96π (M1)
    3. = 302 cm³ A1

    Trap: The base is given as a diameter. Using 12 as the radius gives 384π, four times too big.

  4. A solid hemisphere has radius 5 cm. Calculate its total surface area, including the flat circular face.3 marks
    Answer
    1. curved surface = 1/2(4π × 5²) = 50π (M1)
    2. flat face = π × 5² = 25π (A1)
    3. total = 75π = 236 cm² A1

    Trap: The flat circular face is easy to leave out. 'Total' means the curved surface plus the flat face, 3π r².

  5. Do not use a calculator. A sphere has surface area 100π cm². Find the radius of the sphere.3 marks
    Answer
    1. 4π r² = 100π (M1)
    2. r² = 25 (A1)
    3. r = 5 cm A1

    Trap: Stopping at r² = 25 gives a radius of 25. Take the square root as the last step.

  6. A cuboid has a rectangular base 8 cm by 6 cm and a height of 5 cm. Determine the angle between a space diagonal of the cuboid and its base.4 marks
    Answer
    1. base diagonal = √(8² + 6²) (M1)
    2. = 10 cm (A1)
    3. tanθ = 5/10 (M1)
    4. θ = 26.6^(°) A1

    Trap: The projection of the space diagonal on the base is the base diagonal, 10 cm. Using the side 8 cm gives 32.0^(°).

  7. A right pyramid has a square base of side 10 cm and a vertical height of 12 cm. Calculate its total surface area.4 marks
    Answer
    1. slant height of a triangular face: √(12² + 5²) (M1)
    2. = 13 cm (A1)
    3. four faces: 4 × 1/2 × 10 × 13 = 260 (M1)
    4. total = 260 + 100 = 360 cm² A1

    Trap: The triangular faces need the slant height, 13, not the vertical height, 12. Using 12 gives 340.

  8. A paperweight is a solid hemisphere of radius 3 cm. A right cone with the same base radius and a vertical height of 4 cm stands on its flat face. Calculate the volume of the paperweight.4 marks
    Answer
    1. cone: 1/3π (3)² (4) = 12π (A1)
    2. hemisphere: 2/3π (3)³ = 18π (A1)
    3. attempt to add: 12π + 18π = 30π (M1)
    4. = 94.2 cm³ (94.2477...) A1

    Trap: A hemisphere is half a sphere. Using the full sphere, 36π, gives 48π = 151 cm³.

  9. All lengths in this question are in metres. A flat field lies in the plane z = 0. A drone hovers at D(4, 3, 12). A ground station is at G(-2, -5, 0). The point F on the field is directly below D. (a) Find the distance DG. (b) Write down the coordinates of F. (c) Determine the angle between the line DG and the field.7 marks
    Answer
    1. (a)
    2. √((4 - (-2))² + (3 - (-5))² + (12 - 0)²) = √(36 + 64 + 144) (M1)
    3. DG = √(244) = 15.6 m (15.6204...) A1
    4. (b)
    5. F(4, 3, 0) A1
    6. (c)
    7. the projection of DG on the field is FG: √(6² + 8²) (M1)
    8. FG = 10, and triangle DFG has its right angle at F (A1)
    9. tanθ = 12/10 OR sinθ = 12/(√(244)) (M1)
    10. θ = 50.2^(°) (50.1944...) A1

    Trap: Rounding DG to 15.6 before the last step gives sin⁻¹(12/15.6) = 50.3^(°). Keep the exact value √(244), or use FG, which is exact.

  10. A marker buoy is a solid made from a hemisphere of radius r cm joined to a right cone with the same base radius. The vertical height of the cone is 2r cm. The buoy has a volume of 1000 cm³. (a) Show that the volume of the buoy is 4/3π r³. (b) Find the value of r. (c) Determine the total surface area of the buoy.8 marks
    Answer
    1. (a)
    2. cone: 1/3π r² (2r) = 2/3π r³ (M1)
    3. hemisphere: 2/3π r³, so the total is 2/3π r³ + 2/3π r³ A1
    4. = 4/3π r³ AG
    5. (b)
    6. 4/3π r³ = 1000 (M1)
    7. r = 6.20 cm (6.20350...) A1
    8. (c)
    9. slant height: l = √(r² + (2r)²) = r√5 (M1)
    10. l = 13.9 cm (13.8714...) (A1)
    11. outside surfaces only: cone π r l plus hemisphere 2π r², π(6.2035…)(13.8714…) + 2π(6.2035…)² (M1)
    12. = 512 cm² (512.138...) A1

    Trap: The flat circular face where the cone meets the hemisphere is hidden. Adding it gives 633 cm², and using the vertical height 2r in place of l gives 484 cm².

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
The radius of the sphere is RSThe radius is half the diameter [RS]. Here the distance from the centre to R is √34 m
Volume of the sphere is 830 m²830 m³. Volume is in cubic units. m² is for area
V = 1/3π r² l for a coneV = 1/3π r² h with the vertical height. The slant height l is for the curved surface π r l
Angle in the pyramid: tanθ = 6/8Use the half base diagonal, √32, not the side of the base, as the projection of a sloping edge

Frequently asked questions

How do you calculate the distance between two points in three dimensions?
Square each difference in the coordinates, add the three squares, and take the square root: d = √((x₂ - x₁)² + (y₂ - y₁)² + (z₂ - z₁)²). For A(-1, 2, 0) and B(4, 6, 5) this gives √66 = 8.12. Write the substitution into the formula before the answer.
How do you find the midpoint of two points in 3D?
Add each pair of coordinates and halve the result: the midpoint is ((x₁ + x₂)/2, (y₁ + y₂)/2, (z₁ + z₂)/2). The centre of a sphere with diameter [RS] is the midpoint of R and S, and its radius is half the distance RS.
How do you work out the volume of a cone when only the slant height is given?
The volume of a cone is 1/3π r² h, and it uses the vertical height h, not the slant height l. The slant height is for the curved surface, π r l, and the three lengths satisfy l² = r² + h². Find h with Pythagoras if it is missing, then substitute.
What is the volume of a hemisphere and how do you find its total surface area?
A hemisphere has volume 2/3π r³, which is half the volume of a sphere. Its curved surface is half the sphere's surface area. For total surface area, add the flat circular face π r²: a hemisphere of radius 5 cm has total surface area 75π = 236 cm².
What is the angle between a line and a plane in a solid?
The angle between a line and a plane is the angle between the line and its projection on the plane. Find a right-angled triangle that holds the angle, use Pythagoras for any missing side, then sine, cosine or tangent. In a pyramid with base side 8 cm, a sloping edge projects onto half the base diagonal, √32.
What common mistakes lose marks in volume and surface area questions for solids?
A slant height must not be used where the vertical height is needed, or the reverse. The triangular faces of a pyramid need the slant height 13 cm, not the vertical height 12 cm. A volume is in cubic units, such as m³, not m², and a hidden face where two parts join is left out.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters