OPTICSOpticsPhysics Calculator
๐Ÿ”ฌ

Thin Lens Equation

1/f = 1/do + 1/di relates focal length, object distance, and image distance. Magnification m = -di/do. Converging (f>0) vs diverging (f<0) lenses.

Did our AI summary help? Let us know.

Object at infinity: image at focal point. Object at 2f: image at 2f, m = -1. Object inside f (converging): virtual, upright, magnified. Diverging lenses: always virtual, upright, reduced.

Key quantities
1/f = 1/do + 1/di
Lens Eq
Key relation
m = -di/do
Magnification
Key relation
P = 1000/f (mm)
Power
Key relation
Real/Virtual
Image
Key relation

Ready to run the numbers?

Why: Cameras, microscopes, telescopes, and eyeglasses all use the thin lens equation. Image type (real/virtual) and orientation depend on object position.

How: 1/f = 1/do + 1/di. Real images (di>0) form opposite side; virtual (di<0) same side. m negative = inverted. Power in diopters = 1000/f(mm).

Object at infinity: image at focal point.Object at 2f: image at 2f, m = -1.

Run the calculator when you are ready.

Solve Lens EquationFind image distance, focal length, or magnification

Input Parameters

For f-number calculation

thin-lens-equation@bloomberg:~$
MAGNIFICATION: SMALL
Share:
Thin Lens Equation Analysis
Image Distance: 100.00 mm
Magnification: -1.00ร— โ€ข Real โ€ข Inverted
Optical Power: 20.00 D โ€ข F-Number: f/2.00
numbervibe.com/calculators/physics/thin-lens-equation-calculator
โ–ถThin Lens Equation Results
Real Image
Focal Length:50.00 mm
Object Distance:100.00 mm
Image Distance:100.00 mm
Magnification:-1.00ร—
Image Height:10.00 mm
Optical Power:20.00 D
F-Number:f/2.00
Image Type:Real
Orientation:Inverted

Step-by-Step Calculation

Input Parameters
Focal Length: f = 50.00 mm (Converging (Convex))
Object Distance: do = 100.00 mm
Object Height: ho = 10.00 mm
Thin Lens Equation
Formula: 1/f = 1/do + 1/di
Rearranged: di = (f ร— do) / (do - f)
Image Distance Calculation
di = (50.00 ร— 100.00) / (100.00 - 50.00)
di = 5000.00 / 50.00
di = 100.00 mmโ†’ 100.00 mm
Magnification
Formula: m = -di / do
m = -100.00 / 100.00 = -1.00
Image Height: hi = ho ร— m = 10.00 ร— -1.00 = -10.00 mm
Image Characteristics
Type: Realโ†’ Real
Orientation: Inverted
Size: Same size
Location: Opposite side (from object)
Optical Properties
Optical Power: P = 1000/f = 20.00 diopters
F-Number: f/2.00
Hyperfocal Distance: 4.17e+4 mm

Visualizations

For educational and informational purposes only. Verify with a qualified professional.

๐Ÿ”ฌ Physics Facts

๐Ÿ”ฌ

1/f = 1/do + 1/di for thin lenses.

โ€” Geometric optics

๐Ÿ‘“

Diopters: P = 1000/f(mm); -2D = 500mm focal length.

โ€” Optometry

๐Ÿ“ท

Autofocus adjusts lens position to satisfy lens equation.

โ€” Photography

๐Ÿชž

Real images project on screens; virtual cannot.

โ€” Optics

๐Ÿ“‹ Key Takeaways

  • โ€ข Thin lens equation: 1/f = 1/do + 1/di relates focal length (f), object distance (do), and image distance (di) โ€” fundamental to all lens optics
  • โ€ข Magnification formula: m = -di/do = hi/ho determines image size and orientation โ€” negative means inverted, positive means upright
  • โ€ข Sign convention: Converging lenses have positive focal length (f > 0), diverging lenses have negative (f < 0) โ€” real images have positive di, virtual images have negative di
  • โ€ข Image types: Real images form on the opposite side and can be projected on screens โ€” virtual images form on the same side and cannot be projected
  • โ€ข Optical power: Measured in diopters (D) = 1000/f(mm) โ€” higher power means stronger lens, shorter focal length

๐Ÿ’ก Did You Know?

๐Ÿ“ทCamera lenses use the thin lens equation to focus light onto sensors โ€” autofocus systems adjust lens position to satisfy 1/f = 1/do + 1/di for sharp images.Source: Photography Optics
๐Ÿ‘“Eyeglass prescriptions are measured in diopters โ€” a -2.00 D lens has a focal length of -500mm, correcting nearsightedness by creating virtual images.Source: Optometry
๐Ÿ”ฌMicroscopes use compound lens systems โ€” the objective lens creates a real, magnified image that the eyepiece further magnifies, achieving total magnifications of 1000ร— or more.Source: Microscopy
๐Ÿ”ญTelescopes use long focal length objective lenses โ€” for distant objects (do โ‰ˆ โˆž), the thin lens equation gives di โ‰ˆ f, placing images near the focal point.Source: Astronomy
๐Ÿ‘๏ธThe human eye has a variable focal length (17-20mm) โ€” the ciliary muscles adjust lens curvature to focus objects from infinity to 25cm using the thin lens equation.Source: Physiology
๐Ÿ“ฝ๏ธProjectors use converging lenses with objects placed between f and 2f โ€” this creates real, magnified, inverted images on distant screens.Source: Display Technology

๐Ÿ”ฌ How It Works

Thin Lens Equation: 1/f = 1/do + 1/di

The thin lens equation is a fundamental relationship in geometric optics that describes how light rays converge or diverge through a lens. When light from an object passes through a lens, it refracts (bends) according to Snell's law, creating an image at a specific location. The equation relates three key distances: the focal length (f), object distance (do), and image distance (di).

Converging Lenses (f > 0)

Convex lenses converge parallel rays to a focal point. Real images form when objects are beyond the focal point, virtual images when objects are inside the focal length.

Diverging Lenses (f < 0)

Concave lenses diverge parallel rays. They always create virtual, upright, reduced images regardless of object position โ€” used in eyeglasses for nearsightedness.

Magnification

m = -di/do determines image size and orientation. |m| > 1 means magnified, |m| < 1 means reduced. Negative m means inverted, positive means upright.

Ray Tracing

Three principal rays predict image location: parallel ray through focus, focal ray parallel, and central ray through lens center. All converge at the image point.

๐Ÿ’ผ Expert Tips

Sign Convention

Use sign convention consistently: Converging lenses have f &gt; 0, diverging have f &lt; 0. Real images have di &gt; 0 (opposite side), virtual images have di &lt; 0 (same side). Object distance do is always positive for real objects.

Special Cases

Check for special cases: When do = f, image is at infinity. When do = 2f, image is at 2f with m = -1 (same size, inverted). When do &lt; f for converging lens, image is virtual, upright, magnified.

Magnification

Magnification sign matters: Negative magnification means inverted image (real images from converging lenses). Positive magnification means upright image (virtual images or diverging lenses).

Optical Power

Optical power in diopters: P = 1000/f(mm) converts focal length to power. Higher power means stronger lens โ€” a 50mm lens has 20D power, a 100mm lens has 10D power.

๐Ÿ“Š Comparison: Image Formation Cases

Object PositionImage PositionImage TypeSizeOrientation
At infinityAt FRealPoint-
Beyond 2FBetween F and 2FRealReducedInverted
At 2FAt 2FRealSameInverted
Between F and 2FBeyond 2FRealMagnifiedInverted
At FAt infinity---
Between lens and FSame sideVirtualMagnifiedUpright

โ“ Frequently Asked Questions

What is the difference between real and virtual images?

Real images form on the opposite side of the lens from the object and can be projected onto a screen. They occur when light rays actually converge. Virtual images form on the same side as the object and cannot be projected โ€” they appear where light rays appear to diverge from.

Why is magnification negative for real images?

The negative sign in m = -di/do indicates an inverted image. Real images from converging lenses are always inverted (upside down) because light rays cross at the image point. Virtual images are upright (positive magnification) because rays appear to diverge without crossing.

How do I calculate focal length from lens maker's equation?

The lens maker's equation is 1/f = (n-1)(1/Rโ‚ - 1/Rโ‚‚), where n is refractive index and Rโ‚, Rโ‚‚ are radii of curvature. For a thin lens in air, this gives the focal length used in the thin lens equation.

What happens when the object is at the focal point?

When do = f, the thin lens equation gives di = โˆž (infinity). Parallel rays emerge from the lens, creating no image โ€” this is used in collimators to create parallel light beams.

How do diverging lenses always create virtual images?

Diverging lenses (f &lt; 0) spread light rays apart. For any object position, the equation 1/f = 1/do + 1/di with negative f gives negative di, meaning the image is virtual (on the same side) and always upright and reduced.

What is optical power and why is it measured in diopters?

Optical power P = 1/f (in meters) = 1000/f(mm) measures lens strength. Diopters (D) are convenient because they're additive for lens combinations โ€” a +2D lens combined with a +3D lens gives +5D total power.

How does aperture size affect image formation?

Aperture size doesn't change image position (di) but affects brightness and depth of field. Larger apertures (smaller f-number) let in more light but reduce depth of field. The f-number = f/D where D is aperture diameter.

Can I use the thin lens equation for thick lenses?

The thin lens equation is an approximation valid when lens thickness is much less than focal length. For thick lenses, you need to account for principal planes and use more complex ray tracing or matrix methods.

๐Ÿ“Š Thin Lens Optics by the Numbers

1/f = 1/do + 1/di
Core Formula
m = -di/do
Magnification
P = 1000/f(mm)
Optical Power
f/# = f/D
F-Number

Disclaimer: This calculator uses the thin lens approximation, valid when lens thickness is negligible compared to focal length. Results assume ideal lenses with no aberrations. For thick lenses or precision optics, consult specialized optical design software. Always verify critical calculations with experimental measurements.

๐Ÿ‘ˆ START HERE
โฌ…๏ธJump in and explore the concept!
AI

Related Calculators