Shapes & spaces

Frenet frame curvature and torsion calculator for a space curve

Evaluate the Frenet frame, speed, curvature and torsion of a smooth parametric space curve at one parameter value.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Evaluate the Frenet frame, speed, curvature and torsion of a smooth parametric space curve at one parameter value. The calculator differentiates supported coordinate expressions through third order and constructs tangent, normal and binormal vectors. It rejects points where speed or curvature vanishes, because the classical Frenet frame is then undefined rather than a convenient zero vector.

THE FORMULAT=r′/|r′|; B=(r′×r″)/|r′×r″|; N=B×T; κ=|r′×r″|/|r′|³; τ=det(r′,r″,r‴)/|r′×r″|².

A worked example

For r(t)=(cos t,sin t,t), speed is √2 and both curvature and torsion are 1/2. At zero, T=(0,1,1)/√2, N=(−1,0,0), B=(0,−1,1)/√2. A straight line has no unique Frenet normal, so that degeneracy is reported.

Good to know

Three smooth supported expressions in t with symbolic derivatives through third order. Zero speed or unresolved curvature rejects a unique frame; no fabricated normal at an inflection. Numerical evaluation, not a globally classified curve.

Parameter is not necessarily arc length

The three expressions define position as a function of the same parameter. Their first derivative gives velocity, whose magnitude is speed.

Dividing velocity by speed gives the unit tangent. The parameter can represent time or another smooth coordinate; it need not equal distance traveled. Curvature formulas account for nonunit speed, so replacing a general derivative with an arc-length derivative without the required normalization would give an incorrect result.

A helix has orthogonal tangent normal and binormal directionsr=(cos t,sin t,t)Speed = √2κ = τ = 1/2
For r(t)=(cos t,sin t,t), speed is √2 and both curvature and torsion are 1/2. At zero, T=(0,1,1)/√2, N=(−1,0,0), B=(0,−1,1)/√2. A straight line has no unique Frenet normal, so that degeneracy is reported. Static schematic; numerical labels define the example.

Handles user-entered space curves and returns a full moving frame; the existing helix page has a fixed curve family. The Triangle mesh plane section calculator with contour loops offers a complementary calculation under its own stated assumptions.

Curvature measures bending

Curvature is the magnitude of velocity cross acceleration divided by speed cubed. It is nonnegative and has inverse-length units when position has length units.

A straight line has zero curvature, but its principal normal is not uniquely determined by the Frenet construction. The tool therefore rejects the full frame at such a point rather than fabricating a preferred normal. A stationary point with zero speed causes an additional, earlier failure of the regular-curve assumption.

Worked example and mathematical rule

For r(t)=(cos t,sin t,t), speed is √2 and both curvature and torsion are 1/2. At zero, T=(0,1,1)/√2, N=(−1,0,0), B=(0,−1,1)/√2. A straight line has no unique Frenet normal, so that degeneracy is reported.

T=r′/|r′|; B=(r′×r″)/|r′×r″|; N=B×T; κ=|r′×r″|/|r′|³; τ=det(r′,r″,r‴)/|r′×r″|².

Binormal and principal normal

The normalized velocity-acceleration cross product gives the binormal. Crossing binormal with tangent gives the principal normal under the right-handed convention.

These three unit vectors should be mutually orthogonal. The principal normal points in the instantaneous bending direction, not toward a fixed global origin. For a planar curve with nonzero curvature, the binormal is perpendicular to its plane, while its sign depends on traversal orientation and curvature orientation conventions.

Torsion uses the third derivative

Torsion is the scalar triple product of velocity, acceleration and jerk divided by the squared magnitude of velocity cross acceleration. It measures how the osculating plane turns and can be positive or negative.

A planar curve has zero torsion wherever the formula is defined. Large torsion near tiny curvature can be numerically sensitive because the denominator is small. The page does not replace that sensitivity with a claim of precise geometric twisting.

Expression differentiation and domain

Supported expressions are parsed symbolically and differentiated, then evaluated numerically at the selected parameter. No finite-difference step needs to be chosen, but expression singularities and branch behavior still matter.

Absolute values or piecewise corners do not define a smooth classical Frenet frame at every point. Enter all coordinates in compatible units and ensure the function is defined in a neighborhood, not merely at one isolated parameter value.

Useful invariance checks

Translating the curve should leave speed, curvature, torsion and frame directions unchanged. Rotating it rotates the frame while preserving curvature and torsion under proper rotations.

Uniform scaling changes curvature and torsion inversely with length scale. A circular helix supplies a benchmark with constant curvature and torsion; a planar circle has zero torsion. The tool reports one local frame, not a globally continuous frame through inflections or a rotation-minimizing frame along an entire path.

A few questions, answered

Why reject a straight line?

Its curvature is zero, so the classical principal normal and binormal are not uniquely defined.

Is the parameter assumed to be arc length?

No. The formulas include the speed normalization.

Can torsion be negative?

Yes. Its sign records orientation-dependent twisting.

Does symbolic differentiation remove all numerical error?

No. Evaluation and normalization still use floating-point arithmetic.

Find your calculator

Start typing to explore the library.