Shapes & spaces

Polygon equal area cut calculator with a specified line direction

Find a line that cuts a simple polygon into a specified area fraction while its normal direction is fixed.

Your numbers

Rows on separate lines; comma-separated values within each row.

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

Find a line that cuts a simple polygon into a specified area fraction while its normal direction is fixed. Half-plane clipping can return multiple pieces on either side for a concave polygon. Bisection adjusts the line offset until the selected side matches the target area. A one-half fraction gives an equal-area cut, but the same calculation supports other interior fractions.

THE FORMULAChoose h so area(P∩{x:n·x≤h})/area(P)=target fraction.

A worked example

A 4-by-2 rectangle has total area eight. With normal (1,0), cutting at x=1 puts area two, or one quarter, on the lower-coordinate side. The other side has area six. A concave polygon may produce disconnected pieces on either side.

Good to know

One simple polygon without holes, a nonzero fixed normal and fraction in (0,1). Robust polygon clipping with bounded floating bisection; returns all components and checks area conservation. No guarantee that each resulting side is connected or that an unrestricted cut direction is optimized.

Normal direction versus line direction

The input vector is perpendicular to the cutting line. The line equation is normalized normal dot position equals offset. A horizontal normal therefore describes a vertical cutting line, not a horizontal one.

The selected side uses the stated inequality and determines which area fraction is targeted. Reversing the normal reverses the side convention and changes the offset sign for the same geometric line. Keep that convention when comparing two results.

A quarter-area vertical cut of a rectangle need not bisect its width26Rectangle 4 × 2Normal (1,0)Cut x=1: fraction 1/4
A 4-by-2 rectangle has total area eight. With normal (1,0), cutting at x=1 puts area two, or one quarter, on the lower-coordinate side. The other side has area six. A concave polygon may produce disconnected pieces on either side. Static schematic; numerical labels define the example.

Solves an inverse area-partition problem; total area and centroid do not determine the cut location. The Minimum enclosing cylinder calculator with a fixed axis direction offers a complementary calculation under its own stated assumptions.

A simple polygon can split into pieces

The boundary vertices must trace a valid simple polygon in order, without self-intersections or holes in this interface. Concavity is allowed.

Intersecting a concave polygon with a half-plane can produce several disconnected pieces, so returning one truncated vertex loop would lose area. The tool uses polygon clipping that preserves the supported multiple components. The chosen line can cross the original boundary more than twice.

Worked example and mathematical rule

A 4-by-2 rectangle has total area eight. With normal (1,0), cutting at x=1 puts area two, or one quarter, on the lower-coordinate side. The other side has area six. A concave polygon may produce disconnected pieces on either side.

Choose h so area(P∩{x:n·x≤h})/area(P)=target fraction.

Area is monotone in the offset

For a fixed normal, moving the half-plane boundary outward can only add polygon area to the selected side. This monotonicity supports bisection between the minimum and maximum projections of polygon vertices.

It does not require the polygon to be convex. The area function can have flat intervals when the polygon has separated projected pieces, but the bounded search still seeks an offset attaining the target fraction within numerical tolerance.

What equal area does not mean

The line does not necessarily pass through the polygon centroid, equalize boundary lengths or minimize the cut length. Those are different optimization questions.

The fixed direction removes rotational freedom, leaving the scalar offset to solve. A different direction can produce a very different equal-area cut. For a physical material problem, uniform area corresponds to equal mass only when thickness and density are uniform or have been incorporated into a different weighted-area formulation.

Conservation and output checks

The selected and complementary clipped areas should add to the polygon area. The target residual compares the selected area with the requested fraction times the original area.

Tiny residuals are numerical evidence, not exact symbolic equality. A cut through an existing vertex can be geometrically legitimate, though near-degenerate coordinates may make component representation sensitive. Reversing polygon orientation should preserve the geometric answer, while an inconsistent boundary order defines a different or invalid polygon.

Using the pieces in another workflow

Retain all returned components instead of joining their vertices into one artificial polygon. If exporting coordinates to CAD or a drawing program, preserve each ring separately and use the same unit scale.

The calculator does not optimize material strength, accessibility or the number of resulting pieces. It solves the stated uniform-area condition in a fixed orientation. Check the original polygon validity and area before interpreting a surprising cut as a numerical problem.

A few questions, answered

Is the vector parallel to the cut?

No. It is the cut’s normal vector.

Must an equal-area line pass through the centroid?

No. Those conditions are generally different.

Can concave polygons produce several pieces?

Yes. Each half-plane intersection may have multiple components.

Does equal area mean equal mass?

Only with an appropriate uniform density and thickness assumption.

Find your calculator

Start typing to explore the library.