Thin Lens Equation

Solve the thin lens equation 1/f = 1/u + 1/v to compute object distance, image distance, focal length, and magnification of any thin lens. Free online physics optics calculator with interactive charts and step-by-step breakdown.

Calculate lens properties using the thin lens equation

Enter any two values to compute the third using 1/f = 1/u + 1/v.

About This Calculator

The Thin Lens Equation Calculator helps physics students, optics engineers, and hobbyists analyze the behavior of thin lenses using the fundamental lens formula 1/f = 1/u + 1/v. By entering any two of the three values — object distance (u), image distance (v), or focal length (f) — the calculator instantly determines the missing parameter, along with magnification, lens type (converging or diverging), and image characteristics (real or virtual). This tool is ideal for solving optics problems in high school and college physics, laboratory work, and practical lens design applications.

The thin lens equation is derived from geometric optics under the paraxial approximation, where light rays make small angles with the optical axis. For a thin lens (thickness negligible compared to curvature radii), the equation 1/f = 1/u + 1/v accurately predicts image formation. The sign convention used is: object distance u is always positive for real objects; image distance v is positive for real images (formed on the opposite side of the lens) and negative for virtual images (formed on the same side); focal length f is positive for converging (convex) lenses and negative for diverging (concave) lenses. Magnification is computed as M = |v|/u, representing the absolute linear magnification regardless of image orientation.

Formula: 1/f = 1/u + 1/v, where u = object distance (cm), v = image distance (cm), f = focal length (cm). Magnification M = |v|/u.

How to use: Enter any two values in centimeters into the three input fields (object distance, image distance, focal length). Leave the unknown field blank. Click Calculate to solve for all parameters. The results display the computed values, lens and image type classification, a bar chart comparing the three distances, and a pie chart showing the optical power (reciprocal distance) distribution.

Regional Notes

India (IN): The thin lens equation is taught in Class 10, Class 12, and undergraduate physics curricula following CBSE and NCERT standards. Lens formulas with sign conventions are covered extensively in optics chapters. Indian students use the Cartesian sign convention where distances measured against the direction of incident light are negative.

United States (US): The thin lens equation is covered in AP Physics 2, introductory college optics, and pre-med physics courses. US textbooks commonly use the formula 1/do + 1/di = 1/f where do = object distance and di = image distance, following the same principles. The calculator supports both conventions by using standard distance inputs.

United Kingdom (UK): The thin lens equation is part of A-Level Physics and GCSE Physics optics modules. UK curricula emphasize real and virtual image formation through ray diagrams and the lens formula. Students are assessed on sign convention application and magnification calculations for both converging and diverging lenses.

Frequently Asked Questions

What is the thin lens equation?

The thin lens equation relates the object distance (u), image distance (v), and focal length (f) of a thin lens: 1/f = 1/u + 1/v. It is used to determine where an image will form for a given object placed near a thin lens, and is valid for both converging (convex) and diverging (concave) lenses provided the lens thickness is small compared to the radii of curvature.

How do I calculate focal length from object and image distance?

Use the thin lens equation: 1/f = 1/u + 1/v. If you know the object distance u and image distance v, the focal length f = 1 / (1/u + 1/v). For example, with u = 30 cm and v = 15 cm, f = 1 / (1/30 + 1/15) = 10 cm. Enter any two values in the calculator to compute the third.

What is the difference between a converging and diverging lens?

A converging (convex) lens has a positive focal length (f > 0) and brings parallel light rays together at a focal point. A diverging (concave) lens has a negative focal length (f < 0) and spreads parallel light rays outward. The thin lens equation works for both types — simply enter the appropriate sign for the focal length when using the formula.

What does a positive vs negative image distance mean?

A positive image distance (v > 0) means the image forms on the opposite side of the lens from the object — this is a real image that can be projected onto a screen. A negative image distance (v < 0) means the image forms on the same side as the object — this is a virtual image that cannot be projected and is only visible by looking through the lens.

How do I determine if an image is real or virtual?

For a converging lens: if the object is beyond the focal point (u > f), the image is real and inverted. If the object is inside the focal point (u < f), the image is virtual, upright, and magnified (like a magnifying glass). For a diverging lens: the image is always virtual, upright, and smaller than the object, regardless of the object position.

What happens when the object is placed at the focal point?

When the object is placed exactly at the focal point of a converging lens (u = f), the thin lens equation gives 1/v = 1/f - 1/f = 0, meaning v → ∞. The refracted rays emerge parallel and no image is formed — or equivalently, the image is at infinity. This principle is used in flashlights and collimators to produce parallel beams of light.

How is magnification calculated in the thin lens equation?

Linear magnification M is the ratio of image height to object height, equal to the absolute ratio of image distance to object distance: M = |v| / u. A magnification greater than 1 means the image is larger than the object, while M less than 1 means the image is smaller. For real images the image is inverted, but magnification is reported as a positive absolute value.