Advanced maths

Parametric surface Gaussian and mean curvature calculator

Local surface curvature depends on both the surface metric and how the oriented normal changes.

Your numbers

Use polynomial variables x=u and y=v.

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

Local surface curvature depends on both the surface metric and how the oriented normal changes. This calculator symbolically differentiates a supported polynomial parameterization, evaluates its first and second fundamental forms and returns Gaussian, mean and principal curvatures at one regular parameter point.

THE FORMULAK=(eg−f²)/(EG−F²); H=(Eg−2Ff+Ge)/(2(EG−F²)).

A worked example

For r(u,v)=(u,v,(u²+v²)/2) at the origin, the tangent vectors are the coordinate axes and the upward unit normal is (0,0,1). Both fundamental forms are identity matrices. Gaussian curvature is one, mean curvature is one and both principal curvatures are one.

Good to know

Polynomial coordinate expressions of total degree≤6, variables x=u and y=v, bounded parameter point. Singular or near-singular parameterizations are rejected. Orientation follows ru×rv. No global curvature map, arbitrary transcendental surface parser or surface integration.

The first form measures tangent geometry

The parameterization maps a pair of coordinates into a spatial point. Differentiating with respect to each parameter gives two tangent vectors. Their inner products form the first fundamental form, which measures local lengths and angles in parameter coordinates. It is not simply the identity unless the chosen parameterization happens to be orthonormal there.

A regular point requires those tangent vectors to be independent. Their cross product supplies both a nonzero area scale and an oriented normal. A singular parameter point cannot be repaired by dividing through a tiny normal length and displaying large curvatures; the calculator rejects that unsupported local representation.

A paraboloid has equal unit principal curvatures at its vertexnormalz = (u²+v²)/2At origin: K=1, H=1k1 = k2 = 1
For r(u,v)=(u,v,(u²+v²)/2) at the origin, the tangent vectors are the coordinate axes and the upward unit normal is (0,0,1). Both fundamental forms are identity matrices. Gaussian curvature is one, mean curvature is one and both principal curvatures are one.

The Scalar surface integral calculator for a parametrized surface covers the nearby task. Area-weighted integration does not compute local intrinsic/extrinsic surface curvatures.

The second form measures normal bending

Second parameter derivatives projected onto the chosen unit normal give the second fundamental form. Combining it with the inverse first form produces the shape operator. Its determinant and half-trace are Gaussian and mean curvature, while its eigenvalues are principal curvatures under the printed normal convention.

The surface and parameter expressions are evaluated at one selected point after symbolic polynomial differentiation. This avoids finite-difference derivative noise for the supported family. It does not make a claim about distant surface regions or supply a global maximum-curvature search simply because the same expressions could be evaluated elsewhere.

Orientation changes some curvature signs

Reversing the parameter orientation reverses the normal, changing mean and both principal curvature signs. Gaussian curvature stays unchanged because it is their product. Two correct references can therefore differ by a mean-curvature sign when their normals point opposite ways; the normal vector in the output makes that comparison explicit.

The paraboloid example has identity forms at its origin, while planes and saddle graphs provide zero and negative Gaussian-curvature checks. Independent tests also verify H equals half the principal-curvature sum and K their product. Arbitrary transcendental surfaces, global curvature maps and geometric surface integrals are not included in this local polynomial evaluator.

Compute the two fundamental forms at the selected point

For r(u,v), form tangent vectors ru and rv and the oriented unit normal n=(ru×rv)/|ru×rv|. The first fundamental form has E=ru·ru, F=ru·rv and G=rv·rv. The second has e=n·ruu, f=n·ruv and g=n·rvv. These quantities combine local metric information with normal bending.

Gaussian curvature is K=(eg−f²)/(EG−F²), while mean curvature is H=(Eg−2Ff+Ge)/(2(EG−F²)). Principal curvatures are H±√(H²−K). The denominator is positive at a regular parameter point; if the tangents become dependent, this coordinate calculation is undefined and the form rejects it.

Compare a bowl, a saddle and a plane

For r(u,v)=(u,v,(u²+v²)/2) at (0,0), the tangents are coordinate unit vectors and the upward normal is (0,0,1). Thus E=G=e=g=1 and F=f=0, giving K=1,H=1 and principal curvatures 1,1. This is the default local bowl example.

Change the third coordinate to (u²−v²)/2. At the origin, e=1 and g=−1, so K=−1,H=0 and principal curvatures −1,1. Mean curvature zero does not mean flatness: the saddle bends in opposite directions. With third coordinate zero, both second-form entries vanish and K=H=0, the plane case.

Track orientation and scale before comparing signs

Reversing the parameter orientation reverses the normal and the signs of H and both principal curvatures, while K remains unchanged. Therefore two references can agree geometrically while listing opposite signed mean curvatures. Match their normal convention before interpreting a discrepancy as an error.

Uniformly scaling the surface by a positive length factor s divides principal curvatures and H by s and divides K by s². Reparameterizing the same regular surface does not change these geometric values, apart from orientation signs. This distinction separates a coordinate change from a physical change in the object’s size.

Interpret a pointwise calculation within its parser limits

The expression fields use x for parameter u and y for parameter v. They are polynomial coordinate functions of total degree at most six. A trigonometric sphere parameterization is therefore not accepted by this polynomial form, even though sphere curvature is a standard mathematical example. No hidden numerical differentiation is used to approximate arbitrary functions.

The result applies at one chosen parameter point. It does not certify global convexity, absence of singularities elsewhere or a full curvature map. A vanishing cross product can reflect a bad parameter chart even when the geometric surface itself is smooth. Check the surface point and tangent geometry before treating a rejected coordinate point as a physical singularity.

A few questions, answered

Which normal is used?

The normalized cross product of the first and second parameter derivatives.

Does reversing orientation change Gaussian curvature?

No. Mean and principal signs reverse, but their product K stays unchanged.

Can H=0 occur on a curved surface?

Yes. At a saddle, opposite principal curvatures can cancel in their mean while their product is negative.

Why do mean-curvature signs differ between references?

They may use opposite normal orientations. Reversing the normal flips H and both principal curvatures but leaves Gaussian curvature unchanged.

Find your calculator

Start typing to explore the library.