Lens Formula Calculator
Use the thin lens formula to find the image distance, magnification, image height, nature of the image and power in dioptres for a convex or concave lens.
Image Distance v
30 cm
Image Nature
Real and inverted, Same size
Magnification
-1
Image Height
-5 cm
Power
6.667 D
Thin Lens Formula
Choose convex or concave, then enter the object distance, focal length and object height as positive numbers. The calculator applies the sign convention for you and gives the image position, size and nature, and the lens power.
Formulas (Cartesian sign convention)
- Lens formula 1/v − 1/u = 1/f (u negative for a real object)
- Magnification m = v/u = h′/h
- Power P = 100/f(cm) dioptres
Images formed by a convex lens
| Object position | Image position | Nature |
|---|---|---|
| Beyond 2F | Between F and 2F | Real, inverted, diminished |
| At 2F | At 2F | Real, inverted, same size |
| Between F and 2F | Beyond 2F | Real, inverted, magnified |
| At F | At infinity | Highly magnified |
| Inside F | Same side as object | Virtual, erect, magnified |
Worked examples
1. Object 30 cm from a 15 cm convex lens (the defaults). v = +30 cm; m = −1: real, inverted, same size; +6.67 D.
2. Object 20 cm away. v = +60 cm; m = −3: real, inverted, magnified.
3. Object 10 cm away (magnifying glass). v = −30 cm; m = +3: virtual, erect.
4. Object 30 cm from a 15 cm concave lens. v = −10 cm; m = +0.33: virtual, erect, diminished; −6.67 D.
Indian school textbooks (NCERT) use this Cartesian sign convention.
Related tools
- Mirrors: Mirror Formula Calculator. Light waves: Wave Frequency Calculator.
Frequently Asked Questions
What is the lens formula?
1/v − 1/u = 1/f in the Cartesian sign convention (distances measured from the lens; left negative, right positive; object on the left so u is negative).
What is the sign of f?
Positive for a convex (converging) lens, negative for a concave (diverging) lens. Enter the magnitude and choose the lens type.
How is magnification calculated?
m = v/u = image height ÷ object height. Negative m means an inverted image.
What is the power of a lens?
P = 1/f with f in metres, in dioptres: 100/f for f in cm. A 15 cm convex lens is +6.67 D; spectacle prescriptions use this unit.
Where is the image for a convex lens?
Object beyond 2F: real, inverted, diminished between F and 2F. At 2F: same size at 2F. Between F and 2F: real, magnified beyond 2F. Inside F: virtual, erect, magnified (magnifying glass).
What image does a concave lens form?
Always virtual, erect and diminished, on the same side as the object.
What happens when the object is at the focus?
The rays emerge parallel and the image forms at infinity.
How do I combine lenses in contact?
Add their powers: +5 D and −2 D in contact give +3 D (f = 33.3 cm).
How are spectacles prescribed?
Short sight uses concave (negative power) lenses; long sight and reading glasses use convex (positive) lenses.
Is this formula exact?
It applies to thin lenses and rays close to the axis. Thick lenses and wide angles need more detailed optics.
Related Calculators
Mirror Equation Calculator
Calculate image distance, magnification, and image type for spherical mirrors using the mirror formula 1/f = 1/v + 1/u.
Wave Frequency Calculator
Calculate wave frequency, period, angular frequency, and wave number from wavelength and wave velocity using v = fλ.
Projectile Motion Calculator
Calculate the range, maximum height, and time of flight for projectile motion given initial velocity, launch angle, and height.
Pendulum Calculator
Calculate the period, frequency, and angular frequency of a simple pendulum using T = 2π√(L/g).
Magnetic Field Calculator
Calculate the magnetic field around a straight current-carrying wire and solenoid using B = μ₀I/(2πr) and B = μ₀nI.
Kinematic Equations Calculator
Solve kinematic equations for uniformly accelerated motion: find final velocity, displacement, and average velocity from initial velocity, acceleration, and time.
More in Physics · Engineering calculators · All calculators A–Z