What is the thin lens equation used for in photography calculators?
The thin lens equation — 1/f = 1/u + 1/v, where f is focal length, u is subject (object) distance and v is image distance — relates how far a lens is from its subject to how far behind the lens the resulting sharp image forms. It's the foundational relationship this site's depth-of-field and hyperfocal-distance formulas are ultimately built on, even though you never need to solve it directly to use any of the calculators.
A Concrete Example
A 50mm lens (f = 50mm) focused on a subject 2 meters away (u = 2000mm) forms its sharp image roughly 51.3mm behind the lens (v), just slightly further than the focal length itself. Focus on a much closer subject, 500mm away, and the image distance grows to roughly 55.6mm — genuinely different from the focal length, which is exactly why a lens needs to physically move its elements to refocus at different distances, and why extreme macro work needs so much more physical extension than everyday shooting.
Why 'Thin Lens' Is an Idealization, Not a Real Lens
Real photographic lenses contain multiple glass elements, not a single idealized thin lens, and effects like focus breathing and complex aberration correction come from that real, multi-element construction. The thin lens model is a deliberate simplification that captures the core geometric relationship accurately enough for practical depth-of-field and hyperfocal-distance calculations, without needing to model every real lens's specific internal element arrangement — which is exactly why this site's calculators, and virtually every published depth-of-field formula, use it as the underlying foundation.
See the thin-lens-derived hyperfocal and depth-of-field formulas applied to your own real numbers in the DoF & Hyperfocal Calculator.
Frequently Asked Questions
Do I ever need to solve the thin lens equation myself?
No — it's the underlying relationship the depth-of-field and hyperfocal-distance formulas are derived from, but every practical calculator (including this site's) takes focal length, aperture and subject distance as direct inputs and handles the underlying geometry internally.
Why does image distance matter for macro photography specifically?
At close focus distances, image distance grows meaningfully larger than the focal length itself, which is why true macro lenses need substantial physical extension (either built into the lens design or added via extension tubes) to reach 1:1 magnification — a direct, visible consequence of the thin lens equation at short subject distances.