Cut and Fill Calculator: Verification Manual
This manual checks the cut and fill calculator against problems with exact answers. Each problem is set in feet, as a job in the United States would be, and worked by hand in closed form. The same problem is then run through the calculator’s own engine, the code that answers on the page, on the grid of 1 m squares it uses for lidar. The pad edges do not line up with that grid, just as a drawn pad does not line up with the lidar.
Every problem is also an automated test, run before each change to the calculator is published. Each answer must be within its stated tolerance of the hand answer: 1% for volumes and 0.15 in for the balance elevation. The numbers on this page are the ones those tests produced.
For how the grid method works, with a worked example, see How to Calculate Cut and Fill.
Summary
Volumes are in cubic yards (cy), 27 cubic feet each. Cut is measured in the ground (bank volume) and fill compacted in place, as in the calculator.
The problems
Unless a problem says otherwise, the pad is a 100 by 60 ft rectangle, L = 100 ft and W = 60 ft, with an area of 6,000 sq ft and a perimeter of 320 ft. Swell, shrink and topsoil are zero, so each problem checks one thing. A “vertical edge” means a side slope of 0: the ground outside the pad is not touched.
1. A pad raised on level ground, vertical edges
The pad is 3 ft above level ground. The fill is a box.
V = L × W × h = 100 × 60 × 3 = 18,000 cu ft = 666.67 cy
The pad’s edges cross the 1 m squares of the grid at odd places. The calculator counts each square the edge crosses by the share of it under the pad, so the area it measures is the area drawn.
2. A pad raised with fill slopes
The same pad 3 ft above level ground, with 3:1 fill slopes (3 horizontal to 1 vertical). The fill is the box, a sloped wedge along each side, and a quarter cone at each corner, since the slope falls away from the nearest point of the pad edge. Here s = 3 and h = 3 ft.
Box: L W h = 18,000 cu ft
Side wedges: 2 (L + W) × (s h × h / 2) = (L + W) s h² = 160 × 3 × 9 = 4,320 cu ft
Corner cones: 4 × ¼ × π (s h)² h / 3 = π s² h³ / 3 = π × 9 × 27 / 3 = 254.47 cu ft
V = 22,574.47 cu ft = 836.09 cy
The calculator finds the slope’s height at the middle of each grid square. Along the toe of the slope, where it meets the ground, that slightly overstates the squares the toe crosses, which is most of the 0.14%.
3. A pad cut into level ground with cut slopes
The pad 4 ft below level ground, with 2:1 cut slopes: the same shape upside down, with s = 2 and h = 4 ft.
L W h + (L + W) s h² + π s² h³ / 3 = 24,000 + 5,120 + 268.08 = 29,388.08 cu ft = 1,088.45 cy
4. Hauling the cut away
The cut from problem 3 is exported. Common earth swells 25% when it is dug, and a tandem dump truck carries 12 cy loose.
Loose volume = 1,088.45 × 1.25 = 1,360.56 cy
Truckloads = 1,360.56 / 12 = 113.4, so 114 loads
5. A pad that follows the ground
The ground falls 2% to the west, and the pad falls 2% the same way, level with the ground everywhere. With 2:1 cut and 3:1 fill slopes, nothing is cut or filled.
6. A sloped pad on level ground
The pad slopes 2% along its 100 ft length (g = 0.02) on level ground, with its middle at the ground and vertical edges. Its high half is 1 ft above the ground at the end and its low half 1 ft below, so each half is a wedge: W × (L/2) × (g L/2) / 2.
Cut = fill = W g L² / 8 = 60 × 0.02 × 100² / 8 = 1,500 cu ft = 55.56 cy
7. Topsoil
The pad is level with the ground, and 6 in of topsoil is stripped from under it. The stripped ground is then filled back up to the pad.
Topsoil = 6,000 × 0.5 = 3,000 cu ft = 111.11 cy, and the same again as fill
8. Balancing cut and fill with shrink
The ground slopes 5% along the pad (g = 0.05), with vertical edges, and compacted fill takes 10% less room than the same soil in the ground. Where should the pad be so that the cut, once compacted, just makes the fill?
Measure the pad elevation P from the ground at the pad’s middle. Along the length the ground is g x above that point, so with a = g L / 2 = 2.5 ft:
Cut = W (a − P)² / (2g), fill = W (a + P)² / (2g)
0.9 × cut = fill gives √0.9 (a − P) = a + P, so P = a (√0.9 − 1) / (√0.9 + 1)
P = 2.5 × (0.948683 − 1) / (1.948683) = −0.065835 ft = −0.790 in
Cut = 60 × (2.565835)² / 0.1 = 3,950.11 cu ft = 146.30 cy, and fill = 131.67 cy = 0.9 × 146.30
The calculator’s Balance searches until it is within 3 mm (0.12 in) of the elevation.
9. A building slab
A slab on grade, 4 in of concrete on 4 in of aggregate base, with its top level with the ground and vertical edges. The pad elevation is the top of the slab, so the earthwork stops 8 in below it, at the subgrade.
Cut = 6,000 × 8/12 = 4,000 cu ft = 148.15 cy
Concrete = 6,000 × 4/12 = 2,000 cu ft = 74.07 cy
10. Over-excavation
The geotechnical report calls for the soil under the pad to be dug out 3 ft below the subgrade (D) and 5 ft past the pad’s edge (B), then put back compacted. The dug area is the pad, a 5 ft band along each side, and a quarter circle at each corner.
V = D (L W + 2 (L + W) B + π B²) = 3 × (6,000 + 1,600 + 78.54) = 23,035.62 cu ft = 853.17 cy
Put back with the site’s own soil, this volume is in both the cut and the fill.
11. Select fill
The same over-excavation, put back with select fill brought in. The calculator takes select fill as sand and gravel: it shrinks 8% when compacted and swells 12% loose in the truck.
In the ground = 853.17 / 0.92 = 927.36 cy, loose = 927.36 × 1.12 = 1,038.64 cy
12. Two pads at once
The building pad raised 2 ft, and a 120 by 80 ft parking lot 100 ft away cut 1 ft in, both with 2:1 slopes on level ground. Each is problem 2 or 3 with its own numbers.
Building fill = 12,000 + 160 × 2 × 4 + π × 4 × 8 / 3 = 13,313.51 cu ft = 493.09 cy
Lot cut = 9,600 + 200 × 2 × 1 + π × 4 × 1 / 3 = 10,004.19 cu ft = 370.53 cy
These slopes are narrow: 4 ft wide around the building and 2 ft around the lot, less than the 1 m grid. The calculator samples the slopes at the middle of each square, so slopes this narrow carry the largest differences in this manual. They are still well under 1%, and they shrink as the slopes get wider.
13. Rolling ground
Real ground is not a plane. Here the ground under the pad waves 1.5 ft up and down, with crests 40 ft apart along the pad and one gentle rise across it:
z = −3 − 1.5 cos(2πx / 40) cos(πy / 60) ft
The pad is at 0 with vertical edges, so the fill is the integral of −z over the pad, done exactly:
∫∫ 3 dx dy = 3 × 6,000 = 18,000 cu ft
∫ cos(2πx / 40) dx from −50 to 50 = (40/π) sin(2.5π) = 12.732 ft
∫ cos(πy / 60) dy from −30 to 30 = (120/π) sin(π/2) = 38.197 ft
V = 18,000 + 1.5 × 12.732 × 38.197 = 18,729.51 cu ft = 693.69 cy
For comparison, the average end area method by hand, with cross sections every 25 ft along the pad, gives 644.69 cy on the same ground, 7.1% low. Sections 25 ft apart miss what the ground does between them, while the grid looks at every square meter.
What these problems do not check
The problems check the calculator’s geometry and arithmetic on known ground. On a real site, the answer is only as good as the ground model:
- USGS 3D Elevation Program lidar at quality level 2, the most common, is specified to 10 cm (about 4 in) root mean square vertical error on open ground. On a 6,000 sq ft pad, 1 in of error in the ground is about 19 cy.
- Ground graded, built on or dug since the lidar was flown is not in it.
- Lidar ground under dense brush, crops or buildings is filled in from the ground around it.
- Where there is no 1 m lidar, the calculator falls back to the 10 m elevation model and says so.
Swell, shrink and topsoil depth are inputs, not answers: a geotechnical report or the grading contractor’s experience with the local soil sets them better than any table. The calculator is for planning and early pricing. A bid should rest on a site survey.
How the calculator measures
The calculator reads the ground as a grid of 1 m squares from USGS lidar. Each pad is a plane, level or sloped, at its subgrade: its finished elevation less any slab or paving on it. From each pad’s edge, the cut slope rises and the fill slope falls until it meets the ground, starting from the nearest point of the edge. Where two pads’ slopes meet, the ground stays within both. Every square touched is stripped of topsoil and then cut down or filled up, and the volumes are the sums of each square’s depth times its area. A square that a pad edge crosses counts in two parts, by the share of it on each side. The same engine answers on the page, in the PDF report and in the downloads.