Thin Lens Equation Calculator

Focal Length · Object Distance · Image Distance

mm
mm
Positive for Convex, Negative for Concave.
Result ---
Magnification (M) ---
VIRTUAL • UPRIGHT • MINIFIED

ephotonics

linkedin.com/company/ephotonics

Follow our page for weekly laser engineering guides, photonics tutorials, and new calculator releases directly in your feed.

Follow on LinkedIn

How the Thin Lens Equation Works

Thin lens equation calculator determines where an optical image forms using the fundamental Gaussian lens formula. It relates the focal length of the lens to the distances of the object and the resulting image, while also calculating the lateral magnification.

Ray tracing diagram showing object distance, image distance, and focal length for a thin lens
Figure 1: The thin lens equation dictates how light rays converge or diverge to form an image. The standard sign convention determines whether the resulting image is real or virtual.
1 f
=
1 do
+
1 di
Gaussian Lens Formula
M = −
di do
Lateral Magnification

Understanding the Variables:

  • f Focal Length: The distance over which initially collimated rays are brought to a focus. (Positive for convex, negative for concave).
  • do Object Distance: The physical distance from the center of the lens to the object.
  • di Image Distance: The distance from the center of the lens to where the image forms.
  • M Magnification: The ratio of the Image Height to the Object Height.

Optical Sign Convention Reference

  • + di = Real Image (Forms on opposite side, can be projected onto a screen).
  • − di = Virtual Image (Forms on same side, visible only by looking through the lens).
  • |M| > 1 = Magnified (Image is larger than object).
  • |M| < 1 = Reduced (Image is smaller than object).
  • − M = Inverted (Image is upside down).

Consult with an Expert

Get a formal quote