You need: a magnifying glass, a lamp with the shade removed or a bright window, a sheet of white paper taped to a wall or a box, and a measuring tape. Grown-up note: never point the magnifying glass at the sun or use it to focus sunlight on anything. Focused sunlight can start a fire and can permanently damage eyes. Do this indoors, with a lamp or a window that is not in direct sunlight. A hot lamp bulb can burn, so do not touch it.
- Far object. Stand across the room from the window. Move the magnifying glass between the window and the paper until you see a sharp, upside-down image of the window. Measure the lens-to-paper distance. For a very far object, 1/d_o is almost 0, so this distance is about f.
- Near object. Put the lamp about 1 m (d_o = 100 cm) from the lens. Move the paper until the lamp's image is sharp, and measure d_i.
- Use 1/f = 1/d_o + 1/d_i, solved as f = d_o·d_i/(d_o + d_i), to calculate f from your step 2 measurements. Compare it with step 1.
- Predict d_i for d_o = 60 cm using d_i = f·d_o/(d_o − f). Test your prediction.
What to look for: your numbers depend on your lens. For example, if f = 20 cm, the lamp at 100 cm gives d_i = 2000/80 = 25 cm, and at 60 cm it gives 1200/40 = 30 cm. Your two values of f should agree within a few centimetres; the image is only sharp over a small range, which limits the precision.