What is a cylindrical wedge?
A cylindrical wedge (an ungula) is the piece of a right circular cylinder of radius r cut off by one plane that crosses the base along a chord and rises to the top circle, touching it at a single point at the height h. Its base is a circular segment, its cut face is a segment of an ellipse and its curved side is part of the side of the cylinder. The angle Φ is half the angle that the arc of the base spans at the centre: with Φ = 90° the chord is a diameter and the base a half disc, and with Φ = 180° the plane touches the base at one point and the wedge is a diagonally halved cylinder. A plane that cuts only the side of the cylinder gives a cut cylinder instead.
This calculator finds the volume, the total surface area, the surface-to-volume ratio, the curved surface, the area of the base (a circular segment), the area of the cut face (an elliptic segment), the wedge length l, the length of the cut face from the chord to the top, the chord of the base, the angle Φ and the angle between the cut and the base.
How to use it
Enter the radius r, the height h and either the angle Φ in degrees (above 0, at most 180) or the wedge length l: the distance from the chord to the farthest point of the base, above 0 and at most 2r. The two are tied by l = r(1 − cos Φ). The values you enter are shown back rounded like the results, to at most 6 decimal places (their full digits are used in the calculation), and every other measure is solved from them. 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 from 10¹² up 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
Put the base in the plane z = 0 with its centre at the origin, the chord on the line x = r·cos Φ and the farthest point of the base at x = r. The cutting plane rises evenly from the chord to the height h at x = r:
$$z = h \, \frac{x - r\cos\Phi}{r(1 - \cos\Phi)}$$The volume is the integral of z over the base segment. With x = r·cos t the strip at t has the width 2r·sin t and the thickness r·sin t dt, and the integral gives
$$V = \frac{h r^2 \left( \sin\Phi - \Phi\cos\Phi - \tfrac{1}{3}\sin^3\Phi \right)}{1 - \cos\Phi}$$with Φ in radians. The curved surface is the integral of the height z along the arc of the base, r dt for t from −Φ to Φ:
$$L = \frac{2 h r \left( \sin\Phi - \Phi\cos\Phi \right)}{1 - \cos\Phi}$$The base is the circular segment A_b = r²(Φ − sin Φ cos Φ). The cut face projects straight down onto the base and makes the angle θ with it, where tan θ = h/l and l = r(1 − cos Φ) is the wedge length, so its area is A_b·√(l² + h²)/l. The chord of the base is 2r·sin Φ.
For a small angle Φ the brackets are tiny differences of nearly equal numbers. The page therefore evaluates them from their power series, for example sin Φ − Φ cos Φ = Φ³/3 − Φ⁵/30 + …, and uses 1 − cos Φ = 2 sin²(Φ/2), so no digits are lost. Two checks: Φ = 90° gives the classical ungula with V = 2r²h/3, and Φ = 180° gives V = πr²h/2, half of the cylinder.
These formulas were checked when the page was built against a numerical integration of the volume and the curved surface over the base.
Worked example
With the default radius 5, height 8 and angle Φ = 120°, the wedge length is l = 5(1 + 0.5) = 7.5, the volume is 226.228881 cubic units, the curved surface 102.038558 square units, the base 63.185195, the cut face 92.383968 and the total surface 257.60772 square units.
FAQ
Which inputs are refused?
An angle Φ of 0 or above 180 degrees, a wedge length above 2r, a value that is 0, negative, not a number, outside the range or longer than 60 significant digits.
What does the angle Φ measure?
Φ is the angle at the centre of the base between the line to the farthest point of the base and the line to one end of the chord. The arc of the base therefore spans 2Φ. At 90° the chord passes through the centre; above 90° the base is more than half of the disc.
Why is the cut face a piece of an ellipse?
A plane that is not parallel to the base cuts the side of a cylinder in an ellipse. The cut face is the part of that ellipse that lies above the base, cut off by the line through the chord.
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?
Each value is rounded once to the digits shown, a value exactly halfway being rounded up, from a calculation carried well beyond those digits: 80 significant digits and more (π to 90 digits, sines and arc tangents as series, and the three angle functions of the volume, curved surface and base as power series with 20 extra digits, so nothing cancels for small angles); the wedge length, chord and cut length are exact whenever they are rational. When a value lies very close to the halfway point between two shown values, the page recalculates with 160 and then 320 digits, and a value that can come out rational is decided exactly if 320 digits still cannot tell its side. A value typed with many digits can still lie closer to a halfway point than that, and its last shown digit may then be off by one.
Accuracy and input range
Each value is rounded once to the digits shown, a value exactly halfway being rounded up, from a calculation carried well beyond those digits: 80 significant digits and more (π to 90 digits, sines and arc tangents as series, and the three angle functions of the volume, curved surface and base as power series with 20 extra digits, so nothing cancels for small angles); the wedge length, chord and cut length are exact whenever they are rational. When a value lies very close to the halfway point between two shown values, the page recalculates with 160 and then 320 digits, and a value that can come out rational is decided exactly if 320 digits still cannot tell its side. A value typed with many digits can still lie closer to a halfway point than that, and its last shown digit may then be off by one.
Enter each length from 0.000001 to 1,000,000,000 and the angle from 0.000001 to 180 degrees. Anything outside is refused with a message naming the range.
References
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., CRC Press, 2018, ch. 4 (plane figures and solids)
T. M. Apostol, Calculus, Vol. 1, 2nd ed., Wiley, 1967 (volumes and areas by integration)