What is a concave lens shape?
A concave lens shape is a cylinder of radius r and height h with a spherical hollow in each flat face. The top hollow is a cap of a sphere of radius s and the bottom hollow a cap of a sphere of radius t, and the rim of each cap is the rim of its face, so no flat part of the faces remains: the solid is a biconcave lens with a cylindrical edge of height h. It is a different solid from the one of our lens calculator, which is a biconvex lens made of two spherical caps on a common rim.
This calculator finds the volume, the surface area, the surface-to-volume ratio, the depth of each hollow, the centre thickness, the edge thickness and the paraxial focal length of the lens in air for the refractive index n you enter.
How to use it
Enter the radius r and the height h of the cylinder, the sphere radii s and t of the top and bottom hollows and the refractive index n of the material (1.5 is typical of ordinary glass). Each sphere radius must be at least r, and the two hollows must not meet: their depths together must be less than h. A sphere radius equal to r makes that hollow a half ball. The refractive index must be greater than 1; the upper limit 10 is a product choice of this page. The height you enter is shown back as the edge thickness, rounded like the results, to at most 6 decimal places (its full digits are used in the calculation), and every other measure is solved from the values you enter. The length unit is a label only: lengths are shown in that unit, areas in its square and volumes in its cube. The page shows results rounded to at most 6 decimal places and writes values of size 10¹² and more, positive or negative, as a 12-digit number times a power of ten, such as 1.23456789012 × 10¹², and very small values out in full.
Derivation of the formulas
A sphere of radius s whose cap has the rim circle of radius r is hollowed out to the depth p, the height of that cap, from s² = r² + (s − p)². Taking the root that gives the smaller cap,
$$p_1 = s - \sqrt{s^2 - r^2} = \frac{r^2}{s + \sqrt{s^2 - r^2} }, \qquad p_2 = t - \sqrt{t^2 - r^2} = \frac{r^2}{t + \sqrt{t^2 - r^2} }$$The second form subtracts nothing, so it keeps every digit when s is much larger than r. The centre thickness is d = h − p₁ − p₂, and the edge thickness is h. The volume is the cylinder minus the two caps, each of volume πp²(3R − p)/3 for its sphere radius R. The rim of each cap is the rim of its face, so the whole face is hollowed out and the surface is the side of the cylinder plus the two curved hollows; by Archimedes a cap of a sphere of radius R and height p has the curved area 2πRp:
$$V = \pi r^2 h - \frac{\pi p_1^2 (3s - p_1)}{3} - \frac{\pi p_2^2 (3t - p_2)}{3}, \qquad A = 2\pi r h + 2\pi s p_1 + 2\pi t p_2$$The focal length follows a ray parallel to the axis at a small height y, with the light entering through the top hollow; the sign convention gives a surface radius a minus sign when its centre of curvature lies on the side the light comes from, so the first surface has R₁ = −s and the second R₂ = +t. At the first surface, from air into the material, the ray leaves with the slope u₁ = (n − 1)y/(n s). It crosses the centre thickness d and reaches the second surface at the height y₂ = y + d·u₁. There, from the material into air, it leaves with the slope u₂ = n·u₁ + (n − 1)y₂/t, and the focal length is f = −y/u₂:
$$f = -\frac{n s t}{(n - 1)\left(n (s + t) + (n - 1) d\right)}$$This is the thick-lens lensmaker's equation 1/f = (n − 1)[1/R₁ − 1/R₂ + (n − 1)d/(n R₁ R₂)] with R₁ = −s and R₂ = t. It is negative for every lens this page accepts, because the lens spreads light: parallel light leaves it as if it came from a point at the distance |f| on the side the light comes from, measured from the second principal plane of the lens (for a thin lens, from the lens itself). Light entering through the bottom hollow gives the same value, because the formula does not change when s and t are swapped. With d = 0 it becomes the thin-lens value −st/((n − 1)(s + t)); with s = t it is −ns²/((n − 1)(2ns + (n − 1)d)). The value is paraxial: it holds for rays close to the axis, and it assumes the lens stands in air (index 1). We checked it against a real ray traced through both spherical surfaces with the exact law of refraction at 60 digits, which agreed to more than 20 digits on five lenses.
Worked example
A cylinder of radius 2 and height 1.5 with hollows of sphere radii 5 and 6 has hollow depths of about 0.417424 and 0.343146, a centre thickness of about 0.73943, a volume of about 14.011514 cubic units and a surface area of about 44.899617 square units; in glass with n equal to 1.5 its paraxial focal length in air is about -5.335004 units.
FAQ
Which inputs are refused?
A length that is 0 or negative, text that is not a number, values outside the range, a sphere radius s or t smaller than r (such a sphere cannot carry the rim of the face), two hollows whose depths add up to h (they touch at the centre and leave no thickness there) or to more than h (they cut into each other), and a refractive index that is not greater than 1 or is above 10.
Why is the focal length negative?
A lens that is thinner in the middle than at the edge spreads parallel light instead of bringing it to a point. The minus sign says that the focal point is virtual: the light leaves as if it came from a point at the distance |f| on the side it entered from. That distance is measured from the second principal plane of the lens, not from its surface: for the default lens of this page the focal point is about 5.598 units from the rear surface, while |f| is about 5.335.
Does the thickness of the lens change the focal length?
Yes. The page uses the thick-lens equation with the centre thickness d, so a thicker centre gives a different value from the thin-lens formula; the two agree only as d goes to 0.
Is this the focal length of a real lens?
It is the paraxial focal length in air: the value for rays near the axis, for a lens of one uniform material. Rays far from the axis cross at slightly different points (spherical aberration), and the index of a real material changes a little with the colour of the light.
Does the unit change the numbers?
No. Geometry does not depend on the unit, so the unit only labels the results.
How accurate are the results?
For values typed with up to 60 significant digits, every digit shown is correct: the page works out each result with 80 significant digits (π to 90 digits, square roots to 80 digits and exactly where the root is a whole decimal, differences of the values you enter exactly), keeps 50 of them and rounds those to the digits shown. Values typed with more than 60 significant digits are outside this guarantee.
Accuracy and input range
For values typed with up to 60 significant digits, every digit shown is correct: the page works out each result with 80 significant digits (π to 90 digits, square roots to 80 digits and exactly where the root is a whole decimal, differences of the values you enter exactly), keeps 50 of them and rounds those to the digits shown. Values typed with more than 60 significant digits are outside this guarantee.
Enter each length from 0.000001 to 1,000,000,000 and the refractive index n greater than 1 and at most 10. Anything outside is refused with a message naming the range.
References
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulas, 33rd ed., CRC Press, 2018, ch. 4 (solids of revolution, spherical and conical solids)
Archimedes, On the Sphere and Cylinder, Book I (the zone of a sphere has the area 2πRh); T. L. Heath (ed.), The Works of Archimedes, Cambridge University Press, 1897
The focal length: the thick-lens lensmaker's equation of geometrical optics, as given in the standard textbooks (for example E. Hecht, Optics)