How this calculation works
A convex hull is the smallest convex set containing every supplied point. Imagine pulling a tight elastic band around the outside of a collection of pins: interior pins do not change the outline. Unlike a polygon-area calculation, the input does not need to arrive in boundary order. The calculator removes duplicate locations, builds the extreme boundary counterclockwise and measures that boundary. Intermediate points on a straight hull edge do not become separate extreme vertices.
Keep left turns in sorted lower and upper chains; area = ½|Σ(xᵢyᵢ₊₁ − yᵢxᵢ₊₁)|.A worked example
For (0,0), (2,0), (2,2), (0,2) and (1,1), the first four locations form a square hull. Its area is 4 square coordinate units and its perimeter is 8 coordinate units. The center point is contained but contributes no boundary edge. Shuffling all five input rows leaves those measurements unchanged.
Good to know
Supports one through 1,000 planar coordinate rows on the stated six-decimal grid, with each coordinate within ±1,000,000. Coordinates must share a linear Cartesian unit; latitude and longitude are not projected automatically. A single distinct location gives a point hull. A collinear cloud gives a line segment with zero area; its endpoint span is reported rather than a doubled polygon perimeter.
Reference: SciPy — convex hull definitions and boundary vertices (opens in a new tab) ↗
Boundary order is calculated rather than assumed
Connecting unordered input rows directly can create a crossing path and an unrelated area. The hull algorithm instead sorts distinct locations by x and then y. It walks one lower chain and one upper chain, removing any middle point that would turn inward or continue a straight edge. Joining the chains produces the boundary of the convex enclosure, regardless of the input row order.
The result table lists only extreme vertices. A point halfway along the bottom side of the default square is on the hull boundary but is not an extreme vertex, so it is omitted from that list. This omission does not lose any area or perimeter. The plot still includes every input observation, making interior points and repeated locations understandable in context.
The Smallest enclosing circle calculator for points provides a circular envelope of the same point cloud instead of its polygonal convex envelope.
A hull fills concavities and does not recover a survey boundary
Suppose a set of boundary observations follows a U-shaped parcel. Its convex hull stretches across the opening of the U and includes land outside the parcel. The convex area is therefore an enclosure, not a reconstruction of the original concave outline. Use the polygon coordinate calculator when the true boundary vertices and their order are known. Convex hulls are useful for envelopes and extent comparisons, not for inferring missing boundary topology.
Degenerate inputs deserve explicit answers. With points (0,0), (1,1) and (2,2), the hull is the segment from (0,0) to (2,2), its area is zero, and its endpoint span is √8. The calculator labels this as a line segment. It does not silently draw a thin polygon or report twice the span as an ordinary perimeter. Turn signs use high-precision decimal arithmetic on the supported grid, reducing cancellation when coordinates have a large common offset.
A few questions, answered
Do repeated coordinate rows increase the hull area?
No. The hull depends on distinct locations. Repeating a point changes neither the extreme boundary nor its measurements.
Can a convex hull represent a hole?
No. A convex enclosure has no holes or inward dents. A polygon-with-holes model is required when those features belong to the actual boundary.