Toolvito

Works on this device

Curvature Calculator

Type a curve and a point to get its curvature κ, the radius of curvature R = 1 ÷ κ and the centre of the circle that fits the curve there. Space curves also get their torsion.

Enter your values

For the graph of a function. Gives the curvature, the radius of curvature and the centre of the circle that fits the curve best.

Your values

Use x as the variable, for example x^2, sin(x) or e^x. Write 2x or 2*x for 2 times x.

A number, a fraction such as 1/2, or a value such as pi/4.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose the kind of curve: the graph of y = f(x), a parametric curve x(t), y(t), a polar curve r(θ), or a space curve x(t), y(t), z(t).
  2. Type the formulas and the point (an x-value, a value of t, or an angle θ in radians). You can type 1/2, pi/4 or sqrt(2).
  3. Choose Calculate. The page shows the derivatives, the values at the point and each step.
  4. To find where a graph bends most, choose Greatest curvature of y = f(x) on an interval and type the range to search.

How to type a formula

  • Use +, -, *, / and ^ for powers. Brackets ( ) group things. 2x means 2 times x.
  • Functions: sin, cos, tan, asin, acos, atan, sqrt, abs, ln, log, exp, with brackets: sin(t).
  • Constants: pi and e. Angles are in radians. For a polar curve, type theta (or t) for the angle.

The formulas

  • Graph of y = f(x): κ = |f″| ÷ (1 + f′²)^(3/2).
  • Parametric curve: κ = |x′y″ − y′x″| ÷ (x′² + y′²)^(3/2).
  • Polar curve: κ = |r² + 2r′² − r r″| ÷ (r² + r′²)^(3/2).
  • Space curve: κ = |r′ × r″| ÷ |r′|³, and the torsion τ = (r′ × r″) · r‴ ÷ |r′ × r″|².
  • Radius of curvature: R = 1 ÷ κ. Where κ = 0 the curve is straight and there is no circle.
  • Centre of curvature of a graph: (x − f′(1 + f′²) ÷ f″, y + (1 + f′²) ÷ f″).

Worked example

Take y = x^2 ÷ 2 at x = 3/4. Then f′ = x = 3/4 and f″ = 1. So 1 + f′² = 25/16, and (25/16)^(3/2) = 125/64.

The curvature is κ = 1 ÷ (125/64) = 64/125 = 0.512, and the radius of curvature is R = 125/64 = 1.953125.

For the helix x = cos(t), y = sin(t), z = t, the curvature and the torsion are both 1/2 at every t.

Limits you should know

  • The derivatives are exact. The final values are decimal numbers with 10 significant digits; the page also gives κ as an exact value for a graph when f′ and f″ are exact fractions.
  • Where a derivative has no value (a corner, a cusp or a vertical tangent), the page says so and shows no curvature.
  • The greatest curvature is found by a search on 2,001 points and a golden-section search. A very narrow peak can be missed. Its x is good to about 8 significant digits.
  • Curves given by an equation in x and y together, such as x^2 + y^2 = 25, are not supported. Write them in parametric form, such as x = 5cos(t), y = 5sin(t).

Related tools