How the Catenary Curve works
A catenary is the exact curve a flexible chain, rope, or cable traces when it hangs freely between two supports and sags under its own weight. Unlike a parabola — the shape used to approximate suspension-bridge cables carrying a level roadway — a true hanging chain follows the hyperbolic cosine function. This calculator evaluates that function directly from the inputs you provide, so you can find the curve's height, arc length, and local slope at any horizontal position.
Formula and method
The catenary equation is y = a·cosh((x − h)/a) + k, where a is the catenary parameter, x is the horizontal position, and h and k shift the vertex (the curve's lowest point) horizontally and vertically. The parameter a equals the horizontal tension H in the chain divided by its weight per unit length w (a = H/w): a large a means high tension relative to weight, giving a flat, gently curving line; a small a means the curve sags sharply. From this base formula, three related quantities follow directly:
- Slope: the tangent's slope at x is dy/dx = sinh((x − h)/a); the slope angle is atan of that value.
- Arc length: the length of curve from the vertex to x is s = a·sinh((x − h)/a).
- Tension ratio: the tension T at any point relates to the horizontal tension H by T = H·cosh((x − h)/a), so T/H = cosh((x − h)/a) — the same factor that scales the height above the vertex.
Common sources of error
- Confusing a catenary with a parabola: the two curves look alike for small sags but diverge for steep ones — always use cosh/sinh, not a squared term, for a hanging chain or cable.
- Using a non-positive parameter: a must be greater than 0; it represents a physical ratio of tension to weight and cannot be zero or negative.
- Rounding early: cosh and sinh grow quickly, so carry full precision through intermediate steps rather than rounding a or x before computing y, s, or the slope.
Checking your result
At the vertex (x = h) the height equals a + k, the slope is 0, and the tension ratio is exactly 1 — use these as a quick sanity check. Moving away from the vertex in either direction, height, arc length, and tension ratio should all increase, and the curve should be symmetric: two points equally spaced from h on either side give the same height, arc length, and tension ratio (with opposite-signed slope).
Applications
The catenary shows up anywhere a flexible line hangs under gravity alone: suspended power lines and telephone wire, ship anchor chains, the cables of some arch bridges, and architectural arches designed as an inverted catenary for pure compression (as used by Antoni Gaudí and in the Gateway Arch's design). Knowing a lets you predict clearance, required cable length, and how tension changes along the span.