Shapes & spaces

Three dimensional convex hull calculator from point coordinates

Construct a spatial convex hull with supporting facets, an oriented triangular boundary, surface area and volume.

Your numbers

One comma-separated row per line.

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

Construct a spatial convex hull with supporting facets, an oriented triangular boundary, surface area and volume.

THE FORMULAV=Σ oriented boundary triangles (a−o)·((b−o)×(c−o))/6; area=Σ ‖(b−a)×(c−a)‖/2.

A worked example

The default coordinate-axis tetrahedron has volume 1/6 and surface area (3+√3)/2≈2.366025.

Good to know

4–35 distinct spatial points spanning a three-dimensional solid. Supporting-plane enumeration with scale-dependent tolerance 10⁻⁸ max(1,max‖p‖), coplanar-face grouping and planar face-boundary extraction. Coplanar/collinear inputs rejected; closed oriented triangle-edge incidence checked. Floating-point hull, not an exact-predicate kernel.

Wrap the points in a convex solid

The convex hull is the smallest convex set containing every supplied point. In three dimensions, a full-dimensional finite point set produces a polyhedron whose boundary consists of flat supporting facets. A supporting plane touches the hull while all other observations lie on one side or on the plane itself.

Interior observations are contained by the hull but do not become boundary vertices. Adding such a point leaves hull volume and area unchanged. The calculator reports both geometric totals and boundary structure so the result can be checked as a solid, rather than returning only a number with no explanation of which points define the enclosure.

Three dimensional convex hull worked example from point coordinatesVolume = 1/6Four hull facetsClosed boundary check
Scroll across to see the full diagram.
The default coordinate-axis tetrahedron has volume 1/6 and surface area (3+√3)/2≈2.366025.

Compare this with the Convex hull calculator from unordered points. Construct spatial hull faces,edges,volume and surface area from 3D points;the current planar hull cannot provide a solid boundary.

Enter spatial points in consistent units

Supply between four and thirty-five distinct rows of x, y and z coordinates. The points must span a three-dimensional solid. Coplanar or collinear inputs are rejected because this interface measures a solid hull rather than returning a separate planar polygon, line segment or lower-dimensional affine result.

Point indices follow row order and are used in the returned facets and triangles. They are not preconnected mesh vertices; the hull is constructed from coordinates alone. Duplicate or nearly coincident rows can be rejected by the distinctness threshold. Keep all coordinates in the same physical units and rescale extreme magnitudes before analysis.

Verify the coordinate tetrahedron example

The default points are the origin and the three positive unit axis points. They form a tetrahedron with three right-triangle faces of area one half each. The slanted face has side length square root of two and area square root of three divided by two.

The total area is therefore three halves plus square root of three divided by two, approximately 2.366025. The determinant of the three axis-edge vectors equals one, giving volume one sixth. These independent geometric calculations verify the default totals without depending on the facet enumeration or any projected diagram.

Discover supporting facets without duplicate planes

Every triple of noncollinear observations proposes a plane. The calculator checks which side each remaining point occupies and retains planes supporting the entire point set. Triples lying in the same supporting facet are grouped by their coplanar point identities so a square face, for example, is not counted as several separate facets.

Within each supporting plane, a two-dimensional convex boundary removes interior and collinear coplanar points before triangulation. This matters because simply sorting every coplanar observation by angle can insert points that do not belong to the facet boundary. The retained polygon is then triangulated consistently with its outward normal for area and volume calculations.

Read facet count and triangle count separately

A facet is a maximal flat boundary polygon, whereas the triangle list subdivides those polygons for computation. A cube has six facets but a triangulated boundary usually has twelve triangles. The reported facet count therefore should not be expected to equal the length of the triangular boundary list.

Supporting-plane records include their normal, offset and boundary vertex indices. The hull-vertex list identifies observations that survive on the boundary corners. Face triangulation can introduce diagonals inside a facet, but those diagonals are computational subdivisions rather than additional polyhedron edges in the original maximal-facet representation.

Check closure orientation and Euler data

For the triangulated closed boundary, every undirected triangle edge must occur exactly twice. This check detects an open crack or an incorrectly assembled facet subdivision. Outward orientation makes signed tetrahedral volume contributions combine consistently, and the resulting solid volume must be positive within the numerical acceptance convention.

The Euler characteristic of a connected convex polyhedral boundary is two when vertices, triangulated edges and triangles are counted consistently. Interior diagonals increase both edge and face counts and leave that characteristic unchanged. Euler agreement is a useful global audit, although it does not by itself replace the supporting-plane and closure checks.

Distinguish convex enclosure from surface recovery

The convex hull bridges concavities and ignores holes in an observed object. It is appropriate for a convex enclosure, not for reconstructing a concave scanned surface or preserving a preexisting mesh topology. Point-cloud volume inside a nonconvex object can differ substantially from the volume of its convex hull.

All geometric predicates here use floating-point tolerances scaled to the observations. Nearly coplanar configurations can change boundary decisions under small perturbations. For applications requiring exact combinatorial guarantees, an exact-predicate geometry library is a different arithmetic choice; this bounded calculator makes its numerical supporting-plane and closure conventions explicit.

A few questions, answered

Are coplanar inputs a solid hull?

No. A coplanar or collinear input does not span the required three-dimensional solid.

Are face-interior points retained as corners?

No. Coplanar facet points are projected and reduced to their planar boundary hull before triangulation.

What checks the boundary?

Triangle edge incidences,orientation,positive volume and Euler information accompany the result.

Are the results exact rational geometry?

No. Coordinates and predicates use declared floating tolerances.

Find your calculator

Start typing to explore the library.