Free online tools

Thin Lens Equation Calculator

Find image distance, magnification and image type from the focal length of a thin lens and the distance to a real object.

Enter your values

This tool processes your input in your browser.

Result

Use the focal length sign

A converging thin lens uses a positive focal length. A diverging lens uses a negative focal length in this convention. Object distance is positive for an object on the incident side.

Read image distance and magnification together

The thin lens equation is 1/f = 1/dₒ + 1/dᵢ. A 50 mm lens viewing an object 200 mm away makes an inverted image about 66.7 mm behind the lens.

Frequently asked questions

What happens at the focal plane?

When a real object sits at the focal point of a converging lens, outgoing rays are parallel and image distance is effectively infinite in the model.

What does a negative image distance mean?

It describes a virtual image on the incident side of the lens. The sign of magnification tells whether the image is upright or inverted.