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.
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.
Formula Reference
Thin Lens Calculator Formula
See calculator inputs for the governing equation
Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.
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.
About This Calculator
The Thin Lens Calculator is a free, browser-based calculation tool for engineers, students, and technical professionals. 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. It implements standard formulas and supports both metric (SI) and imperial unit systems with automatic unit conversion. All calculations are performed instantly in your browser with no data sent to a server. Use this calculator as a quick reference and sanity-check tool during design, analysis, and learning. Always verify results against primary engineering references and applicable standards for any safety-critical application.
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.