Photography Calculators
Pinhole Diameter Calculator
https://www.photosizing.com/calculators/pinhole-diameter/
Estimate only — not a light meter, a shooting prescription or a studio plot. Confirm on a test shot.
Pinhole Diameter Calculator
A pinhole has an optimum: too small and diffraction takes over, too large and the image never sharpens. This uses d = 1.9 √(f·λ) with λ in millimetres — the Rayleigh-style fit many pinhole cameras are built on. Drill close, then take a test shot; foil thickness and a ragged hole matter more than the third decimal.
Inputs
Results
- Optimal diameter
- 0.3151mm
- f-number
- 158.7f/
- Airy diameter
- 213.0µm
Rayleigh optimum 1.9 × √(f × λ), in millimetres.
Pinhole-to-sensor distance ÷ hole diameter.
2.44 × λ × N: the diffraction blur spot of that hole.
The Result is indicative and educational. It does not constitute a design, a technical opinion or medical advice and does not replace calculations or verification by a person with the appropriate qualifications and authorisations. Before purchase, installation or use in practice – in particular in electrical installations – the Result should be verified by a qualified specialist. Details: Terms of Service, point 4.
Example products
Product links are Affiliate Links to Amazon websites. Using them does not cost you anything extra, and if you make a purchase we may receive a commission. Details: Terms of Service, point 5.
Pinhole camera kit
A kit with laser-cut holes beats a sewing needle through soda can, but the same diameter math applies.
Typical range: $20–$80
Carbon fibre tripod
f/150 wants seconds to minutes. Handheld pinhole is a blur, not a look, unless that is the point.
Typical range: $80–$400
Handheld light meter
Once you have f/180, sunny 16 still works: scale shutter by the stops from f/16. A meter is faster in mixed shade.
Typical range: $150–$400
Calculation method
Convert wavelength from nanometres to millimetres (divide by one million). Optimal diameter is 1.9 times the square root of focal length times that wavelength, both in millimetres. f-number is focal length over that diameter — often f/150 to f/300. Airy diameter in micrometres is 2.44 times wavelength in micrometres times that f-number, so you can compare to a CoC or a pixel.
Exact formula
diameterMm = 1.9 × √(f_mm × λ_mm), λ_mm = nm/1e6. fNumber = f/d. airyUm = 2.44 × (nm/1000) × N. Limits: Optimal-diffraction hole, not a drilled-foil guarantee; material thickness, ragged edges and vignetting omitted.
Related calculations
- diffraction limit — Airy disk versus CoC on a glass lens
- circle of confusion — the blur budget a pinhole will blow through
Coverage
A pinhole has huge angle of view if the ‘sensor’ is large relative to f. Vignetting comes from the hole’s thickness and from the natural cos⁴ falloff at wide angles, not from an image circle of glass.
Diffraction vs CoC
The Airy disk at these f-numbers is huge compared with a 0.03 mm CoC. Pinhole ‘sharpness’ is a different game than a 50 mm f/8 lens. Pair with the diffraction calculator if you want the comparison.
Frequently asked questions
Needle or laser-cut?
Laser-cut or a purpose-made disk is rounder. A needle through foil is cheap and usually a bit large. Measure with a loupe if you care; then shoot a test frame.
Exposure?
Treat it as a tiny f-number. From sunny 16, count stops to your f/180 and lengthen shutter. Reciprocity on film will steal even more time; digital just needs a tripod.
Why 1.9?
It is a common Rayleigh-style coefficient for visual pinhole work (some texts use 1.6–2.0). Changing the constant a little changes diameter less than a ragged hole does.
More in this topic
All tools in this topicStudio, storage & utilities
Aspect Ratio Crop Calculator
Fit a target aspect ratio inside a source pixel rectangle and see the cropped size, pixels kept and how much of the file you throw away.
Studio, storage & utilities
Handheld Shutter Speed Calculator
Get the classic 1/(focal × crop) reciprocal, that time in seconds, and the slower shutter IBIS buys you in stops.
Studio, storage & utilities
Inverse Square Law Calculator
See how light intensity falls when you move a point source: ratio of (d1/d2)² and the stop change of 2 log2(d2/d1).
Studio, storage & utilities
SD Card Capacity Calculator
Estimate how many stills and how many minutes of video fit on a card from capacity, still file size and video bitrate. Decimal GB.