Skip to content

Earthwork Cross Sectional Area Calculator

Updated:

Enter the X and Y coordinates of the points that outline an earthwork cross section, and this calculator returns its area using the shoelace formula. Useful for surveyors and civil engineers estimating excavation, fill, and grading quantities.

Calculate Land Cross Section Area from Coordinates

Input Fields
n
x
Horizontal axis of point 1
y
Vertical axis of point 1
x
Horizontal axis of point 2
y
Vertical axis of point 2
x
Horizontal axis of point 3
y
Vertical axis of point 3
If enabled, the result will update automatically when you change any value.

Earthwork Cross Sectional Area Formula

Formula
\[ A = \frac{1}{2} \left| \sum_{i=1}^{n} \left( x_i \, y_{i+1} - x_{i+1} \, y_i \right) \right| \]

Where:

  • \(n\) — number of points on the cross section
  • \((x_i, y_i)\) — coordinates of vertex \(i\) of the section (typically horizontal offset and elevation)
  • \(x_{n+1} = x_1\) and \(y_{n+1} = y_1\) — the section is treated as a closed polygon

This is the shoelace formula (Gauss's area formula). It gives the exact area of any closed polygon from its vertex coordinates alone, which makes it ideal for irregular ground profiles and designed earthwork sections.

Earthwork Cross Sectional Area – Calculation Example

Example: a three-point ground section with vertices \((0, 0)\), \((10, 5)\), and \((20, 5)\) — the calculator's default values.

\[ A = \frac{1}{2} \left| (0 \cdot 5 - 10 \cdot 0) + (10 \cdot 5 - 20 \cdot 5) + (20 \cdot 0 - 0 \cdot 5) \right| \]

\[ A = \frac{1}{2} \left| 0 + (-50) + 0 \right| = \frac{1}{2} \cdot 50 = 25 \]

Result: an area of 25 square units — for example, 25 m² if the coordinates are in metres, or 25 ft² if they are in feet.

How to Use the Calculator

  1. Enter the Number of points on cross section (minimum 3). If you enter more than 3, additional coordinate fields appear automatically.
  2. For each point, fill in Point X (the horizontal coordinate, such as the offset from the centreline) and Point Y (the vertical coordinate, such as the elevation).
  3. Enter the points in order as you travel around the section — left to right along the ground line, then back along the closing boundary. Do not skip or reorder vertices.
  4. Press Calculate. The Area of cross section is displayed, rounded to two decimal places.

What Is an Earthwork Cross Sectional Area?

In road, railway, canal, and site-grading projects, engineers slice the terrain at regular intervals along the alignment. Each slice — the cross section — shows the shape of the ground and the proposed formation level at that station. The area of the cut (material to be excavated) or the fill (material to be placed) on that section is the fundamental building block of earthwork quantity estimates.

Real ground profiles are rarely simple triangles or trapezoids, so standard geometric formulas often do not apply. Instead, surveyors record the section as a series of coordinate points and compute the area with the shoelace formula. The method works for any closed polygon, no matter how irregular: each edge contributes a signed trapezoid-like term, and the terms cancel everywhere except inside the section. The absolute value at the end makes the result positive regardless of whether the points are listed clockwise or counterclockwise.

Once you have the areas of consecutive cross sections, earthwork volumes follow from the average end area method, \( V = \frac{d}{2}(A_1 + A_2)\), where \(d\) is the distance between stations. Use our Earthwork Cross Section Volume calculator to combine two section areas and the spacing into a volume. For layout geometry on the alignment itself — such as curve elevations — see the Elevation Point of Vertical Curve calculator.

Interpreting the Result

The calculator returns the area of the closed polygon formed by your points, in the square of whatever unit you used for the coordinates. If your X and Y values are in metres, the result is in square metres; if they are in feet, it is in square feet. It is not a volume — a volume only appears after the area is multiplied by a length between sections.

A single section usually represents either cut or fill. For a cut section, the polygon is bounded below by the ground line and above by the formation level; for fill, the roles reverse. If you compute one area per station along the project, you can plot the cut and fill distribution and locate the balance points where the two are equal.

Assumptions, Limitations, and Tips

  • Points must be in sequential order. Listing vertices out of order creates a self-intersecting polygon and produces an incorrect (and possibly near-zero) area.
  • The polygon must not cross itself. Complex sections should be split into simple parts; compute each part separately and add the results.
  • Use consistent units for X and Y. Mixing metres and feet in one section invalidates the result.
  • More points mean more accuracy. On smoothly curving ground, breaklines and grade changes should each have their own point; long straight stretches need only their endpoints.
  • Direction does not matter. The absolute value in the formula means clockwise and counterclockwise point orders give the same positive area.
  • Minimum of three points. A closed area cannot be formed with fewer than three vertices; the calculator enforces this limit.

After computing section areas, pair them with station spacing to get cut and fill volumes, then convert to truckloads or compaction factors as needed. When the project moves from earthmoving to structures, our Concrete Yardage and Concrete Volume calculators can help estimate the material for slabs, footings, and walls.

Frequently Asked Questions

How do I calculate the cross sectional area by hand?

List the points in order around the section, then multiply diagonally crosswise: for each point pair, compute \(x_i y_{i+1} - x_{i+1} y_i\), add all the terms, and take half the absolute value. A practical trick is to write coordinates in two columns, multiply diagonally down-right minus down-left, wrap the last point back to the first, and sum. This coordinate method works even when the section is too irregular for triangle or trapezoid formulas.

What units is the result in, and how do I convert between them?

The area is in the square of whatever unit your coordinates use. Coordinates in metres give square metres; coordinates in feet give square feet. To convert, remember \(1 \text{ m}^2 \approx 10.7639 \text{ ft}^2\) and \(1 \text{ ft}^2 \approx 0.092903 \text{ m}^2\). X and Y must use the same unit — if your offsets are in feet but elevations in metres, convert one set first or the answer will be meaningless.

Why did I get an area of zero or an obviously wrong value?

The most common cause is points entered out of order, which makes the polygon cross itself so the signed areas cancel. Trace your section mentally: travel along the ground line left to right, then return along the closing boundary (such as the formation level) right to left. Also check for accidentally duplicated points or a missing vertex at a grade break. Direction itself doesn't matter — clockwise and counterclockwise give the same result.

Can I use negative coordinates or elevations?

Yes. The shoelace formula works with any signed coordinates, so negative offsets (left of centreline) and negative elevations are fine. Only differences between coordinates matter, so you can also shift the whole section so that one point sits at \((0, 0)\) without changing the area. What you cannot do is mix datums partway through — every point must share the same origin and units.

How do I handle a section that contains both cut and fill?

Compute cut and fill as two separate polygons. Where the ground line crosses the formation level, that intersection point becomes a shared vertex of both areas — estimate its coordinates by proportion along the crossing interval. Enter the cut polygon, note the area, then re-enter the fill polygon. Adding both together in one calculation is a common mistake, because the two regions partially cancel each other and understate the true earthwork quantities.

How do I convert the area into an earthwork volume?

With two consecutive section areas \(A_1\) and \(A_2\) spaced \(d\) apart, the average end area method gives \(V = \frac{d}{2}(A_1 + A_2)\). For example, two sections of 25 m² and 35 m² at 20 m spacing yield \(V = 600\) m³. When end areas differ sharply or the ground curves, the prismoidal formula is more accurate. Apply shrinkage or bulking factors before ordering materials, since compacted fill occupies less volume than excavated soil.

How many points do I need for an accurate result?

Use at least three, but accuracy depends on where the points sit, not how many you have. Every break in slope — grade changes, toe of slope, ditch inverts, hinge lines — should have its own point, while long straight runs need only their two endpoints. A typical road section needs 5–10 points; adding points along straight segments changes nothing except typing effort. The shoelace formula itself is exact for the polygon you enter.

Leave a Reply

Your email address will not be published. Required fields are marked *