Thin Lens Equation Calculator
Calculate thin lens equation calculator calculate image distance di, magnification M, and image nature from focal length f and object distance do (1/f = 1/do + 1/di). Accurate physics formulas and unit conversions for engineers, students & technicians.
Calculate Optical Image Distance (1 / f = 1 / d_o + 1 / d_i)
Enter your physical parameters below to compute verified lens image metrics.
Calculation Results
Calculated using verified physical methodology: Thin Lens Gaussian Formula: \1 / f = \1 / d_o + \1 / d_i \implies d_i = \f \cdot d_o / d_o - f
Linear Magnification: M = -\d_i / d_o
Quick Summary
The Thin Lens Equation Calculator evaluates image distance ($d_i = \f \cdot d_o / d_o - f$), linear magnification ($M = -d_i / d_o$), and image nature (real/inverted vs virtual/upright) from focal length ($f$) and object distance ($d_o$).
Formula Explanation
Thin Lens Gaussian Formula: \1 / f = \1 / d_o + \1 / d_i \implies d_i = \f \cdot d_o / d_o - f
Linear Magnification: M = -\d_i / d_o
How It Works
The Thin Lens Equation Calculator multiplies focal length ($f$) by object distance ($d_o$) and divides by difference ($d_o - f$). It outputs image distance ($d_i$) in cm, mm, magnification ($M$), image orientation (real/inverted if $d_i > 0$, virtual/upright if $d_i < 0$), and total optical bench length ($d_o + d_i$).
Step-by-Step Worked Example
Practical Problem: An object is placed $d_o = 30.0\text{ cm}$ in front of a converging convex lens with focal length $f = 10.0\text{ cm}$. Calculate image distance $d_i$, magnification $M$, and image properties.
- Step 1: Identify Input Parameters: $f = +10.0\text{ cm}$, $d_o = 30.0\text{ cm}$.
- Step 2: Apply the Thin Lens Formula ($d_i = \f \cdot d_o / d_o - f$): $d_i = \10.0 \times 30.0 / 30.0 - 10.0 = \300.0 / 20.0 = +15.00\text{ cm}$.
- Step 3: Calculate Linear Magnification ($M = -d_i / d_o$): $M = -\15.0 / 30.0 = -0.500\text{ (Half-size inverted image)}$.
- Step 4: Determine Image Nature & Orientation: Since $d_i = +15.0\text{ cm} > 0$, the image is **REAL** and focused on the opposite side of the lens; since $M = -0.50 < 0$, the image is **INVERTED**.
- Step 5: Calculate Total Optical Track Distance ($d_o + d_i$): $30.0 + 15.0 = 45.00\text{ cm}$.
Real-World Calculation Examples
Scenario 1: Camera Focus Beyond 2f ($d_o > 2f$)
Parameters: $f = 10\text{ cm}$, $d_o = 30\text{ cm}$
Result: $d_i = +15.00\text{ cm}$, $M = -0.50x$. Real, inverted, diminished camera image.
Scenario 2: Projector Lens at 1:1 Scale ($d_o = 2f$)
Parameters: $f = 10\text{ cm}$, $d_o = 20\text{ cm}$
Result: $d_i = +20.00\text{ cm}$, $M = -1.00x$. Real, inverted, equal size 1:1 image.
Scenario 3: Handheld Magnifying Glass ($d_o < f$)
Parameters: $f = 10\text{ cm}$, $d_o = 6\text{ cm}$ (inside focal length)
Result: $d_i = -15.00\text{ cm}$, $M = +2.50x$. Virtual, upright, enlarged magnifying glass image.
Scenario 4: Diverging Concave Lens ($f < 0$)
Parameters: $f = -10\text{ cm}$, $d_o = 30\text{ cm}$
Result: $d_i = -7.50\text{ cm}$, $M = +0.25x$. Virtual, upright, diminished concave lens image.
Key Benefits of Using This Calculator
Real vs Virtual Automatic Classification
Automatically determines if image is Real/Inverted ($d_i > 0$) or Virtual/Upright ($d_i < 0$).
Convex & Concave Dual Compatibility
Supports both converging positive lenses ($+f$) and diverging negative lenses ($-f$).
Multi-Unit Readouts
Outputs image distance in cm, mm, linear magnification ratio ($M$), and track length.
100% Free & Client-Side
Executes locally in your browser with zero latency or web server transmission.
Frequently Asked Questions (FAQ)
What is the Thin Lens Equation?
The Thin Lens Equation (1/f = 1/do + 1/di) relates the focal length f of a lens to the object distance do and image distance di.
What is Cartesian sign convention for thin lenses?
f is positive for converging (convex) lenses, negative for diverging (concave); do is positive for real objects; di is positive for real images (opposite side of lens), negative for virtual images (same side as object).
What happens when an object is placed exactly at the focal point (do = f)?
1/di = 1/f - 1/f = 0 => di = infinity; light rays emerge parallel and no focused image is formed on a screen (collimated beam).
What is a Real Image vs Virtual Image?
A Real Image (di > 0) is formed by actual converging light rays and can be projected onto a screen; a Virtual Image (di < 0) is formed by apparent ray extensions and cannot be projected.
Does a diverging (concave) lens ever produce a real image?
No! For real objects (do > 0), a diverging lens ALWAYS produces a virtual, upright, and diminished image (di < 0, 0 < M < 1).
What is linear magnification M?
M = -di / do = hi / ho; negative M indicates an inverted image, positive M indicates an erect/upright image.
What is the focal length of a flat glass window sheet?
f = infinity (power P = 0 dpt), so light rays pass through without focusing.
Who derived the Gaussian Thin Lens Equation?
Carl Friedrich Gauss published the paraxial optical formulation in 1841.
What is paraxial approximation in optics?
Assumes light rays make small angles with the optical axis so that sin(theta) approx theta, ignoring spherical aberration.
How does camera focusing work using the Thin Lens Equation?
As object distance do changes, the camera moves the lens relative to the sensor to adjust di so that di = (f * do) / (do - f) remains accurately focused on the sensor plane.