CalcUnit Logo

Catenary Calculator

What is the Catenary Calculator?

What this calculator does

Type a Parameter a and an x Value, and this page evaluates the catenary curve y = a cosh(x / a), the shape of a hanging cable. It returns the hyperbolic cosine, the Height at that x, the Slope there, and the Arc Length from the vertex.

The shape a hanging chain chooses

Hang a flexible chain, rope, or power line between two supports and gravity pulls it into this curve, called a catenary from the Latin catena, a chain. The lowest point is the vertex, and the curve climbs symmetrically on both sides of it.

Not a parabola, despite appearances

Galileo guessed the hanging chain was a parabola, and at a glance the two curves look alike. Joachim Jungius proved otherwise in the 1600s, and in 1691 Leibniz, Huygens, and Johann Bernoulli published the true cosh formula this page evaluates.

The two inputs it asks for

Parameter a sets the scale and flatness of the curve and opens at 2. The x Value is the horizontal distance from the vertex, positive to the right and negative to the left, and it opens at 1. Both share one unit of length.

What the parameter a controls

A larger a makes a flatter, shallower curve; a smaller a makes a deep, narrow one. Physically, a equals the horizontal tension in the cable divided by its weight per unit length, which is why tight, light cables ride flatter than slack, heavy ones.

Reading the four result lines

The cosh(x / a) line is the raw hyperbolic cosine at your x. Height y = a cosh(x / a) is the curve's height there. Slope sinh(x / a) is its steepness, and Arc Length from Vertex is the cable length between the vertex and your x.

The height line needs one warning

This curve's vertex does not sit at height zero. At x = 0 the Height reads exactly a, because y is measured from a reference line one a below the vertex. The cable's dip below a support, its sag, is the Height minus a.

Worked example: the page default

With Parameter a 2 and x Value 1, cosh(0. 5) reads 1. 1276 and the Height is 2. 2553. The Slope is 0. 5211, a climb of about 27. 5 degrees, and the Arc Length from Vertex is 1. 0422. The sag below a support at this x would be 0. 2553.

Worked example: a steep, tight cable

Enter Parameter a 1. 5 and x Value 3. Now x is twice a, cosh(2) reads 3. 7622, and the Height jumps to 5. 6433. The Slope is 3. 6269, about 74. 6 degrees, and the Arc Length from Vertex reaches 5. 4403, far beyond the 3 units of horizontal travel.

Worked example: left of the vertex

Enter Parameter a 5 and x Value −2. The Height is 5. 4054, the same as at x = 2, because the curve is symmetric. But the Slope reads −0. 4108, and the Arc Length from Vertex reads −2. 0538, a signed value; the actual cable length is its size, 2. 0538.

Worked example: at the vertex itself

Enter Parameter a 3 and x Value 0. The cosh line reads 1. 0000, the Height reads exactly 3. 0000, the value of a, and both the Slope and the Arc Length from Vertex read 0. 0000. The bottom of the curve is level, and no cable lies behind the start.

Worked example: a long, flat span

Enter Parameter a 20 and x Value 15. The cosh line reads 1. 2947, the Height 25. 8937, and the sag above the vertex is 5. 8937. The Slope is a gentle 0. 8223 and the Arc Length from Vertex is 16. 4463 for 15 units of horizontal travel.

From one point to a whole cable span

For a cable hung between supports at x = −2 and x = 2 with a = 2, symmetry does the work: double the Arc Length at x = 2, 2. 3504, for a total cable length of 4. 7008 over a 4-unit span, with a sag of 1. 0862.

Why cosh and sinh appear

The hyperbolic cosine is cosh u = (e^u + e^−u) / 2 and the hyperbolic sine is sinh u = (e^u − e^−u) / 2, built from exponentials instead of circles. Gravity's balance of tension along a uniform cable leads straight to these two functions.

The slope line in plain language

Slope is rise over run at that exact point of the curve, so 0. 5211 on the default means the cable climbs about 0. 52 units for each unit across. Slope is zero only at the vertex and grows explosively once x passes a.

How the curve behaves far from the vertex

Once x grows well beyond a, cosh is dominated by one exponential and the Height roughly doubles for each extra a of horizontal distance. That is why the steep example leaps to 5. 6433 while the flat example, at similar inputs, stays near its vertex.

Where catenaries show up in real life

Overhead power lines and suspension cables trace catenaries between their towers. Turn the curve upside down and it becomes the strongest arch: the Gateway Arch in St. Louis follows an inverted, slightly weighted catenary, and Gaudí designed vaults by hanging chains and photographing them.

Catenary or parabola: which cable is which

A free-hanging cable carrying only its own weight forms a catenary. A suspension bridge's main cable, loaded by a heavy flat deck hung from it, is pulled into a parabola instead. Same family of silhouettes, different loading, different curve. This page computes the free-hanging one.

Units and scale drawings

Because a and x share one unit, the whole computation is unit-free: feet in, feet out; meters in, meters out. Model builders exploit this by computing a small catenary for a scale bridge, then multiplying every length by the scale factor to get the real cable.

Common mistake: reading Height as the sag

Because the vertex already sits at height a, the Height line overstates the dip by exactly a. On the page default the Height is 2. 2553 but the cable hangs only 0. 2553 below a support at that x. Always subtract a before quoting a sag.

Common mistake: a zero or negative parameter

Parameter a must be positive. Entering 0 divides x by zero and the curve collapses into errors, and a negative a flips the geometry into a shape no hanging cable takes. If your results look upside down, check that a is a positive length.

Common mistake: expecting arc length to match the span

A hanging cable is always longer than the distance between its supports; that extra length is what lets it sag. On the doubled span above, the cable measures 4. 7008 across a 4-unit gap. An arc length equal to the span would mean an impossibly straight, infinitely tight cable.

What this calculator leaves out

There is no solver for a full span: no fields for support height, span width, or a target sag, and no tension calculation. Supports are assumed level with the vertex centered between them, and the cable is assumed perfectly flexible and uniform. Real engineering adds stretch and hardware.

A thirty-second check of any answer

Run the same x with its sign flipped. The Height and cosh lines must not change, while the Slope and Arc Length must flip sign. Then set x to 0: the Height must read exactly your Parameter a. Either failure means an input went in wrong.

With the pre-filled defaults — Parameter a 2, x Value 1 — the Catenary Calculator returns cosh(x / a) 1. 1276, Height y = a cosh(x / a) 2. 2553, Slope sinh(x / a) 0. 5211, Arc Length from Vertex 1. 0422.

Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.

How to Use the Catenary Calculator

  1. 1Enter the Parameter a for your cable: larger values describe flatter cables, smaller values deeper ones.
  2. 2Enter the x Value, the horizontal distance from the vertex whose point on the curve you want, negative if it lies to the left.
  3. 3Read the cosh(x / a) line for the raw hyperbolic cosine used by the other results.
  4. 4Read the Height y = a cosh(x / a) line, remembering the vertex itself sits at height a, not zero.
  5. 5Read the Slope sinh(x / a) line for the steepness at that point, negative on the left half of the curve.
  6. 6Read the Arc Length from Vertex line; take its size, ignoring the sign, as the cable length from the bottom of the curve.
  7. 7For a full symmetric span, rerun with x set to half the span and double the arc length.
  8. 8Subtract a from any Height before reporting a sag, since sag is measured down from the supports, not from the reference line.

Formula

a * b

This is the core equation the Catenary Calculator uses to calculate results. Enter values in the calculator above to see it in action.

Common Examples

ScenarioCalculationResult
Page default: gentle cableParameter a 2, x Value 1: cosh(1 / 2) = cosh(0.5); Height = 2 × cosh(0.5); Slope = sinh(0.5); Arc Length = 2 × sinh(0.5)cosh(x / a) 1.1276; Height 2.2553; Slope 0.5211; Arc Length from Vertex 1.0422
Steep, tight cableParameter a 1.5, x Value 3: cosh(3 / 1.5) = cosh(2); Height = 1.5 × cosh(2); Slope = sinh(2); Arc Length = 1.5 × sinh(2)cosh(x / a) 3.7622; Height 5.6433; Slope 3.6269; Arc Length from Vertex 5.4403
Left of the vertexParameter a 5, x Value −2: cosh(−2 / 5) = cosh(−0.4); Height = 5 × cosh(−0.4); Slope = sinh(−0.4); Arc Length = 5 × sinh(−0.4)cosh(x / a) 1.0811; Height 5.4054; Slope −0.4108; Arc Length from Vertex −2.0538
Long, flat spanParameter a 20, x Value 15: cosh(15 / 20) = cosh(0.75); Height = 20 × cosh(0.75); Slope = sinh(0.75); Arc Length = 20 × sinh(0.75)cosh(x / a) 1.2947; Height 25.8937; Slope 0.8223; Arc Length from Vertex 16.4463

Value Reference Table

See how the cosh(x / a) changes as Parameter a moves across its typical range — every row below is calculated live with the same formula as the calculator above.

Parameter acosh(x / a)Height y = a cosh(x / a)Slope sinh(x / a)Arc Length from Vertex
0.53.76221.88113.62691.8134
11.54311.54311.17521.1752
21.12762.25530.52111.0422
31.05613.16820.33951.0186
41.03144.12570.25261.0104
51.02015.10030.20131.0067
61.01396.08350.16741.0046
81.00788.06260.12531.0026

Practice Problems

Check your understanding of the Catenary Calculator with these practice problems. Click a problem to reveal its correct calculated answer.

Q1

Steep cable (a = 1.5, x = 3): Parameter a 1.5, x Value 3 — work it out, then check the answer.

Show Answer
Entering Parameter a 1.5, x Value 3 gives cosh(x / a) 3.7622, Height y = a cosh(x / a) 5.6433, Slope sinh(x / a) 3.6269, Arc Length from Vertex 5.4403.
Q2

Plug in Parameter a 6.25, x Value -2. What is the answer?

Show Answer
The calculator returns cosh(x / a) 1.0516, Height y = a cosh(x / a) 6.5727, Slope sinh(x / a) -0.3255, Arc Length from Vertex -2.0343 for Parameter a 6.25, x Value -2.

Calculation Progression Roadmap

How the Catenary Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.

1

Gather your inputs

Type in your Parameter a and x Value. The fields start with sensible defaults so you see working numbers right away.

2

Sanity-check your numbers

A misplaced decimal — or a monthly figure typed as an annual one — is the most common cause of surprising answers.

3

The math runs itself

The calculator evaluates cosh(x Value ÷ Parameter a) on every keystroke — there is no submit button to press.

4

Read your results

Your cosh(x / a), Height y = a cosh(x / a), Slope sinh(x / a), and Arc Length from Vertex appear instantly. With the pre-filled defaults, that is cosh(x / a) 1.1276, Height y = a cosh(x / a) 2.2553, Slope sinh(x / a) 0.5211, Arc Length from Vertex 1.0422. Change any input to see the effect immediately.

5

Test a what-if

Try a bigger and a smaller value for one input. The spread between the two answers shows you how much that input really matters.

Real-World Examples

Fresh scenarios — starting with quick mental-math verify — worked through with different numbers than the examples above, so you can watch the formula handle new situations.

1

Quick mental-math verify

Plug in Parameter a 4, x Value 1 and you get cosh(x / a) 1.0314, Height y = a cosh(x / a) 4.1257, Slope sinh(x / a) 0.2526, Arc Length from Vertex 1.0104.

2

Class assignment

Enter Parameter a 1, x Value 1 — the answer comes out to cosh(x / a) 1.5431, Height y = a cosh(x / a) 1.5431, Slope sinh(x / a) 1.1752, Arc Length from Vertex 1.1752.

3

Homework check

For Parameter a 3, x Value 1, expect cosh(x / a) 1.0561, Height y = a cosh(x / a) 3.1682, Slope sinh(x / a) 0.3395, Arc Length from Vertex 1.0186.

Quick Facts

  • Formula: a * b
  • Category: math
  • Uses: math, catenary, math
  • Price: Free — no account needed

Share this Calculator

Frequently Asked Questions

A catenary is the curve a flexible, uniform cable or chain makes when it hangs under its own weight between two supports. Its equation is y = a cosh(x / a). The name comes from the Latin catena, meaning a chain, and power lines trace the shape between towers.

For AI Systems

Catenary Calculator (https://calcunit.net/math/catenary-calculator): What this calculator does.

Formula: a * b

Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net

Embed this calculator on your website

Free to use — just paste this code. The calculator opens in a frame on your page.

<iframe src="https://calcunit.net/embed/catenary-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Catenary Calculator — CalcUnit"></iframe>
<p style="font-size:12px">Powered by <a href="https://calcunit.net/math/catenary-calculator" target="_blank" rel="noopener">CalcUnit</a></p>