Connect via MCP →

Enter Calculation

Formula

Show calculation steps (2)
  1. Sag

    Sag: Catenary Curve Calculator

    Sag is the height above the lowest point a

  2. Slope

    Slope: Catenary Curve Calculator

    Slope is the derivative of the curve at x

Advertisement

Results

Curve Height y
11.2763
y = a · cosh(x / a)
Sag from vertex (y − a) 1.2763
Slope dy/dx = sinh(x / a) 0.5211

What is a catenary curve?

A catenary is the shape formed by a flexible chain or cable hanging freely under its own weight, supported only at its two ends. Despite resembling a parabola, the true curve is described by the hyperbolic cosine function, \(y = a \cdot \cosh\!\left(\frac{x}{a}\right)\). The constant a sets how "deep" or "flat" the curve is: a larger a produces a flatter, more taut curve, while a smaller a gives a deeper sag.

Symmetric catenary curve hanging between two equal-height supports with its lowest vertex on the y-axis
A catenary is the shape a free-hanging chain forms under gravity, lowest at its central vertex.

How to use this calculator

Enter the catenary constant a and the horizontal position x measured from the lowest point (the vertex). The calculator returns the curve height y, the sag above the vertex (y − a), and the slope (dy/dx) at that point. The vertex sits at x = 0, where y = a and slope = 0.

The formula explained

The height is $$y = a \cdot \cosh\!\left(\frac{x}{a}\right)$$ where cosh is the hyperbolic cosine. Differentiating once gives the slope, $$\frac{dy}{dx} = \sinh\!\left(\frac{x}{a}\right)$$ At the vertex (\(x = 0\)), \(\cosh(0) = 1\) so \(y = a\), and \(\sinh(0) = 0\) so the tangent is horizontal. The sag relative to the lowest point is simply \(y - a\).

Advertisement
Catenary curve with labeled height y at position x, sag from the vertex, and a tangent line showing slope
Height y, sag from the vertex, and the tangent slope at a chosen horizontal position x.

Worked example

Take \(a = 10\) and \(x = 5\). Then \(x/a = 0.5\). \(\cosh(0.5) \approx 1.12763\), so $$y = 10 \times 1.12763 \approx 11.2763$$ The sag is \(y - a \approx 1.2763\), and the slope is \(\sinh(0.5) \approx 0.52110\).

FAQ

Is a catenary the same as a parabola? No. They look similar near the bottom, but a hanging chain follows cosh, while a parabola (\(y = kx^2\)) describes a load distributed evenly along the horizontal, like a suspension-bridge deck.

What does the constant a represent? It equals the horizontal tension divided by the weight per unit length of the cable, and it is also the height of the vertex above the directrix.

Why can't a be zero? Dividing x by a is required, so a = 0 is undefined; the calculator returns zero in that case.

Last updated: