Arc Length
calculator.
Measure the true length of a curved path, not the straight line across its ends.
- Chord
- 4.4721
- Arc ÷ chord
- 1.0391
- Estimated error
- 4.8 × 10⁻⁹
The curve is 3.91% longer than the straight 4.4721 chord. Half its length is used up by x = 1.333.
The curve, its polygon and its chord
Drag the end point along the curve to change b. More segments bring the polygon closer to the curve.
y = x² on [0, 2]. The curve runs from (0, 0) to (2, 4) with length 4.6468; the straight chord is 4.4721. A polygon with 4 segments measures 4.6267.
Working
- 1Arc length formula: add up tiny slanted piecesL = ∫20√1 + f′(x)2 dx
- 2Differentiate ff(x) = x2, so f′(x) = 2x
- 3Put f′ in the formulaL = ∫20√1 + (2x)2 dx
- 4Measure a polygon with 4,096 segmentsL₁ = 4.646784
- 5Measure a polygon with 8,192 segmentsL₂ = 4.646784
- 6Richardson extrapolation removes the polygon’s shortfallL ≈ 4L₂ − L₁3 = 4.646784
- 7Chord between the end points(0, 0) to (2, 4) = 4.472136
- 8Check: the integral with exact derivatives, no polygons≈ 4.646784, which agrees with L
Length so far
| y | Share | ||
|---|---|---|---|
| 0 | 0 | 0 | 0% |
| 0.2 | 0.04 | 0.205212 | 4.4% |
| 0.4 | 0.16 | 0.439292 | 9.5% |
| 0.6 | 0.36 | 0.722608 | 15.6% |
| 0.8 | 0.64 | 1.066964 | 23% |
| 1 | 1 | 1.478943 | 31.8% |
| 1.2 | 1.44 | 1.962359 | 42.2% |
| 1.4 | 1.96 | 2.519557 | 54.2% |
| 1.6 | 2.56 | 3.152055 | 67.8% |
| 1.8 | 3.24 | 3.860886 | 83.1% |
| 2 | 4 | 4.646784 | 100% |
Length built up so far
Distance traveled along the curve, reaching 4.6468 at the end. Steeper parts of the curve make this line climb faster.
How the polygons close in on L
Polygon length as the segments double
| Segments | Polygon length | Short of L by |
|---|---|---|
| 1 | 4.472136 | 0.174648 |
| 2 | 4.576491 | 0.070293 |
| 4 | 4.626723 | 0.02006 |
| 8 | 4.641731 | 0.005053 |
| 16 | 4.645521 | 0.001263 |
| 32 | 4.646468 | 0.000316 |
| 64 | 4.646705 | 0.000079 |
For a smooth curve, doubling the segments cuts the shortfall about 4 times. That pattern is what the last step of the working uses.
How it's worked out
Zoom in far enough and a smooth curve looks like a tiny slanted line. Over a small step dx the curve rises by , so the Pythagorean theorem gives that piece its length. Adding the pieces from a to b gives the formula. It needs f to be smooth, which means f′ exists and is continuous.
When both x and y move with a third value t, the parametric form adds up the speed along the curve instead.
On a circle the integral collapses to one product, as long as the angle is in radians. In degrees, multiply by first.
Why the answer comes from polygons. OpenStax warns that the formula often gives integrals you cannot do by hand. One hump of sin x is the classic case, with a length of 3.820198 that no ordinary antiderivative will give you. So the tool goes back to what arc length means: the limit of straight pieces laid along the curve. It measures a polygon of 4,096 pieces and one of 8,192, then combines them with one Richardson step, which removes the error that shrinks like one over the square of the piece count.
How it checks itself. The second route is the textbook integral. The tool differentiates your formula exactly and integrates the speed with no polygons in sight. For the parabola below, the two routes differ by less than one part in a billion. Polygons never use f′, so they also cope with the ends of a semicircle, where f′ runs off to infinity: that curve gives 3.14159, close to π.
Worked examples
Maya cuts trim for a parabolic arch
Maya's garden arch follows in meters, from to . Here , so the integral she needs is:
That gives about 4.65 m. The straight line between the ends is 4.47 m, so a cut based on the chord would leave her 17 cm short. Most of the extra length sits in the steep upper half: the first meter across needs only 1.48 m of trim, which leaves 3.17 m for the second.
How far a valve travels as a bike wheel turns
Sam marks the valve on a wheel of radius 0.35 m and rolls it one full turn. The valve traces a curve called a cycloid, and the wheel moves forward by the distance around its rim, 2.2 m.
The valve itself travels 2.8 m. That is four times the wheel's 0.7 m diameter, and it holds for any wheel, because the speed here is . The extra 0.6 m comes from going up and over rather than straight along.
Owen edges a curved path
Owen's path follows a circle of radius 12 m through 60°. In radians that angle is 1.0472, so the edging must cover 12.57 m. The straight line across is exactly 12 m, because a 60° wedge makes an equal-sided triangle.
The same numbers give the gravel. The sector holds 75.4 m², and the sliver between chord and arc holds 13.04 m². Add a little for waste, since a real path never follows a circle to the centimeter.
Reading your result
Length against chord. The ratio tells you how much a curve wanders. Near 1, as with the 1.033 of a short cosh x cable, the chord is a fair stand-in. A curve that ends where it starts has a chord of 0, so the ratio has no meaning and the tool shows None.
Units. The length takes the unit of x and y, so both axes must use the same one. Meters across and seconds up give a number with no physical meaning.
Steep curves gain more. These curves all run from (0, 0) to (1, 1) with the same chord. A higher power stays flat for longer and then climbs hard, so the length creeps toward 2, the length of the path that goes right and then straight up.
| Curve | Length | Length over chord |
|---|---|---|
| 1.4142 | 1 | |
| 1.4789 | 1.046 | |
| 1.5479 | 1.095 | |
| 1.6725 | 1.183 | |
| 1.7544 | 1.241 |
The error estimate is the gap between the two polygons, divided by 3. Treat it as a guide. On a smooth curve the true error is usually far smaller, and a vertical tangent makes it larger.
Plane curves only. For a curve in space, add under the root in the parametric formula. This tool measures curves in a plane.
Common mistakes
- Using degrees in rθ. A 60° arc of radius 12 is not 720. Convert first, or the answer comes out far too large.
- Forgetting to square f′. Under the root it is 1 plus f′ squared, not 1 plus f′. For you need , not .
- Crossing a jump. The formula needs a continuous f′. Across a jump such as floor x, the polygon adds the height of the jump as if the curve climbed it, so the tool warns you that the number is not a true length.
- Tracing a curve twice. A parametric length counts every pass. The unit circle gives 6.2832 for t from 0 to 2π, and 12.5664 for t from 0 to 4π, though the picture looks the same.