Understand the method
What does the lens and mirror equations calculation mean?
The thin-lens and mirror equation relates focal length, object distance, and image distance for a single refracting or reflecting surface. Sign conventions determine whether the image is real or virtual, and they are the most common source of error.
When to use it
Use it for camera, eyeglass, and mirror problems, and to check a ray diagram numerically.
Formula
In plain text: Use the relationship shown in the interactive formula panel.
Variables and units
| Symbol | Meaning |
|---|---|
| f | focal length, positive for a converging lens |
| d_o | object distance |
| d_i | image distance, negative when virtual |
How to use the calculator
- Enter each known value in its labeled field.
- Select the answer precision you want.
- Choose Calculate answer to see the result and working.
Worked example
An object 30 cm from a converging lens of focal length 10 cm gives 1/d_i = 1/10 − 1/30 = 1/15, so d_i = 15 cm on the far side, forming a real inverted image.
Common mistakes
- Keep one sign convention throughout and never mix two.
- A diverging lens has a negative focal length.
- A virtual image has a negative image distance, not an imaginary one.
Interpret the result
A positive image distance for a lens means a real image, which can be projected onto a screen.