Thin Lens Equation, Focal Length & Magnification Optics Solver
Calculate image distance, object distance, focal length, transverse magnification, image height, and diopter optical power using the Gaussian thin lens equation.
Geometric Optics Parameters
Standard 2F symmetric conjugate demonstration bench (f = +15 cm)
Conjugate Image Solutions
m = -1.00×Real Image: Converges behind lens (projectable)
Image Height (hi): -5.00 cm
Orientation: Inverted (Upside down)
The converging system captures diverging wavefronts and refits them into a real focal convergence 30.00 cm downstream. A camera sensor, CCD, or white card can record this image.
The Gaussian Thin Lens Equation: Physics & Mathematical Derivation
Formulated under the paraxial ray approximation of geometric optics, the Gaussian Thin Lens Equation governs how curved refractive boundaries focus, collimate, or disperse light. The formulation assumes the physical thickness of the lens along its central optical axis is negligible compared to its focal length and object-image conjugate distances.
By applying Snell's Law across two successive spherical interfaces and invoking the small-angle approximation (sin θ ≈ tan θ ≈ θ in radians), Johann Carl Friedrich Gauss established the reciprocal conjugate relationship linking focal length (f), object distance (do), and image distance (di):
Through algebraic rearrangement, explicit analytical solutions for each individual conjugate parameter are derived:
To connect the thin lens formula with underlying glass chemistry and curvature radii, the Lensmaker's Equation applies Snell's Law of Refraction across two consecutive spherical boundaries, defining focal length f in terms of index of refraction n and surface radii R1 and R2:
| Optical Variable | Symbol | SI Standard Unit | Sign Convention (+) | Sign Convention (-) |
|---|---|---|---|---|
| Focal Length | f | Meters (m), cm, mm | Converging (biconvex / plano-convex) | Diverging (biconcave / plano-concave) |
| Object Distance | do | Meters (m), cm, mm | Real object located in front of lens | Virtual object (cascaded multi-lens system) |
| Image Distance | di | Meters (m), cm, mm | Real image formed behind lens (projectable) | Virtual image formed in front of lens |
| Transverse Magnification | m | Dimensionless ratio | Upright (erect) orientation | Inverted (upside-down) orientation |
| Optical Refractive Power | P | Diopters (D = m⁻¹) | Converging hyperopia / presbyopia lens | Diverging myopia corrective lens |
Transverse Magnification, Diopter Power & Principal Ray Tracing
Transverse linear magnification (m) quantifies the ratio of the physical height of the image (hi) relative to the object (ho). By invoking similar right triangles formed by chief rays intersecting the lens vertex at origin, the magnification is expressed as:
- • Parallel Ray (P-Ray): Originates at the object tip, travels parallel to the optical axis, and refracts through the rear focal point (+F).
- • Chief Ray (C-Ray): Passes directly through the exact optical center of the thin lens undeviated without angular refraction.
- • Focal Ray (F-Ray): Traverses through the front focal point (-F) before striking the lens, emerging completely parallel to the optical axis.
In optometry and ophthalmology, optical power P measures a lens's ability to converge or diverge wavefronts, defined as the reciprocal of focal length expressed strictly in meters:
P = 1 / f(m) = 100 / f(cm)
Thin lenses placed in direct contact add their diopters linearly: Ptotal = P1 + P2. A +2.00 D reading lens stacked against a +1.50 D lens yields an equivalent focal power of +3.50 D (f = 28.57 cm).
The Five Conjugate Regimes of Converging Convex Lenses
Depending on where an object is positioned along the principal optical axis relative to the focal point (F) and twice the focal length (2F), converging lenses exhibit five fundamental operational states:
| Object Position (do) | Image Position (di) | Nature | Orientation | Magnification (|m|) | Common Application |
|---|---|---|---|---|---|
| do > 2f | f < di < 2f | Real | Inverted | |m| < 1 (Minified) | Camera lens, human eyeball retina |
| do = 2f | di = 2f | Real | Inverted | |m| = 1 (Unit 1:1) | Photocopying optical relay, bench calibration |
| f < do < 2f | di > 2f | Real | Inverted | |m| > 1 (Magnified) | Cinema / slide projector, microscope objective |
| do = f | di = ±∞ | Collimated | None | Undefined | Searchlight, collimator, lighthouse optic |
| do < f | |di| > do (in front) | Virtual | Upright | |m| > 1 (Magnified) | Simple magnifying glass, jeweler's loupe |
Step-by-Step Engineering Case Studies
Examine these two practical optical calculations contrasting a camera photographic sensor conjugate with an ophthalmology myopia diverging lens:
- Given Parameters:
- Focal Length f = +50 mm = +5.0 cm
- Subject Distance do = 200 cm (2.0 m)
- Subject Height ho = 180 cm (Human subject)
- 1. Compute Image Sensor Distance (di):
- 1/di = 1/f - 1/do = 1/5.0 - 1/200
- 1/di = 0.200 - 0.005 = 0.195 cm⁻¹
- di = 1 / 0.195 = 5.128 cm (51.28 mm)
- 2. Compute Transverse Magnification (m):
- m = -di / do = -5.128 / 200 = -0.02564×
- 3. Projected Sensor Height (hi):
- hi = m · ho = -0.02564 × 180 = -4.615 cm (-46.1 mm)
- Fits nicely on a full-frame 36×24 mm or medium format digital back.
- Given Parameters:
- Optical Power P = -4.00 Diopters
- Focal Length f = 100 / (-4.00) = -25.0 cm
- Distal Object Distance do = 100 cm
- Object Height ho = 20 cm
- 1. Compute Virtual Image Distance (di):
- 1/di = 1/(-25) - 1/100 = -0.04 - 0.01 = -0.05 cm⁻¹
- di = 1 / (-0.05) = -20.0 cm
- 2. Compute Magnification (m):
- m = -(-20.0) / 100 = +0.200×
- 3. Perceived Virtual Height (hi):
- hi = 0.200 × 20 cm = +4.0 cm (Upright & minified)
- Pushes distant object into user's near far-point (20 cm).
Frequently Asked Questions (FAQ)
What is the Gaussian thin lens equation?
The Gaussian thin lens equation relates focal length (f), object distance (do), and image distance (di) using the formula 1/f = 1/do + 1/di. It assumes the axial thickness of the optical lens is negligible compared to the radii of curvature and conjugate distances.
What Cartesian sign conventions are used in thin lens calculations?
Under the standard Cartesian convention: object distance (do) is positive for real objects. Focal length (f) is positive for converging (convex) lenses and negative for diverging (concave) lenses. Image distance (di) is positive for real images formed behind the lens and negative for virtual images formed in front of the lens on the same side as the object.
How is lateral optical magnification (m) defined?
Transverse or lateral magnification is defined as m = -di / do = hi / ho. A negative magnification (m < 0) signifies an inverted image, while a positive magnification (m > 0) indicates an upright (erect) image. If the absolute value |m| is greater than 1, the image is magnified; if |m| is less than 1, it is minified.
What is an optical diopter and how does it relate to focal length?
A diopter (symbol: D) is the standard SI unit of refractive power (P), defined as the reciprocal of focal length measured in meters: P = 1 / f(m). A +2.00 D lens has a positive focal length of 0.50 meters (+50 cm), commonly prescribed for presbyopia or hyperopia, whereas a -2.50 D diverging lens has a focal length of -0.40 meters (-40 cm) to correct myopia.
What happens when an object is placed precisely at the focal point (do = f)?
When do = f, the denominator in di = (f · do) / (do - f) approaches zero, causing the image distance to approach infinity. Light rays emerge from the lens perfectly collimated and parallel, forming neither a finite real nor virtual image. This configuration is widely used in searchlights, optical collimators, and lighthouse beacons.
Why do diverging (concave) lenses only produce virtual images for real objects?
Because diverging lenses have a negative focal length (f < 0), the term 1/di = 1/f - 1/do always sums two negative quantities for any positive real object distance (do > 0). Consequently, di is mathematically strictly negative, meaning light rays always diverge on the transmission side and only appear to originate from an upright, minified virtual focal point.
When does the thin lens approximation break down in real-world optics?
The thin lens approximation becomes inaccurate when lens thickness (t) is a substantial fraction of its focal length or curvature radii, when high aperture ratios introduce spherical and chromatic aberrations, or when rays strike far from the optical axis where paraxial approximations (sin θ ≈ θ) no longer hold. Real multi-element camera lenses require thick-lens matrix optics or ray tracing.
How does lens conjugate symmetry work at twice the focal length (2F)?
When an object is placed at do = 2f in front of a converging lens, solving 1/di = 1/f - 1/(2f) = 1/(2f) gives di = 2f. The transverse magnification is m = -di / do = -(2f) / (2f) = -1.0. This 2F conjugate point produces a real, inverted replica of identical size, representing the minimum overall physical separation distance between an object and its real image (Lmin = 4f).
Related & Complementary Utilities
Explore more privacy-first client-side web tools.
Matrix Mathematics & Determinant Calculator
Solve determinants, matrix inversions, transpositions, and scalar multiplication with step-by-step proofs.
Wind Chill Factor & Frostbite Risk Estimator
Calculate feels-like wind chill temperature, convective skin heat loss rates, and frostbite risk windows.
Gear Ratio, Teeth Count & Driven RPM Speed Calculator
Calculate mechanical gear ratios, driven shaft RPM, output torque multiplication, and compound gear train reduction.
Velocity, Acceleration & Stopping Distance Calculator
Kinematic stopping distance, deceleration G-force, and reaction time solver with road friction and grade slope modeling.