TOOLFRED WORKED EXAMPLE
Depth of field: aperture, focal length and distance
Change one control at a time and distinguish framing, focus distance and acceptable-sharpness assumptions.
THE SHORT ANSWER
What does a higher f-number change in this simulator?
At fixed focal length and focus distance, a higher f-number expands the calculated zone of acceptable sharpness. It does not change framing. The simulator holds brightness constant to isolate the effect; a real camera needs exposure compensation. Its blur is an illustration, not a calibrated prediction for a particular lens.
| 85 mm lens, full frame | Circle of confusion | Calculated hyperfocal distance |
|---|---|---|
| f/1.8 | 0.030 mm | About 133.88 m |
| f/8 | 0.030 mm | About 30.19 m |
Start with the portrait preset
Open the depth of field simulator and select Portrait. The lens is 85 mm at f/1.8 on full frame, the person is five meters away along the ground, and focus is approximately 5.02 meters along the tilted camera’s optical axis. Those distances differ slightly because the camera is one meter high and aims at a head center 1.45 meters high.
Close the aperture without moving anything
Change f/1.8 to f/8. The near and far acceptable-focus limits spread apart, and the background becomes less defocused. Framing stays the same because focal length, sensor and scene positions did not change. Brightness is intentionally held constant; a real camera would need a different shutter speed, ISO or lighting to retain the exposure.
Change focal length and watch the whole scene
A longer lens narrows the angle of view. In this simulator the head remains centered, and the path, trees and person all use the same perspective projection. The feet stay on the path even when they move outside the visible crop. Moving the person changes perspective and subject size; changing manual focus changes the focus plane without moving the person.
Read the side view as a focus diagram
The sharp zone shows near and far limits based on a conventional circle of confusion. It is a distance diagram, not a photograph of a sharply bounded region. Blur changes continuously. An infinite far limit means the chosen acceptable-sharpness criterion extends to infinity; it does not mean every distance produces identical detail.
The equations and a numerical check
With f in millimeters, aperture N, circle of confusion c and focus distance s, hyperfocal H = f²/(N × c) + f. For 85 mm, f/1.8 and c = 0.030 mm, H is approximately 133.88 meters. At f/8 it is approximately 30.19 meters. These are calculations under the stated model, not measured performance of a particular lens.
Use the illustration as a learning aid
The model omits diffraction, aberrations, real bokeh, focus breathing, macro pupil magnification and motion blur. The rendering approximates defocus with capped Gaussian blur. Sensor-specific confusion assumptions depend on viewing conditions. For the optics background, see Stanford CS178’s lens and aperture lecture. The Toolfred scene and this lesson are original; no photo or camera permission is needed.
Questions or corrections
Report a reproducible issue to contact@toolfred.com using an invented example. Avoid sensitive files. How we check tools and maintain examples →