Differentiate
To start, find the derivative:

This arc length calculator finds the length of a curve given as y = f(x), in parametric form or in polar form. It simplifies the square root when it can and shows every step. Arc length is the distance along a curve between 2 points; the article below covers the circle formula s = rθ, the integral formulas for curves, and worked examples from the parabola to the cardioid.
Results
Your arc, measured and drawn
The red polygon joins n points on the arc. Its length is always a little short of the arc length, and the gap shrinks as you add points.
Interactive diagram
Arc and inscribed polygon
Arc length
Integral set-up
Step-by-step solution
—Step by step
To use the arc length calculator, follow these 5 steps. The length and the graph update as you type.
Pick the curve type
Choose y = f(x), parametric (x(t), y(t)) or polar r(θ).
Type the curve
For example x^(3/2), t - sin(t) and 1 - cos(t), or 1 + cos(theta).
Enter the bounds
Use numbers or constants such as pi/4 or 2*pi.
Read the length
See the exact length when the root simplifies, plus the set-up and a numeric check.
Compare with a polygon
Drag n up. The polygon length climbs toward the arc length.
Definition
Arc length is the distance measured along a curve between 2 of its points, the length a string would have if laid exactly on the curve. For a straight line, arc length equals the ordinary distance; for a curve, it is always longer than the straight chord between the endpoints.
There are 4 ways to describe a curve, and each has its own arc length formula:
Arc length is a length, so it carries the units of the axes: centimetres, metres or inches, never square or cubic units.
Orange: the arc from 0 to x. Teal dashed: the chord, the straight line between the same 2 points. At x = π, the arc is 3.8202 and the chord is π ≈ 3.1416: the arc is about 22% longer.
s = rθ
The arc length of a circle is s = rθ, the radius times the central angle in radians. With the central angle in degrees, the formula is s = 2πr · θ/360 = πrθ/180.
A circle of radius 5 and a central angle of 60° (π/3 radians) has an arc length of 5 · π/3 = 5π/3 ≈ 5.236. The full circle, θ = 2π, gives the circumference 2πr, and the diameter d = 2r gives the same value as πd.
| Quantity | Formula | r = 5, θ = 60° |
|---|---|---|
| Arc length | s = rθ | 5π/3 ≈ 5.236 |
| Chord length | c = 2r sin(θ/2) | 5 |
| Area of a sector | A = ½r²θ = ½rs | 25π/6 ≈ 13.090 |
| Arc height (sagitta) | h = r(1 − cos(θ/2)) | 0.670 |
| Circumference | C = 2πr | 10π ≈ 31.416 |
Without the central angle, the arc length comes from the chord c and the arc height h: the radius is r = (c²/4 + h²)/(2h), the angle is θ = 2 arcsin(c/(2r)), and then s = rθ.
The arc length is shown in terms of π whenever the angle in degrees makes a clean fraction. Arc length from chord and height:
Cartesian
The arc length of y = f(x) from x = a to x = b is L = ∫ₐᵇ √(1 + [f′(x)]²) dx, for f with a continuous derivative on [a, b].
The formula comes from the Pythagorean theorem on a tiny piece of the curve. Over a step dx, the curve rises dy = f′(x) dx, so the piece has length ds = √(dx² + dy²) = √(1 + f′(x)²) dx. The integral adds up all the pieces.
For a curve given as x = g(y), swap the roles: L = ∫ √(1 + [g′(y)]²) dy, with y-limits. For y = x^(3/2) on [0, 4], f′(x) = (3/2)√x and 1 + f′² = 1 + 9x/4, a substitution integral with the exact answer (8/27)(10√10 − 1) ≈ 9.0734.
The hypotenuse ds is longer than dx by the factor √(1 + f′²). Where the curve is flat, the factor is near 1; where it is steep, the factor grows with the slope.
x(t), y(t)
The arc length of a parametric curve x = x(t), y = y(t) for a ≤ t ≤ b is L = ∫ₐᵇ √(x′(t)² + y′(t)²) dt, the integral of the speed. The curve must be traced once, without doubling back over itself.
The cycloid x = t − sin t, y = 1 − cos t is the path of a point on a rolling wheel of radius 1. Its speed is √(2 − 2cos t) = 2 sin(t/2), and one arch, 0 ≤ t ≤ 2π, has length ∫ 2 sin(t/2) dt = 8.
The same formula works for a vector function r(t) in 3D, with a third term z′(t)². The helix r(t) = (cos t, sin t, t) has speed √2, so one turn has length 2π√2 ≈ 8.8858. A 3D curve such as the helix is measured by the line integral calculator with f = 1.
The tracing point stops at the ground (speed 0 at t = 0 and 2π) and moves fastest at the top of the wheel (speed 2 at t = π).
r(θ)
The arc length of a polar curve r = r(θ) for α ≤ θ ≤ β is L = ∫ √(r² + (dr/dθ)²) dθ. The formula is the parametric formula applied to x = r cos θ, y = r sin θ.
For the cardioid r = 1 + cos θ, r² + r′² = 2 + 2cos θ = 4cos²(θ/2). The integrand is 2|cos(θ/2)|, and the full curve, 0 ≤ θ ≤ 2π, has length 8.
A circle r = a has r′ = 0, so L = ∫ a dθ = aθ, the formula s = rθ again. The spiral r = θ over one turn has length ½[2π√(1 + 4π²) + arsinh 2π] ≈ 21.256.
At θ = 180°, the curve reaches the cusp at the origin with speed 0 and length 4, exactly half of the total.
Method
To find arc length, differentiate the curve, square and add the derivatives under the square root, simplify, and integrate between the limits. The 4 steps below find the length of y = x²/8 − ln x from x = 1 to x = 2.
Differentiate
To start, find the derivative:
Build 1 + f′²
To fill the square root, square and add 1:
Simplify the root
To simplify, take the square root of the perfect square:
Integrate
To finish, integrate over [1, 2]:
Closed forms
Most arc length integrals have no exact answer, since the square root √(1 + f′²) rarely has an elementary antiderivative: even y = sin x leads to an elliptic integral. Exact answers come from a short list of curves where the square root simplifies.
A perfect-square case is a curve where 1 + f′² is the square of a simple expression, so the square root disappears. Textbook problems are built this way:
| Curve | 1 + f′² | Length |
|---|---|---|
| x²/8 − ln x, [1, 2] | (x/4 + 1/x)² | 3/8 + ln 2 |
| cosh x, [0, 1] | cosh² x | sinh 1 |
| ln(cos x), [0, π/4] | sec² x | ln(1 + √2) |
| x^(3/2), [0, 4] | 1 + 9x/4 (substitution) | (8/27)(10√10 − 1) |
The calculator tests every integrand for a perfect square before integrating.
A numeric value is used when the square root has no elementary antiderivative, which covers most curves, including y = sin x and the ellipse. Numerical integration such as Simpson's rule or Gauss quadrature then gives the length to many decimal places.
The arc of y = sin x from 0 to π has length 3.82019779, an elliptic integral with no closed form in elementary functions. The calculator gives the exact form when it exists and a 10-digit decimal in every case.
With only 8 subintervals, Simpson's rule is correct to about 4 decimal places; with 40, the error drops below 10⁻¹⁴. The integrand stays between 1 and √2, so the arc length lies between π and π√2.
Definition
Arc length is defined as the limit of the lengths of inscribed polygons: split the curve with n points, connect them with straight segments, and let n grow without bound.
Every polygon is shorter than the curve, since a straight segment is the shortest path between its endpoints. Adding points never shortens the polygon, so the lengths rise toward the arc length from below.
By the mean value theorem, Δyi = f′(xi*) Δxi for some point in each piece. Each segment then has length √(1 + f′(xi*)²) Δxi, and the sum is a Riemann sum for the arc length integral. A curve with a finite limit is called rectifiable.
1 segment is the chord, √20 ≈ 4.4721. The polygon grows toward the arc length 4.6468 and never passes it.
s(x)
The arc length function s(x) gives the length of the curve from a fixed starting point a up to a variable point x: s(x) = ∫ₐˣ √(1 + [f′(t)]²) dt.
By the fundamental theorem of calculus, the derivative of s(x) is the integrand itself. Since ds/dx ≥ 1, the arc length function always grows at least as fast as x.
For y = x^(3/2) starting at 0, s(x) = (8/27)[(1 + 9x/4)^(3/2) − 1]; s(4) = 9.0734. Inverting s(x) to write the curve in terms of its own length is called arc length parameterization, used for curvature and for constant-speed motion along a path.
Orange: s(x). Teal dashed: the chord length from the origin to (x, x^(3/2)). Grey: the line y = x. The arc length stays above both.
Practice
There are 6 worked examples below: 3 Cartesian curves, 2 parametric curves and 1 polar curve. Each one loads into the calculator with one click.
Answer: .
From x = 0 to x = 1.
Answer: .
From x = 0 to x = 1; the shape of a hanging chain.
Answer: .
x = 2 cos t, y = 2 sin t, 0 ≤ t ≤ 2π.
Answer: , the circumference 2πr with r = 2.
x = t − sin t, y = 1 − cos t, 0 ≤ t ≤ 2π.
Answer: , 4 times the diameter of the rolling wheel.
Answer: . The absolute value matters: without it, the integral over [0, 2π] gives 0.
Circle tools such as Omni Calculator and Cuemath find s = rθ from a radius and an angle, Pearson's calculus tool integrates y = f(x), and Wolfram Alpha, Symbolab, Desmos and GeoGebra evaluate the integral from a typed expression. This arc length calculator handles y = f(x), parametric and polar curves, tests for perfect squares, and shows every step with the curve drawn.
Questions
The arc length formula has a square root since each tiny piece of the curve is the hypotenuse of a right triangle with sides dx and dy, and the Pythagorean theorem gives ds = √(dx² + dy²). Factoring out dx gives ds = √(1 + f′(x)²) dx. For a parametric curve, the same triangle gives the speed √(x′² + y′²).
No, arc length is never negative. The integrand √(1 + f′²) is at least 1, so the integral is positive whenever the lower limit is below the upper limit. A negative result means the limits are reversed; a polar or parametric result of 0 usually means an absolute value was dropped, as in 2|cos(θ/2)| for the cardioid.
The difference is that arc length is measured along the curve, while chord length is the straight-line distance between the same 2 endpoints. On a circle, s = rθ and c = 2r sin(θ/2): for r = 5 and θ = 60°, the arc is 5.236 and the chord is 5. The arc is always at least as long as the chord.
Find the arc length of a circle with s = rθ, multiplying the radius by the central angle in radians, or s = πrθ/180 with the angle in degrees. A radius of 5 and an angle of 60° give s = 5π/3 ≈ 5.236. Without the angle, find it from the chord c and the radius: θ = 2 arcsin(c/(2r)).
If the integral has no closed form, the arc length is found by numerical integration, such as Simpson's rule or Gauss quadrature, to as many decimal places as needed. The length of y = sin x from 0 to π is an elliptic integral with no elementary antiderivative; numerically it is 3.82019779. The calculator gives the exact form when one exists and a 10-digit decimal in every case.
This arc length calculator measures y = f(x), parametric and polar curves with steps, simplifies the square root when it can and checks the answer numerically.