Cycloid Calculator & Visualizer
Calculate arc length, area, curvature of cycloids and visualize ordinary, curtate, prolate, epicycloid, and hypocycloid curves interactively.
About
A cycloid is the curve traced by a point on the rim of a circle rolling along a straight line. Miscalculating its arc length or area leads to errors in gear tooth profiles, cam mechanisms, and brachistochrone problem solutions. This tool computes exact properties for five cycloid families: ordinary, curtate (tracing point inside the circle, d < r), prolate (tracing point outside, d > r), epicycloid (circle rolling outside another circle), and hypocycloid (circle rolling inside). All geometric quantities - arc length, enclosed area, radius of curvature - are derived from parametric integrals, not approximations. Numerical integration uses Simpson's rule with 1000 subdivisions for arc length where closed-form solutions do not apply.
Limitations: the tool assumes perfect rolling contact with no slip. Epicycloid and hypocycloid calculations assume integer or rational radius ratios Rr for closed curves. Irrational ratios produce space-filling curves that never close. The visualizer renders up to 50 full revolutions to approximate such cases.
Formulas
The ordinary cycloid is defined by a circle of radius r rolling on a line. The parametric equations are:
For curtate and prolate cycloids, the tracing point is at distance d from center:
For epicycloids (small circle of radius r rolls outside fixed circle of radius R):
For hypocycloids (small circle rolls inside):
Arc length for one complete arch is computed via:
For the ordinary cycloid this evaluates to L = 8r. Curvature at parameter t:
Where r = rolling circle radius, R = fixed circle radius, d = tracing point distance from center, t = parameter (angle of rotation), k = R/r = radius ratio, κ = curvature, L = arc length.
Reference Data
| Cycloid Type | Parameters | Arc Length (1 arch) | Area (1 arch) | Notable Property |
|---|---|---|---|---|
| Ordinary | r | 8r | 3πr2 | Brachistochrone & tautochrone curve |
| Curtate | r, d < r | Numerical integral | Numerical integral | No cusps, smooth loops |
| Prolate | r, d > r | Numerical integral | Numerical integral | Self-intersecting loops |
| Epicycloid (k=1) | R=r | 8r | 3πr2 | Cardioid |
| Epicycloid (k=2) | R=2r | 16r | 8πr2 | Nephroid |
| Epicycloid (k=3) | R=3r | 24r | 15πr2 | Trefoil / 3-cusped epicycloid |
| Hypocycloid (k=3) | R=3r | 24r3 | 2πr23 | Deltoid (Steiner curve) |
| Hypocycloid (k=4) | R=4r | 6R | 3πR28 | Astroid |
| Hypocycloid (k=5) | R=5r | Numerical integral | Numerical integral | Pentacuspid |
| Epicycloid (general) | R, r | 8r(R + r)R | πr2⋅(3k + k2) | Closed when k = R/r ∈ Q |
| Hypocycloid (general) | R, r | 8r(R − r)R | πr2⋅(3k − k2) | Requires R > r |
| Involute of circle | r | rt22 | N/A (open curve) | Used in gear tooth profiles |
| Spirograph (general) | R, r, d | Numerical integral | Numerical integral | Generalized hypotrochoid / epitrochoid |