What this calculator does
An oblique cylinder (oblique circular cylinder) has two equal circular bases of radius r in parallel planes, but its axis, the line joining the centres of the bases, is not perpendicular to them. The height h is the perpendicular distance between the base planes; the side length s is the length of the axis (and of every straight line on the side); the offset d is how far the top centre lies sideways from the point straight above the bottom centre; and the tilt angle θ is the angle between the axis and the base plane. They are linked by s² = h² + d² and h = s sin θ.
Derivation of the formulas
Volume (Cavalieri):
$$ V = \pi r^2 h $$
Side length, offset and tilt:
$$ s = \sqrt{h^2 + d^2},\quad h = s\sin\theta $$
Lateral surface area:
$$ L = s\,P\!\left(r,\ \frac{r h}{s}\right) = r\int_0^{2\pi}\sqrt{h^2 + d^2\cos^2 t}\,dt $$
Perimeter of an ellipse with semi-axes p ≥ q:
$$ P(p, q) = 4\int_0^{\pi/2}\sqrt{p^2\sin^2 t + q^2\cos^2 t}\,dt $$
Total surface area:
$$ S = L + 2\pi r^2 $$
Every cross-section parallel to the bases is the same circle of radius r, so by Cavalieri's principle the volume equals that of a right cylinder with the same base and height, \(\pi r^2 h\). For the side, cut the cylinder by a plane perpendicular to its axis: the section is an ellipse with semi-axes r (across the tilt) and \(r\sin\theta = rh/s\) (along the tilt). The side is made of straight lines of length s through this ellipse, so unrolling it gives a parallelogram-like strip of width s over the ellipse's perimeter: \(L = s\,P(r, rh/s)\). The same number follows from the parametrisation \((r\cos t + ud,\ r\sin t,\ uh)\), whose surface element is \(r\sqrt{h^2 + d^2\cos^2 t}\). The perimeter of an ellipse is a complete elliptic integral of the second kind; the calculator evaluates it with Carlson's symmetric integrals \(R_F\) and \(R_D\). The perpendicular height, not the side length, fixes the volume; the side length fixes the lateral surface.
Solving from what you know
Choose what you know: Radius r, height h and side length s; Radius r, height h and offset d; Radius r, height h and tilt angle θ; Radius r, tilt angle θ and side length s. The calculator first finds the sizes that define the solid and then computes every other value from the formulas above. Each length is accepted from 0.000001 to 1,000,000,000 (a size the solid allows to vanish may also be 0) and the tilt angle from 0.000001° up to and including 90° (π/2 rad); anything outside is refused with a sentence that names the range. A combination that cannot form the solid is refused with a sentence that says why; a limit that is still a real solid is answered and named.
Worked example
With the defaults r = 3, h = 8 and s = 10: the top centre is offset by d = 6, the tilt is θ ≈ 53.130102°, the volume is V = 72π ≈ 226.194671, the lateral surface is about 170.170007 and the total surface about 226.718675.
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. They are shown with up to 6 decimal places; a value below 0.000001 or of 10¹⁵ and more is shown as its plain 12-digit number instead. The unit you pick is a label: lengths are shown in that unit, areas in its square and volumes in its cube.
Frequently asked questions
Does tilting a cylinder change its volume?
No, as long as the radius and the perpendicular height stay the same (Cavalieri's principle). Tilting does increase the side surface, because the side lines get longer.
Which angle is the tilt angle?
The angle between the axis and the base plane: 90° is a right (upright) cylinder and smaller angles lean further. If you know the angle from the vertical, enter 90° minus it.
Why is the lateral surface not 2πrs?
The side lines have length s, but they stand on the ellipse you get by cutting across the axis, not on the base circle; that ellipse is shorter than the circle, so L lies between 2πrh and 2πrs.
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.
References
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulas, 33rd edition, CRC Press, 2018
M. Abramowitz and I. A. Stegun (eds.), Handbook of Mathematical Functions, National Bureau of Standards, 1964