Canonical: https://toolipedia.app/pinhole-camera-calculator

# Pinhole Camera Calculator

Enter the pinhole-to-film distance and wavelength to get the best pinhole diameter, the effective f-number, the blur at your chosen size and the exposure time from a metered reading.

Breadcrumbs: Toolipedia > Online calculators > Science and chemistry calculators > Pinhole Camera Calculator

## About Pinhole Camera Calculator

A pinhole is a trade-off: a smaller hole is sharper by geometry but blurs by diffraction. This calculator finds the sweet spot with Rayleigh's rule, diameter equals 1.9 times the square root of focal length times wavelength, so a 100 mm box with green light wants a 0.446 mm hole. It then gives the effective f-number, here about f/224, the geometric blur, the diffraction spot and a combined blur estimate. Enter a metered reading, for instance 1/125 s at f/16, and it returns the exposure time for your pinhole, about 1.6 seconds, with an optional reciprocity exponent for long film exposures.

## How to use Pinhole Camera Calculator
1. Enter the distance from the pinhole to the film and the wavelength of light.
2. Leave the diameter empty to use the best size, or type the hole you actually made.
3. Enter a metered f-number and time to see the exposure for your pinhole, then add a reciprocity exponent for film.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- pinhole camera calculator
- optimal pinhole size
- pinhole f-number calculator
- pinhole exposure time
- pinhole diameter for focal length
- pinhole photography exposure

## Frequently asked questions

### How accurate is the best pinhole size?

The formula is a good starting point, and the true best size depends on the constant used. Rayleigh's is 1.9 and other authors use slightly different values, so the constant is editable and tests are worthwhile.

### Why is the exposure so long?

A pinhole camera has a very high f-number, often f/150 to f/300, so little light reaches the film. Each doubling of the f-number needs four times the exposure time, which is how seconds become minutes.

### What is the reciprocity exponent for?

Film loses sensitivity in long exposures, so the real time needed is longer than the metered scaling. Entering an exponent above 1 raises the time to that power, and your film's data sheet gives the right value.

### Is Pinhole Camera Calculator free?

Yes. Pinhole Camera Calculator on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with Pinhole Camera Calculator:
- [Astrophotography Image Scale Calculator](https://toolipedia.app/sensor-pixel-scale-calculator)
- [Quantum Calculator](https://toolipedia.app/quantum-calculator)
- [Speed, distance and time calculator](https://toolipedia.app/speed-distance-time-calculator)
- [Thin Lens and Lensmaker Equation Calculator](https://toolipedia.app/thin-lens-and-lensmaker-equation-calculator)
- [Gaussian Beam Calculator](https://toolipedia.app/gaussian-beam-calculator)
