1. Home
  2. Image tools
  3. Pinhole Camera Calculator

Pinhole Camera Calculator

Building a pinhole camera from a box or a tin? Get the sharpest hole size for its depth, its f-stop, and an exposure time corrected for film reciprocity.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use Pinhole Camera Calculator

  1. Enter the pinhole-to-film distance.
  2. Optionally enter the measured diameter of your hole.
  3. Read a light meter, enter its reading and pick your film.

Features

  • Rayleigh and Petzval optimum formulas
  • Working f-number and angle of view
  • Exposure from any meter reading
  • Reciprocity correction for Ilford films

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Pinhole Camera Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Results come from standard optical formulas; real lenses, filters and conditions differ slightly, so check the first shot and adjust.
  • Reciprocity values are Ilford’s published exponents; other films need their maker’s data.

Guide

Pinhole camera design and exposure: optimum hole size, f-number and reciprocity

A pinhole camera has no lens: a tiny hole projects an image onto film or a sensor. The results are soft, dreamy and have endless depth of field, and a camera can be built from a box or a tin. Getting good pictures depends on the right hole size and long, correctly calculated exposures. This calculator handles both.

Optimum pinhole size

Too large a hole makes the image blurry; too small and diffraction blurs it instead. The best size depends on the distance from the hole to the film, the focal length. The calculator uses Lord Rayleigh’s classic formula, d = 1.9 √(f λ), considered the sharpest, or Petzval’s smaller constant of 1.56, for green light with a wavelength of 550 nanometers. A 50 mm camera needs a hole of about 0.31 mm, a 150 mm camera about 0.55 mm.

Measuring the actual hole

Hand-made pinholes rarely match the target exactly. Measure yours with a flatbed scanner at high resolution or under a loupe with a scale, enter the actual diameter, and the calculator uses it for the working f-number. A small difference in diameter changes the exposure noticeably.

Working f-number

The f-number is the focal length divided by the hole diameter: typically between f/150 and f/300. Light meters rarely go that far, so meter at a normal aperture such as f/16 or f/22 and let the calculator translate the time. It shows how many stops darker the pinhole is than the metered aperture.

Film format and angle of view

Choose 35 mm, 120 film in 6 × 6 or 6 × 9, or sheet film in 4 × 5 or 8 × 10 inches. The calculator gives the diagonal angle of view and warns when the design is very wide, because pinholes darken strongly toward the corners at wide angles, an effect many pinhole photographers enjoy.

Reciprocity failure

Film becomes less sensitive in exposures longer than about a second. Ilford publishes exponents for its films: corrected time equals metered time to the power p. For HP5 Plus, with p = 1.31, a metered 10 seconds becomes about 20, and a metered minute becomes about three and a half. Choose the film to apply its value. For digital sensors and paper negatives, choose no correction.

Exposure in practice

In bright sun, pinhole exposures on ISO 400 film are often a second or two; in shade, many seconds; indoors, minutes or hours. Use a tripod or a steady surface, and a dark cloth or tape as a shutter. Bracket by doubling and halving times.

Building tips

Use thin brass shim or aluminum from a drink can, dimple it with a fine needle, sand the bump flat, and push through gently while rotating. Blacken the inside of the camera to avoid reflections.

Paper negatives

Photographic paper is a cheap, fun alternative to film in a pinhole camera. It is roughly ISO 3 to 12, has no reciprocity data from the maker and sees mainly blue light, so skies turn white. Make test exposures and develop in trays under a safelight.

Convert light-meter readings for neutral density filters with the ND Filter Calculator. For enlarging pinhole negatives, the Darkroom Timer calculates print exposures.

Checked against the current version of the Pinhole Camera Calculator on .

Frequently asked questions

What size should the pinhole be for a 50 mm camera?

By Rayleigh’s formula about 0.31 mm, which gives a working aperture of about f/160. For a 150 mm camera, about 0.55 mm and f/275.

Why are my pinhole exposures always too short?

Film loses sensitivity in long exposures, called reciprocity failure. A metered 10 seconds on HP5 Plus needs about 20 seconds, and 60 seconds needs about 3.5 minutes. Choose your film in the calculator to include that correction.

Why are pinhole exposures so long?

A 0.3 mm hole at 50 mm is about f/160: ten stops less light than f/5.6. Film also loses sensitivity in long exposures (reciprocity failure), so a metered 10 s becomes about 20 s on HP5 Plus.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.