Arc Length Calculator

Approximate arc length of y=f(x) on [a,b].

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Enter y = f(x) and the limits to get the length of the curve. y = x² from 0 to 1 is 1.47894 long, a bit more than the straight line of length 1.414.

How to use

1
Step 1
Type f(x).
2
Step 2
Enter the start a and end b.
3
Step 3
Press Calculate.

How it works

Arc length is the integral of √(1 + (f′(x))²), which adds up tiny hypotenuses along the curve. For a straight line y = 2x it reduces to √5 per unit of x, so the length from 0 to 3 is 3√5 = 6.7082.

L = ∫ₐᵇ √(1 + (f′(x))²) dx

Worked example

One arch of sine

Input
sin(x) from 0 to π
Output
3.8202
Walkthrough
The chord from (0, 0) to (π, 0) is 3.1416 long, and the arch is longer because it bows up to y = 1.

Limitations

  • f must be differentiable on the interval, with a finite slope at both ends (√x on [0, 1] errors because its slope is infinite at 0).
  • If a is larger than b the tool swaps them, so the length is always positive.
  • Result is numerical, shown to six significant digits.

Questions

What is the arc length of y = x² from 0 to 1?
1.47894.
What is the arc length of y = 2x from 0 to 3?
6.7082, which is 3√5.
What is the arc length of sin x from 0 to π?
3.8202.

Features

  • Numerical integration
  • Six-digit result
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • The essence of calculus

    3Blue1Brown

    Visual derivative/integral story that complements symbolic tools.

    Watch on YouTube
  • Definite integrals intro

    Khan Academy

    Definite integral basics for area-under-curve calculators.

    Watch on YouTube