What a generalized cylinder is
A generalized cylinder (a right cylinder over an arbitrary base) is the solid you get when a flat region of area \(A\) and perimeter \(p\) is moved straight up, at right angles to its own plane, through a height \(h\). A circular base gives the ordinary cylinder, a polygon gives a right prism, and any other outline, such as an ellipse, a stadium or a profile from a drawing, gives a generalized cylinder. Only the base area and the base perimeter matter, not the exact outline.
How to use it
Pick the three values you know: base area, base perimeter and height; or the volume with the perimeter and height (the base area is solved); or the volume with the base area and perimeter (the height is solved). The length unit is a label only.
Derivation of the formulas
$$V = A\,h \qquad L = p\,h \qquad S = 2A + p\,h$$
Every horizontal slice is a copy of the base, so by Cavalieri's principle the volume is the base area times the height. The side wall unrolls into a rectangle of width \(p\) and height \(h\). The total surface adds the bottom and the top, each of area \(A\).
A base cannot have any area for a given perimeter: the isoperimetric inequality \(4\pi A \le p^2\) holds for every plane region, with equality only for a circle. The calculator refuses a base area above \(p^2/(4\pi)\).
Worked example
A base of area \(A = 12\) and perimeter \(p = 14\), extruded through \(h = 5\): the volume is \(12 \cdot 5 = 60\), the side area \(14 \cdot 5 = 70\) and the total surface \(2 \cdot 12 + 70 = 94\).
FAQ
Does the base have to be convex?
No. Any plane region works, as long as its area and the length of its boundary are known.
Is an oblique cylinder covered?
The volume, yes, if h is the perpendicular height. The side area of an oblique cylinder is larger than p times h, so use a right cylinder here.
Why was my base area refused?
No outline with that perimeter can enclose that much area; even a circle, the best case, encloses only p squared over 4 pi.
How accurate are the results?
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
Accuracy and input range
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
Enter each length as 0 or from 0.000001 to 1,000,000,000; each area from 0.000000000001 to 1,000,000,000,000,000,000; a volume from 0.000000000000000001 to 1,000,000,000,000,000,000,000,000,000. Anything outside is refused with a message naming the range. The page shows results rounded to at most 6 decimal places, and writes very large and very small values out in full.
References
Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., CRC Press, 2018.
Apostol, Calculus, Vol. 1, 2nd ed., Wiley, 1967.