Pinhole Box Camera
Summary
You’ll build a working camera from a box and a needle-hole, then record a real photograph on light-sensitive paper. You’ll be able to explain why the image is inverted and soft, why there’s an optimal pinhole size (geometry vs. diffraction), and why exposures run to minutes.
History
The camera obscura — Latin for dark room — is the direct ancestor of all photography, predating it by centuries. Leonardo da Vinci described the principle in the 1490s; it was used by Renaissance painters as a drawing aid and by 18th century naturalists to sketch landscapes. A small hole in the wall of a darkened room projects an inverted, real image of the outside world onto the opposite wall. By the early 19th century, portable camera obscura boxes were sold to artists.
When Fox Talbot and Daguerre developed their light-sensitive materials in the 1830s, they were adapting a device that already formed beautiful images. The challenge had always been making those images permanent. The pinhole camera collapses both problems back into one: build the box, coat the paper, expose, develop.
Unlike a lens camera, the pinhole has no moving parts, no focus adjustment, and infinite depth of field — everything in the scene, from a centimetre to infinity, is equally (un)sharp. The softness of a pinhole image is not a defect but a consequence of the aperture physics.
How a Pinhole Works
A small aperture in one wall of a dark box lets light from each point in the scene pass through and project onto the opposite wall. Because light travels in straight lines, each scene point contributes a narrow cone through the aperture that lands in a specific place; the sum of all those cones recreates the scene as an inverted, real image.
The optimal pinhole diameter depends on box length (focal length):
\[d = 1.9\sqrt{f \cdot \lambda}\]
where \(d\) is the hole diameter (mm), \(f\) the box length (mm), and \(\lambda\) = 0.00055 mm (550 nm). For a 100 mm box, ~0.37 mm; for a 300 mm shoebox, ~0.59 mm.
The f-number sets exposure time: \(f/\# = f/d\). A 300 mm box with a 0.6 mm hole is f/500 — very slow, which is why exposures are minutes, not fractions of a second.
Hazards & preparation
PPE: depends on the paper. For cyanotype, none needed. For silver-based papers, gloves.
- If you use salted paper or commercial photo paper, you’re handling silver salts and thiosulfate fixer — follow those pages’ hazards (silver stains; don’t drain silver waste).
- Load silver papers in the dark; cyanotype in dim light.
Disposal: cyanotype rinse water is low-hazard. For silver processes, precipitate and bin the silver waste per the salted-paper page. See the Safety page.
Materials
For the camera:
- A light-tight box: a shoebox, a short length of PVC pipe with end caps, or a tin can
- Thin metal foil (cut from a drinks can) for the pinhole plate
- A sharp sewing needle for making the hole
- Matte black paint or black card to line the interior (prevents internal reflections)
- Black electrician’s tape to seal seams and light leaks
- A small flap of black card as a shutter, held over the hole with tape
For the photosensitive material (choose one):
- Cyanotype paper: ferric ammonium citrate + potassium ferricyanide on watercolour paper (recommended for beginners)
- Salted paper: silver chloride in paper fibres
- Commercial black and white photo paper (requires a darkroom for loading and development)
Building the Camera
- Prepare the interior: paint it matte black or line with black card (any reflective surface reduces contrast). Let dry.
- Make the pinhole: cut a 2 × 2 cm foil square, place on glass, and push a fine needle straight through the centre (don’t rotate). Held to a lamp, the hole should be a tiny round dot; remake if jagged.
- Mount the pinhole: cut a small hole in the centre of one end of the box and tape the foil over it from inside, centred.
- Make a shutter: hinge a flap of black card over the pinhole with tape so it swings open and closed (or use lift-off tape).
- Check for light leaks: in a dim room, inspect all seams and re-tape any gaps.
Loading and Shooting
Load the paper in dim tungsten light (cyanotype) or darkness (silver), coated side facing the pinhole, taped to the back wall; seal the camera.
Estimating exposure — start from the sunny-16 rule, scaled to your f-number:
\[t_\text{pinhole} = \frac{1}{\text{ISO}} \times \left(\frac{f/\#}{16}\right)^2\]
| Paper type | Approx. ISO | Typical exposure at f/500, bright sun |
|---|---|---|
| Cyanotype | ~0.5 | 30–90 minutes |
| Salted paper | ~0.1 | Several hours |
| RC/fibre photo paper | ~6 | 1–10 seconds |
Stabilise the camera completely (any movement blurs a multi-minute exposure), aim at a static, brightly-lit subject, and take a test strip first. Open the shutter, time the exposure, then close it.
What you should see
On the developed paper: a soft, dreamy, inverted image of your scene — buildings and landscapes recognizable but gently unsharp everywhere at once (a pinhole has no focus). Cyanotype gives blue tones; silver papers a brown or grey negative you can contact-print to a positive. Anything that moved during the long exposure blurs into a ghost or vanishes.
| Problem | Likely cause | Fix |
|---|---|---|
| Completely black | Overexposed, or light leak | Reduce exposure; re-tape seams |
| Completely white/blank | Underexposed, or paper loaded backwards | Increase exposure; check the coated side faces the hole |
| Fuzzy blob, no image | Pinhole too large or irregular | Remake the pinhole on fresh foil |
| Streaks of light | Light leak at a seam | Re-tape all seams |
| Double/ghost image | Camera moved during exposure | Stabilise firmly; shoot static subjects |
The Science
The pinhole demonstrates two fundamentals:
Rectilinear propagation of light: light travels in straight lines. Only the narrow cone from each scene point that passes through the pinhole reaches the film, landing in a spot that maps to the source direction. The image inverts because rays from the top of the scene cross through the hole to the bottom of the film.
Diffraction limit: shrinking the pinhole doesn’t sharpen indefinitely. A very small aperture makes light diffract (spread around the edges), giving a blurred disk. The formula \(d = 1.9\sqrt{f\lambda}\) finds the size where geometric blur (worse for big holes) and diffraction blur (worse for tiny holes) are balanced.
The huge sensitivity gap between papers (cyanotype minutes vs. photo paper seconds) reflects their chemistry: cyanotype is a direct iron photoreduction with no amplification, while gelatin-silver paper uses latent-image amplification for a ~10⁸ sensitivity advantage.
Questions to Explore
Why is the image inverted? A lens camera does the same — and why don’t we see the world upside-down through our eyes?
Hint / answer
Straight-line rays cross at the pinhole, so top maps to bottom — a lens focuses rays that cross too, giving the same inversion. Our eyes also project an inverted image; the brain simply learns to interpret it right-way-up, so we never notice.
Why is there an optimal pinhole size? Smaller should be sharper — why does it reverse?
Hint / answer
A bigger hole blurs by geometry (each scene point projects a fat spot); shrinking it sharpens — until the hole is so small that diffraction spreads the light into a disk again. The optimum is where those two blurs are equal; go smaller and diffraction dominates.
Why does the pinhole give infinite depth of field? Why doesn’t a lens do this automatically?
Hint / answer
A pinhole passes essentially one narrow ray per scene point regardless of the point’s distance, so near and far are equally (un)sharp — nothing to focus. A lens bends a whole cone of rays and can only converge them perfectly for one distance at a time, so other distances blur.
Why does exposure scale with the square of the f-number? Double f-number → 4× the time — why?
Hint / answer
Light gathered depends on the hole’s area, and area scales as diameter squared. Doubling the f-number halves the diameter, quartering the area and the light — so you need 4× the time. At f/500 the tiny area is why pinhole exposures run to minutes.
What made photography possible — chemistry or optics? The camera obscura long predated photographs.
Hint / answer
Optics (the image) was solved centuries earlier — the hard part was chemistry: finding light-sensitive materials that could record and permanently fix the image. That’s why photography waited until the 1830s, when the right silver and iron chemistry was worked out.
Going further
- Try both papers. Shoot the same scene on cyanotype and on salted paper and compare tone and speed.
- Make a positive. If you used photo paper (a negative), contact-print it onto a fresh sheet to get a positive image.
- Tune the aperture. Build two boxes with different pinhole sizes and compare sharpness against the optimal-diameter formula.