Skip to main content

Pinhole Calculator

Calculate the optimal pinhole diameter for your camera's focal length. Based on the Rayleigh criterion for maximum sharpness.

Calculate pinhole size

Enter your camera's focal length (distance from pinhole to film)

mm

Optimal pinhole diameter

0.32mm

(315 microns)

Effective aperture

f/159

+6.6 stops from f/16

Exposure adjustment

Multiplier vs f/16

98×

Stops compensation

+6.6 stops

If your meter reads 1/125s at f/16, your pinhole exposure would be approximately 0.8s (before reciprocity compensation).

Remember: Pinhole exposures are typically long enough to require reciprocity compensation. Use the Reciprocity Calculator for your specific film stock.

Quick reference table

Optimal pinhole sizes for common focal lengths

Focal LengthDiameterf-stop
25mm0.22mmf/114
50mm0.31mmf/161
75mm0.38mmf/197
100mm0.44mmf/227
150mm0.54mmf/278
200mm0.62mmf/321
300mm0.76mmf/393

Understanding pinhole photography

A pinhole camera uses a tiny aperture instead of a lens. Light passes through the hole and projects an inverted image onto the film or sensor. The result is an image with infinite depth of field but lower overall sharpness than a lens.

The Rayleigh formula

The optimal pinhole diameter balances two factors: a smaller hole gives sharper results (less light scattering), but too small causes diffraction blur. Lord Rayleigh's formula finds the sweet spot:

d = 1.9 × √(f × λ)

Where d = diameter, f = focal length, λ = wavelength of light (~550nm for green)

Making your pinhole

  • Use thin brass shim stock or aluminium from a drinks can
  • Sand the material thin and flat
  • Make the hole with a fine needle, rotating gently
  • Sand the back to remove any burrs
  • Measure with a loupe and ruler, or use a scanner

Log your pinhole experiments with Silverlog

Coming soon

Report an error
Support