Integral applicationsFree · No sign-up

Arc Length Calculator

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.

See the arc
  • y = f(x), parametric and polar
  • Perfect squares under the root found
  • Polygon that closes in on the arc
3
curve types
Exact
when the root simplifies
10
ready-made examples
Arc length engine
Curve type
y =
Bounds x from a to b
a =
b =
Preview
—Full solution ↓

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

arcpolygon n segments
polygon length—
arc length—
gap—

Arc length

Integral set-up

Step-by-step solution

—

    Step by step

    How to Use the Arc Length Calculator

    To use the arc length calculator, follow these 5 steps. The length and the graph update as you type.

    1. 1

      Pick the curve type

      Choose y = f(x), parametric (x(t), y(t)) or polar r(θ).

    2. 2

      Type the curve

      For example x^(3/2), t - sin(t) and 1 - cos(t), or 1 + cos(theta).

    3. 3

      Enter the bounds

      Use numbers or constants such as pi/4 or 2*pi.

    4. 4

      Read the length

      See the exact length when the root simplifies, plus the set-up and a numeric check.

    5. 5

      Compare with a polygon

      Drag n up. The polygon length climbs toward the arc length.

    Try an example:

    Definition

    What Is Arc Length?

    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:

    • Circle arc: s = rθ, from the radius r and the central angle θ in radians.
    • Cartesian y = f(x): L = ∫ √(1 + [f′(x)]²) dx.
    • Parametric x(t), y(t): L = ∫ √(x′(t)² + y′(t)²) dt.
    • Polar r(θ): L = ∫ √(r² + (dr/dθ)²) dθ.

    Arc length is a length, so it carries the units of the axes: centimetres, metres or inches, never square or cubic units.

    Running-length explorer: the arc of y = sin x vs the straight chord
    arc length s—
    chord length—
    arc / chord—
    curvey = sin x

    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θ

    Arc Length of a Circle (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.

    Circle formulas related to arc length
    QuantityFormular = 5, θ = 60°
    Arc lengths = rθ5π/3 ≈ 5.236
    Chord lengthc = 2r sin(θ/2)5
    Area of a sectorA = ½r²θ = ½rs25π/6 ≈ 13.090
    Arc height (sagitta)h = r(1 − cos(θ/2))0.670
    CircumferenceC = 2πr10π ≈ 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θ.

    Circle arc explorer: arc, chord, sector and sagitta
    arc length s = rθ—
    chord length—
    arc height—
    sector area—

    The arc length is shown in terms of π whenever the angle in degrees makes a clean fraction. Arc length from chord and height:

    c
    h
    radius—
    central angle—
    arc length—
    fromchord + height

    Cartesian

    Arc Length Formula for y = f(x)

    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 ds triangle on y = x^(3/2)
    slope f′(x) = 1.5√x—
    ds/dx = √(1 + f′²)—

    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)

    Arc Length of a Parametric Curve

    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.

    Cycloid tracer: a rolling wheel and the arch it draws
    speed 2 sin(t/2)—
    length so far—
    full arch8
    wheel radius1

    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(θ)

    Arc Length of a Polar Curve

    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.

    Cardioid tracer: r = 1 + cos θ
    r(θ)—
    speed 2|cos(θ/2)|—
    length so far—
    full cardioid8

    At θ = 180°, the curve reaches the cusp at the origin with speed 0 and length 4, exactly half of the total.

    Method

    How to Find Arc Length in 4 Steps

    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.

    01

    Differentiate

    To start, find the derivative:

    02

    Build 1 + f′²

    To fill the square root, square and add 1:

    03

    Simplify the root

    To simplify, take the square root of the perfect square:

    04

    Integrate

    To finish, integrate over [1, 2]:

    Closed forms

    Why Most Arc Length Integrals Have No Exact Answer

    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.

    01

    Perfect-Square Cases That Simplify

    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:

    Curves with exact arc length
    Curve1 + f′²Length
    x²/8 − ln x, [1, 2](x/4 + 1/x)²3/8 + ln 2
    cosh x, [0, 1]cosh² xsinh 1
    ln(cos x), [0, π/4]sec² xln(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.

    02

    When a Numeric Value Is Used

    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.

    Simpson's rule on √(1 + cos²x), the integrand for y = sin x
    Simpson value—
    error—

    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 as a Limit of Polygon Lengths

    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.

    Polygon explorer: y = x² from 0 to 2 with n segments
    polygon length—
    arc length—
    shortfall—
    curvey = x², [0, 2]

    1 segment is the chord, √20 ≈ 4.4721. The polygon grows toward the arc length 4.6468 and never passes it.

    s(x)

    Arc Length Function 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.

    s(x) for y = x^(3/2), with the chord length and y = x for comparison
    s(x)—
    slope ds/dx—

    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

    Worked Examples

    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.

    substitution

    y = x^(3/2) From 0 to 4

    1. Derivative:
    2. Substitute u = 1 + 9x/4:
    3. Integrate:

    Answer: .

    trig substitution

    Parabola y = x²

    From x = 0 to x = 1.

    1. Integrand:
    2. Antiderivative:
    3. At x = 1:

    Answer: .

    perfect square

    Catenary y = cosh x

    From x = 0 to x = 1; the shape of a hanging chain.

    1. Identity:
    2. Simplify:
    3. Integrate:

    Answer: .

    parametric

    Circle as a Parametric Curve = 4π

    x = 2 cos t, y = 2 sin t, 0 ≤ t ≤ 2π.

    1. Derivatives:
    2. Speed:
    3. Integrate:

    Answer: , the circumference 2πr with r = 2.

    parametric

    Cycloid Arch = 8

    x = t − sin t, y = 1 − cos t, 0 ≤ t ≤ 2π.

    1. Speed²:
    2. Half-angle:
    3. Integrate:

    Answer: , 4 times the diameter of the rolling wheel.

    polar

    Cardioid r = 1 + cos θ = 8

    1. r² + r′²:
    2. Half-angle:
    3. Use symmetry:

    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

    Frequently Asked Questions

    Why does the arc length formula have a square root?

    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′²).

    Can arc length be negative?

    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.

    What is the difference between arc length and chord length?

    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.

    How do you find the arc length of a circle?

    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)).

    What if the integral has no closed form?

    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.