Thin lens formula

The values filled in are an example: a 100 mm lens with an object 150 mm away.

How to use:
Choose the quantity to solve for and enter the other two. The answer appears in its own box, in the unit chosen beside it.
Sign convention: real is positive. u is positive for a real object, v for a real image on the far side of the lens, f for a converging lens.
Thin lens with object distance u, image distance v and focal length f
$$\frac{1}{f} = \frac{1}{u} + \frac{1}{v}$$
—
$$M = -\frac{v}{u}$$
—
Output:
The missing one of f, u and v, and the lateral magnification M (negative for an inverted image).

Formula: the Gaussian thin-lens equation, E. Hecht, Optics, 5th ed. (Pearson, 2017).