Polygon Area Split by Line Calculator
Paste convex boundary vertices and enter a line. See both clipped areas and exact contact points, then find a parallel cut for a chosen share with an exact value or certified bounds.
Split a polygon by area with a straight cut
See the areas on both sides of your line and find the parallel cut that gives the share you want.
Polygon and cut direction
Enter 3 to 12 convex corners in boundary order. Use one X, Y pair per line and the same coordinate unit throughout.
Enter a, b for ax + by = c.
The current value of c.
Desired area on the side ax + by ≤ c.
Target cut is enclosed by two exact positions.
Target area and parallel cut
- Whole polygon area
- 24
- Requested lower-side area
- 12
- Target cut estimate
- ≈ 1.67544468
- Target bracket width in c
- 1/67108864
View exact target bounds
- Lower cut bound
- 112437189/67108864
- Lower-side area 108086390932071015/9007199254740992
- Upper cut bound
- 56218595/33554432
- Lower-side area 27021597945234615/2251799813685248
Compare both cuts
- Lower-side area
- 14
- Upper-side area
- 10
- Line contact
- Divides the polygon
- Contact length
- 6
Exact contact coordinates
- 7, 2
- 1, 2
Export the cut audit
Save exact areas, target bounds, and the vertices of both pieces for each cut.
View CSV text
How to use this calculator
- Paste the boundary in walking order, one X, Y coordinate pair per line.
- Enter a, b and the current cut constant c, then choose the share desired on the ax + by ≤ c side.
- Switch between the entered cut and target cut. Review both piece areas, exact contacts and the target bounds if shown.
- Download the CSV with exact areas, the line contacts and each clipped polygon’s corners.
The Formula
The mathematical logic powering this calculation is:
Enter an ordered convex polygon and a line ax + by = c with at least one nonzero normal coefficient. A corner belongs to the lower side when ax + by ≤ c and to the upper side when ax + by ≥ c. Equality lies on the shared line and contributes zero area.
On a polygon edge with signed offsets s₀ and s₁ on opposite sides of zero, contact occurs at the fraction s₀/(s₀ − s₁) along the edge. Retain each inside corner and each intersection on the appropriate side. Compute each area with half the absolute sum of xᵢyᵢ₊₁ − yᵢxᵢ₊₁ around its boundary. Two contacts give the length of the shared segment. A lone corner gives zero length. A coincident edge has length and places all area on one side.
For a target share, sort the corners’ projections ax + by and locate the interval whose clipped areas bracket the requested area. Within that interval the intersected edges stay fixed. Their contact points vary linearly with the cut constant, so the area is quadratic or linear. Fit the area rule using the two ends and midpoint. Use an exact rational root when it exists. Otherwise bisect with exact clipped areas 28 times and retain bounds whose areas enclose the requested share. The preview uses the midpoint of those bounds. The bounds are differences in the entered line constant c. The physical travel between them is their difference divided by √(a² + b²).
Enter 3 to 12 convex corners with no straight-angle corners. Either winding direction works and a repeated final closing point is allowed. Coordinates and normal coefficients accept up to ±1,000,000 and cut constants up to ±2 trillion, all with six decimal places. Set a target from 0 through 100 percent. At the endpoints the solver uses the corresponding supporting line. The areas use Cartesian coordinates and a zero-width line.Worked Example
If you input:
- Boundary: (0, 0), (8, 0), (6, 4), (2, 4)
- Cut: y = 2
- Target share: 50%
Result:
The entered cut leaves 14 square units below and 10 above. A 50% split occurs at y = 8 − 2√10, approximately 1.67544468, inside the two reported exact bounds.
Frequently Asked Questions
What counts as a convex polygon?
A segment between any two points on or inside the outline stays inside it. This worksheet uses true corners, so omit straight boundary subdivisions. Enter corners in order around the boundary.
Can I find a cut that leaves the requested share on the other side?
Enter the complementary share. For example, to leave 30% on the ax + by ≥ c side, target 70% on the lower side.
Why do some targets have two bounds?
An area target can produce an irrational cut constant. The report shows exact rational test cuts whose areas lie on either side of the request, and draws the midpoint of the two cut positions.
How is a cut along one edge reported?
The line contacts both endpoints of that edge. One piece has zero area and the other has the full polygon area.
Similar Calculators
Trapezoid Area Calculator & Stock Fit
Calculate trapezoid area, height and perimeter. Reconstruct an overhang from four sides and check whether the shape fits entered stock with clearance.
Polygon Area Calculator
Calculate polygon area from ordered coordinates, subtract cutouts, and inspect perimeter, centroid and point location on a consistently scaled plan.
Quadrilateral Area Calculator & Diagonal Reconstruction
Find quadrilateral area from four sides and one diagonal. Compare reconstructed corner placements and identify convex, concave and crossed boundaries.
