Curvature Calculator
Compute the Menger curvature of three points as 4A/(abc), with the circle through them and its radius compared against 1/κ.
Curvature Calculator
Compute the Menger curvature of three points as 4A/(abc), with the circle through them and its radius compared against 1/κ.
How this page computes
The three side lengths and the triangle's area come from the coordinates, and κ = 4A/(abc) is computed directly. Collinear points give zero area and therefore zero curvature.
The circumcentre solves the perpendicular bisector equations, and its radius is compared with 1/κ. The cross product of the two segments decides the turning direction.
The calculation runs entirely in this browser tab; nothing is uploaded.
Curvature measures how sharply a curve turns, and three points determine it exactly: κ = 4A/(abc), where A is the triangle's area and a, b, c are its sides. For (0, 0), (1, 1), (2, 0) that gives κ = 1, so the radius of curvature is 1.
The page finds the circle through the three points and prints its centre and radius, then compares that radius with 1/κ. The two agreeing is what makes the curvature number meaningful rather than a formula applied blindly.
How to use Curvature Calculator
Enter the three points and press Run. Two coincident points are refused, because they form no triangle and no curvature is defined.
The output gives the three side lengths, the area, the curvature, the radius of curvature, the turning direction and the circle through the points.
Why three points give the curvature exactly
Any three non-collinear points lie on exactly one circle, and the curvature of that circle is 1 over its radius. Menger's formula 4A/(abc) computes exactly that, using only the triangle the points form, so no derivative is needed.
For a curve sampled at three nearby points the Menger curvature approaches the curve's own curvature as the points close up. That is why the formula is the right answer for a discrete sample rather than an approximation to something else.
What to Expect
Best for
- The curvature of a path through three sampled points
- The circle through three points and its radius
- The turning direction at the middle point
Not ideal for
- The curvature of a function given as a formula, which needs its second derivative
- Three collinear points, where the curvature is zero and the radius infinite
- Two coincident points, which are refused
What this tool keeps
- All six coordinates exactly as typed
What may need cleanup
- Nothing: the curvature and the circle are final
Common errors
- Two coincident points are refused
- Collinear points are answered with zero curvature rather than refused
Example use cases
- Find the curvature through three points
- Get the circle through them
- See whether the path turns left or right
Sample input
(0, 0), (1, 1), (2, 0)
Sample output
curvature 1, radius 1, circle centre (1, 0)
Who this is for
- Students meeting curvature
- Readers fitting an arc to a path
Frequently asked questions
Why does this need no derivative?
Because three points already determine the circle that fits them, and curvature is one over that circle's radius. Menger's formula computes it from the triangle's area and sides, which are coordinate arithmetic.
What if the points are collinear?
The curvature is zero and the radius is infinite, which the page reports rather than refusing. A straight path has no turning, so zero is the correct curvature.
How is the direction of turning decided?
By the sign of the cross product of the two consecutive segments. A positive value turns left and a negative one turns right, and the page names whichever applies.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.