Loading…

Curvature Calculator for Curves

Math Geometry • Analytical and Advanced Geometry (capstone)

View all topics

Curvature Calculator – Radius of Curvature for 2D Curves

Enter a curve \(y=f(x)\) and a point \(x_0\). This tool estimates \(y'(x_0)\), \(y''(x_0)\), then computes curvature \(\kappa=\dfrac{|y''|}{(1+y'^2)^{3/2}}\) and radius of curvature \(R=1/\kappa\), and draws the osculating circle (best-fitting circle at the point).

Inputs accept 1e-3, pi, e, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication. Use x as the variable.

Curve & evaluation point

Tip: leave \(h\) as auto unless the function is very steep or noisy. Too small \(h\) can amplify rounding errors.

View & plot options

Drag to pan • wheel/trackpad to zoom • double-click “Reset view” to refit. Units are square, and frame numbers stay visible.

Ready
Curve & osculating circle (interactive)

The curve is solid, the tangent is thin, the normal is dashed, and the osculating circle is dashed when defined.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does curvature κ represent?

Curvature measures how sharply the curve bends at a point. Larger κ means a tighter turn; κ=0 corresponds to a straight line.

Why is the radius of curvature R equal to 1/κ?

The osculating circle is the best-fitting circle at the point, and its radius is inversely proportional to curvature: tighter bends require smaller radii.

What if y''(x0) is approximately 0?

Then κ is near 0 and R becomes very large (conceptually infinite). The osculating circle is not meaningful because the curve is locally almost straight.

Why does the result depend on the step size h?

Numerical derivatives use finite differences. If h is too large, the approximation is rough; if h is too small, rounding error can dominate. Auto h aims for a balanced default.