A diopter calculator converts between the power of a lens in dioptres and its focal length, adds the powers of two thin lenses placed together and finds the position and magnification of an image with the thin lens equation. It is useful for glasses, cameras and optics homework.
How to use the diopter calculator
- Choose what you want.
- Enter the power or the focal length, and the object distance for an image.
- Press Calculate.
The dioptre
The dioptre, with the symbol D, is a unit equal to one reciprocal metre, 1 dpt = 1 m⁻¹ [1]. The optical power of a lens is equal to the reciprocal of its focal length in metres [1]. So P = 1 ÷ f. The page says that a 3-dioptre lens brings parallel rays of light to a focus at 1/3 metre [1]. The calculator gives that as 33.33 centimetres.
Positive and negative
A converging lens has a positive power and a positive focal length, and a diverging lens a negative power. A lens of −2 dioptres has a focal length of −0.5 metres, which is −50 centimetres. The calculator says whether the lens converges or diverges. A power of zero is a flat piece of glass, which has no focal length, so it is not allowed.
From the focal length
If you know the focal length, the power is the reciprocal of it in metres. A lens with a focal length of 2 metres has a power of 0.5 dioptres, one of 25 centimetres has 4, and one of 50 millimetres has 20. Choose the unit of the focal length in metres, centimetres or millimetres, and the calculator converts to metres before taking the reciprocal.
Adding lenses
The page says that when relatively thin lenses are placed close together, their powers approximately add [1]. A thin 2.0-dioptre lens next to a thin 0.5-dioptre lens gives almost the same focal length as a single 2.5-dioptre lens [1]. The calculator adds the two powers and gives the focal length of the combination, 40 centimetres for 2.5 dioptres. The rule is only approximate.
Glasses
The page notes that reading glasses sold over the counter are rated from +1.00 to +4.00 dioptres, and that glasses for mild short-sightedness have a power of −0.50 to −3.00 dioptres [1]. A person who needs −2 dioptres for distance and an addition of 1 for reading is prescribed lenses of −1 dioptre for reading [1]. Use the calculator to see the focal lengths that go with a prescription.
The thin lens equation
The thin lens equation is 1 ÷ s_o + 1 ÷ s_i = 1 ÷ f, the Gaussian form, where s_o is the distance of the object and s_i that of the image [2]. A positive object distance is for a real object, a positive image distance for a real image, and the focal length is positive for a converging lens [2]. In terms of the power, 1 ÷ s_i = P − 1 ÷ s_o.
Finding the image
For a lens of 4 dioptres, with a focal length of 25 centimetres, and an object at 50 centimetres, 1 ÷ s_i = 4 − 2 = 2 per metre, so the image is 50 centimetres away on the far side, a real image. The magnification is −s_i ÷ s_o = −1, an inverted image of the same size. This example and the magnification formula are our own working. With the object at 10 centimetres, the image is virtual and upright.
At the focal point
If the object is exactly at the focal length, the rays leave the lens parallel and the image is at infinity, and the calculator says so. For an object closer than the focal length, the image is virtual, on the same side as the object, and a converging lens acts as a magnifying glass. The page gives an approximate magnifier power as 0.25 ÷ f + 1 [1].
The lensmaker's equation
The page also gives the lensmaker's equation for thin lenses, 1 ÷ f ≈ (n − 1)(1 ÷ R₁ − 1 ÷ R₂), where n is the refractive index and R₁ and R₂ are the radii of curvature of the two surfaces [2]. It shows that a lens of glass with n = 1.5 and equal radii of 20 centimetres, on both sides, has a power of 5 dioptres. This is our own example.
Using the calculator
Select the conversion that you need. Enter the power in dioptres with its sign, or the focal length with its unit, and press the button. For an image, enter the power and the object distance. Check the sign of the result: a positive image distance is a real image. For a prescription or a camera, confirm values with a professional, since this is a basic tool.
Everyday values
The human eye, when focused at infinity, has a power of about 60 dioptres, mostly from the cornea, a figure of our own. A camera lens of 50 millimetres has a power of 20 dioptres. A magnifying glass of 10 centimetres focal length has 10 dioptres. The calculator converts any of these between the two ways of describing the lens, and so helps to compare lenses of very different sizes.
Common mistakes
- Using centimetres in the formula. The power uses metres.
- Forgetting the sign. A negative power diverges.
- Adding thick lenses that are far apart. The rule is approximate.
- Putting the object at the focal point. The image is at infinity.
What next
Use this often? Add Diopter to your Home screen.
Frequently asked questions
What is a diopter calculator?
A tool that converts between lens power in dioptres and focal length.
What is the formula for lens power?
P = 1 ÷ f, with f in metres.
How do I add the power of two thin lenses?
Add their powers in dioptres; it is approximate.
What is the thin lens equation?
1 ÷ s_o + 1 ÷ s_i = 1 ÷ f.
What is the power of a lens with a focal length of 2 metres?
0.5 dioptres.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.