Skip to content
D DocNectar

Free Catenary Curve Calculator

Compute a catenary curve's equation, sag, and arc length between two points.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

A catenary is the exact curve formed by a chain, cable, or rope hanging freely under its own weight between two supports, described by the equation y = a·cosh(x/a), where a is the catenary parameter (controlling how tightly or loosely the curve sags) and the vertex, or lowest point, sits at (0, a) in a coordinate system centered under that lowest point. The shape appears everywhere gravity pulls on a flexible line: sagging power lines and telephone cables, ships' anchor chains, the necklace-like curve of a loosely draped rope, and — famously — the St. Louis Gateway Arch, which was deliberately built as an inverted catenary because that shape distributes structural forces most efficiently along its length.

How it works

Enter the parameter a and two x-values (positions measured horizontally from the curve's lowest point). The calculator finds y at each x using y = a·cosh(x/a), where cosh is the hyperbolic cosine function (cosh(t) = (eᵗ+e⁻ᵗ)/2). It also reports the sag — how much higher the curve is at your chosen x-value than at the vertex, i.e., y(x) − a — and the arc length of the curve between the two x-values, given by the formula a·sinh(x/a) measured from the vertex, where sinh is the hyperbolic sine (sinh(t) = (eᵗ−e⁻ᵗ)/2).

  1. Enter catenary parameter a.
  2. Enter x1.
  3. Enter x2.
  4. Click Calculate to see your results.

Examples

a = 10, x = 5

y(5) = 10·cosh(0.5) = 10 × 1.1276 ≈ 11.28. Sag = 11.28 − 10 = 1.28. Arc length from the vertex = 10·sinh(0.5) = 10 × 0.5211 ≈ 5.21.

a = 5, x = 3

y(3) = 5·cosh(0.6) = 5 × 1.1855 ≈ 5.93. Sag = 5.93 − 5 = 0.93. Arc length from the vertex = 5·sinh(0.6) = 5 × 0.6366 ≈ 3.18.

a = 20, x = 10

y(10) = 20·cosh(0.5) = 20 × 1.1276 ≈ 22.55. Sag = 22.55 − 20 = 2.55. Arc length from the vertex = 20·sinh(0.5) = 20 × 0.5211 ≈ 10.42.

Who should use it

  • Estimating the sag and arc length of a hanging cable, chain, or wire between two supports.
  • Physics and engineering coursework on catenary curves.
  • Architectural and structural design referencing catenary/arch shapes.

Industry applications

  • Civil and structural engineering
  • Electrical utility line design
  • Physics education

Advantages

  • Computes y-value, sag, and arc length together from one input.
  • Matches the true physical shape of a freely-hanging cable or chain.

Limitations

  • Not the correct model for a cable under significant additional uniform loading (like a suspension bridge deck) — that's closer to a parabola instead.

Common mistakes to avoid

  • Confusing a catenary with a parabola — they look nearly identical but follow genuinely different equations and arise from different physical loading conditions.
  • Forgetting that x is measured from the vertex (the curve's lowest point), not from one of the cable's two end supports.
  • Mixing up sag (height above the vertex) with the y-value itself — sag is y(x) minus a, not y(x) alone.

Best practices

  • Double check whether your problem is describing a freely-hanging cable (a true catenary) or a uniformly-loaded cable like a suspension bridge deck (closer to a parabola) before applying this formula.
  • Remember that a controls the tightness of the curve — verify your value of a is physically reasonable for the span and sag you expect.
  • Keep x measured relative to the vertex, not an arbitrary support point, to avoid sign or offset errors.

Tips

  • Working with a cycloid or spiral curve instead? See the Cycloid Calculator or Spiral Length Calculator.

Frequently asked questions

Hanging power lines and telephone cables, ships' anchor chains, a loosely draped rope or necklace, and the St. Louis Gateway Arch, which is built as an inverted catenary specifically for its efficient force distribution.
It's extremely close visually, but not mathematically identical — a catenary (y = a·cosh(x/a)) describes a chain hanging only under its own uniformly-distributed weight along its length, while a parabola describes a cable loaded uniformly across its horizontal span, like the main cables of a suspension bridge once the deck's weight dominates. For a loosely-hung chain with no additional deck load, the catenary is the mathematically correct shape.
It sets both the height of the vertex above the reference line and how quickly the curve rises away from that vertex — a larger a produces a flatter, more gently-sagging curve, while a smaller a produces a curve that rises more steeply from its lowest point.
Because arc length is found by integrating √(1 + (dy/dx)²) along the curve, and for y = a·cosh(x/a), that integral simplifies exactly to a·sinh(x/a) — a direct consequence of the identity cosh²(t) − sinh²(t) = 1 combined with the fact that the derivative of cosh is sinh.
Yes — an inverted catenary (flipped upside down) is exactly the shape used for compression-only structures like the Gateway Arch, since a hanging chain's pure-tension shape, when flipped, becomes the ideal pure-compression shape for a freestanding arch.
No — a is a shape parameter derived from the physical tension and weight-per-length of the real cable (specifically, a = horizontal tension ÷ weight per unit length), not the cable's total length itself, though the total arc length can be computed from a once you know the endpoints.

Get new calculators and guides in your inbox

No spam — just new tools like Catenary Curve Calculator and practical guides.

Favorites