Thin Lens Calculator
Calculate image distance and magnification using the thin lens equation 1/f = 1/dₒ + 1/dᵢ. Analyze converging and diverging lenses for optics, photography, and vision correction applications.
This free online thin lens calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.
Minimum: 0.0001
Results
Image Distance
16.67 cm
Magnification
-0.667×
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Thin Lens Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Thin Lens Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
When to Use This Calculator
- •Use the Thin Lens Calculator when you need accurate results quickly without the risk of manual computation errors or unit conversion mistakes.
- •Use it to verify calculations made by hand or in spreadsheets — an independent check can catch errors before they lead to costly decisions.
- •Use it to explore how changing input parameters affects the output — a quick way to develop intuition and identify the most influential variables.
- •Use it when collaborating with others to ensure everyone is working from the same numbers and applying the same assumptions.
Related Calculators
Mirror Equation Calculator
Calculate image distance and magnification for curved mirrors using 1/f = 1/dₒ + 1/dᵢ. Analyze concave and convex mirrors used in telescopes, vehicle mirrors, and solar concentrators.
Diffraction Grating Calculator
Calculate diffraction angles using the grating equation d sin θ = mλ. Determine the angular positions of interference maxima for spectroscopy and optical analysis applications.
Index of Refraction Calculator
Calculate the refractive index of a medium from the speed of light within it using n = c/v, or from Snell's law angles. Understand how materials bend and slow light for optics applications.
Terminal Velocity Calculator
Calculate the terminal velocity of a falling object using drag equation parameters including mass, drag coefficient, cross-sectional area, and air density for physics and engineering applications.
Angular Velocity Calculator
Calculate angular velocity in radians per second from revolutions per minute (RPM) or linear velocity and radius. Convert between rotational speed units for physics and engineering applications.
Brewster's Angle Calculator
Calculate Brewster's angle where reflected light becomes perfectly polarized using θ_B = arctan(n₂/n₁). Essential for polarization optics, glare reduction, and laser window design.
About Thin Lens Calculator
The Thin Lens Calculator uses the fundamental thin lens equation to determine where an image forms and how large it appears. This equation, 1/f = 1/dₒ + 1/dᵢ, governs all single-lens imaging systems from magnifying glasses to camera lenses to corrective eyeglasses. Positive focal lengths describe converging (convex) lenses; negative focal lengths describe diverging (concave) lenses. The sign of the image distance reveals whether the image is real or virtual, while magnification tells you if it is enlarged, reduced, inverted, or upright.
The Math Behind It
Formula Reference
Thin Lens Equation
1/f = 1/dₒ + 1/dᵢ
Variables: f = focal length, dₒ = object distance, dᵢ = image distance
Magnification
M = −dᵢ/dₒ
Variables: Negative M means inverted image
Worked Examples
Example 1: Converging Lens
f = 10 cm, object at 25 cm
Real image at 16.67 cm, reduced and inverted (M = −0.667).
Example 2: Magnifying Glass
f = 10 cm, object at 7 cm (inside focal length)
Virtual image at −23.33 cm, enlarged 3.33× and upright.
Example 3: Diverging Lens
f = −15 cm, object at 30 cm
Virtual image at −10 cm, reduced to 1/3 size, upright.
Common Mistakes & Tips
- !Forgetting sign conventions — diverging lenses have negative focal lengths, virtual images have negative dᵢ.
- !Placing the object at exactly the focal point where the equation gives dᵢ = infinity (image does not form).
- !Confusing magnification sign with image size — negative M means inverted, not smaller.
- !Applying the thin lens equation to thick lenses or lens systems without modification.
Related Concepts
Used in These Calculators
Calculators that build on or apply the concepts from this page:
Frequently Asked Questions
What makes an image real vs virtual?
A real image forms where light rays actually converge — you can project it on a screen. A virtual image forms where rays appear to diverge from — you cannot project it. Your reflection in a flat mirror is a virtual image.
How do eyeglasses correct vision?
Nearsightedness: diverging lenses (negative f) reduce the eye's excess converging power. Farsightedness: converging lenses (positive f) add converging power the eye lacks. Lens power in diopters = 1/f (meters).
Why does the equation fail at dₒ = f?
When the object is at the focal point, light exits the lens as parallel rays — they never converge to form an image. Mathematically, 1/dᵢ = 0, meaning dᵢ = ∞. This principle is used in collimating light.
Embed this calculator on your site
Paste this snippet into your blog, course page, or documentation to drop a live, interactive Thin Lens Calculator into your page.
Free to embed — includes a link back to MegaCalc.