Thin-Lens Magnification from Object and Image Distance Calculator
m = −dᵢ / dₒ; also 1/f = 1/dₒ + 1/dᵢ.
Compute the lateral magnification of a thin converging or diverging lens: m = −dᵢ/dₒ, where dₒ is the object distance and dᵢ is the image distance. Also computes the focal length via 1/f = 1/dₒ + 1/dᵢ. Positive m → upright image; negative m → inverted. |m| > 1 → magnified.
How to use this calculator
- Fill in the inputs above using the units you already have.
- Values update automatically as you type — no submit button needed.
- Hover any result row for the underlying formula and intermediate values.
Formula
m = −dᵢ/dₒ; 1/f = 1/dₒ + 1/dᵢ.
In depth
Compute the lateral magnification of a thin converging or diverging lens: m = −dᵢ/dₒ, where dₒ is the object distance and dᵢ is the image distance. Also computes the focal length via 1/f = 1/dₒ + 1/dᵢ. Positive m → upright image; negative m → inverted. |m| > 1 → magnified.
Spot an issue or have a suggestion?
Our editors read every message. If the math looks off, tell us the inputs you used and what you expected.