Frequently Asked Questions

Everything you need to know about the Lens Equation Calculator.

What is the thin lens equation?

1/f = 1/dₒ + 1/dᵢ, where f is focal length, dₒ is object distance, and dᵢ is image distance, all measured from the lens.

What sign convention does this calculator use?

A converging (convex) lens has a positive focal length; a diverging (concave) lens has a negative focal length. A positive image distance means a real image on the far side of the lens; negative means a virtual image on the same side as the object.

What does magnification tell you?

Magnification m = −dᵢ/dₒ gives the ratio of image size to object size. A magnitude greater than 1 means the image is larger than the object; a negative sign means the image is inverted.

What's the difference between a real and virtual image?

A real image forms where light rays actually converge and can be projected onto a screen; a virtual image only appears to come from a location where rays don't actually meet, like a magnifying glass image.

What does 'upright' vs 'inverted' mean?

An upright image has the same orientation as the object; an inverted image is flipped upside down. This is determined by the sign of the magnification.

Can I solve for focal length instead of image distance?

Yes — leave any one of the three fields (f, dₒ, or dᵢ) blank, and the calculator solves for that one using the other two.

What happens with a diverging lens?

Enter a negative focal length. Diverging lenses always produce virtual, upright, reduced images regardless of object distance.

Why can't any value be zero?

The lens equation involves dividing by f, dₒ, and dᵢ, so a value of zero would make the equation undefined.

Does this work for mirrors too?

The mirror equation has the same mathematical form (1/f = 1/dₒ + 1/dᵢ), so the numbers work the same way, though the physical sign conventions for mirrors differ slightly from lenses.

Is this calculator free to use?

Yes, completely free with no sign-up, and it runs entirely in your browser.

Ready to use it?

Free, no sign-up required.

Open the Lens Equation Calculator