Gravel & Topsoil Calculator
This free gravel and topsoil calculator tells you how much material you need for any area, whether it’s a curved garden bed, an angled driveway, a winding path, or an odd-shaped patio base. Enter the area’s corner coordinates (or its area if you know it), pick the material and depth, and you’ll get the answer in cubic yards, cubic feet, cubic meters, tons, and bags, plus an optional cost. The shape is drawn on screen and every step of the math is shown.
Why Volume Isn’t Enough: Gravel Is Sold by Weight
You measure a space in square feet and inches of depth, but suppliers sell gravel, sand, and soil by the cubic yard or by the ton, and garden centers sell it in bags. A calculator that only gives cubic feet leaves you guessing at the order. This one converts to all three.
The weight depends on the material. A cubic yard of gravel is noticeably heavier than a cubic yard of topsoil, so the same space needs a different tonnage for each. And if the area is an odd shape, getting the square footage right is the first step, which is why the calculator starts from the corners.
How to Use the Gravel & Topsoil Calculator
Option 1: Enter corner coordinates (for irregular areas)
- Choose a starting corner and call it (0, 0).
- Measure across (x) and up (y) to every other corner, along two straight lines at right angles.
- Enter the corners in order around the edge as P1, P2, P3… Clockwise or counterclockwise both work.
- Use negative numbers for corners to the left of or behind the starting point.
- Add or remove corners with “+ Add corner” or ×. You need at least three.
Option 2: Enter the area
If you already know the square footage, switch to “I know the area” and type it in.
Then fill in the material details
- Material: gravel, river rock, sand, topsoil, or fill dirt. Each has a typical weight per cubic yard. Choose Custom to enter your supplier’s exact figure.
- Depth: how thick the layer will be, in inches or centimeters. See the depth guide below.
- Extra: many people add 5–10% for settling and compaction. Leave it at 0 for the exact amount.
- Bag size: a typical bag of gravel holds about 0.5 cu ft (around 50 lb). Bags of soil are often 0.75 to 2 cu ft.
- Prices (optional): enter a price per ton, per cubic yard, and/or per bag to compare buying options.
Press Calculate material to see the totals, and open “Show step-by-step working” to follow the math.
The Formulas Behind the Calculator
Step 1: Area, using the Shoelace formula
Area = ½ × | Σ (xᵢ × yᵢ₊₁ − xᵢ₊₁ × yᵢ) |
For each corner, multiply its x by the next corner’s y, subtract the next corner’s x times this corner’s y, add everything up, ignore the minus sign, and divide by 2.
Step 2: Volume and cubic yards
Volume (cu ft) = Area (sq ft) × Depth (in) ÷ 12
Cubic yards = Cubic feet ÷ 27
Step 3: Tons
Multiply the cubic yards by the material’s weight per cubic yard, then divide by 2,000 lb (one US ton):
Tons = Cubic yards × Weight (lb per cu yd) ÷ 2,000
One US ton is about 0.907 metric tonnes.
Step 4: Bags
Bags = Cubic feet ÷ Bag size (cu ft), always rounded up.
Worked Example 1: A Five-Sided Gravel Pad (Coordinates)
A gravel parking pad has five corners at (0,0), (30,0), (30,12), (15,20), and (0,12), in feet. You want gravel 4 inches deep.
Find the area:
| Corners | Calculation | Result |
|---|---|---|
| P1 → P2 | (0 × 0) − (30 × 0) | 0 |
| P2 → P3 | (30 × 12) − (30 × 0) | 360 |
| P3 → P4 | (30 × 20) − (15 × 12) | 420 |
| P4 → P5 | (15 × 12) − (0 × 20) | 180 |
| P5 → P1 | (0 × 0) − (0 × 12) | 0 |
| Sum | 960 |
- Area = 960 ÷ 2 = 480 sq ft
- Volume = 480 × (4 ÷ 12) = 160 cu ft
- Cubic yards = 160 ÷ 27 = 5.93 cu yd
- Weight = 5.93 × 2,800 ÷ 2,000 = 8.3 tons (7.53 metric tonnes)
- Bags = 160 ÷ 0.5 = 320 bags of 0.5 cu ft
Check: the pad is a 30 × 12 rectangle (360 sq ft) with a triangle on top (½ × 30 × 8 = 120 sq ft), which also makes 480 sq ft. These are the numbers behind the “Try an example” button.
Worked Example 2: Topsoil for a Metric Garden Bed
A new bed measures 25 m², you want 15 cm of topsoil, plus 10% extra for settling, bought in 1 cu ft bags.
- Area in sq ft = 25 × 10.7639 = 269.10 sq ft
- Depth in feet = 15 ÷ 30.48 = 0.4921 ft
- Volume = 269.10 × 0.4921 = 132.43 cu ft, plus 10% = 145.67 cu ft (about 4.12 m³)
- Cubic yards = 145.67 ÷ 27 = 5.40 cu yd
- Weight = 5.40 × 2,200 ÷ 2,000 = 5.93 tons (5.38 metric tonnes)
- Bags = 145.67 ÷ 1 = 146 bags
At this size, bulk delivery is usually far easier than carrying 146 bags.
Worked Example 3: Sand by the Ton vs by the Bag
A paver base area is 300 sq ft and needs 2 inches of sand. Bulk sand costs $40 per ton, and 0.5 cu ft bags cost $5.50 each. (These are example prices. Check your local supplier.)
- Volume = 300 × (2 ÷ 12) = 50 cu ft = 1.85 cu yd
- Weight = 1.85 × 2,700 ÷ 2,000 = 2.5 tons
- Bulk cost = 2.5 × $40 = $100
- Bags = 50 ÷ 0.5 = 100 bags × $5.50 = $550
Bulk is much cheaper here, but add any delivery fee before you compare.
Typical Material Weights
| Material | Weight per cubic yard | Tons per cubic yard | 1 ton covers (at 3 in deep) |
|---|---|---|---|
| Gravel (pea or crushed) | about 2,800 lb | about 1.4 | about 77 sq ft |
| River rock | about 2,700 lb | about 1.35 | about 80 sq ft |
| Sand | about 2,700 lb | about 1.35 | about 80 sq ft |
| Topsoil | about 2,200 lb | about 1.1 | about 98 sq ft |
| Fill dirt | about 2,000 lb | about 1.0 | about 108 sq ft |
These are typical averages. Real weights change with moisture (wet sand and soil are heavier), stone size, and compaction. If your supplier gives a figure, choose Custom and enter it for the most accurate tonnage.
How Deep Should the Layer Be?
| Project | Typical depth |
|---|---|
| Gravel driveway | 4–6 in (10–15 cm), often in layers |
| Gravel path or walkway | 2–4 in (5–10 cm) |
| Decorative stone in beds | 2–3 in (5–7.5 cm) |
| Sand bedding under pavers | about 1 in (2.5 cm) |
| Topsoil for a new garden bed | 4–8 in (10–20 cm) |
| Topdressing a lawn | ¼–½ in (0.6–1.3 cm) |
These are general guidelines. Follow your product instructions or project plans where they differ.
Tips for Ordering the Right Amount
- Round up, not down. Running out halfway means a second delivery fee.
- Add extra for compaction. Crushed gravel and sand pack down when tamped. Many people add 5–10%.
- Check the minimum order. Some suppliers deliver a minimum of a few yards, so small jobs may be cheaper in bags.
- Curved edges: add extra corners along the curve for a closer area.
- Ask how the supplier sells it. Some quote by the ton, others by the yard. The calculator shows both.
Common Mistakes to Avoid
- Using cubic yards when the price is per ton (or the reverse). They’re different numbers for the same pile.
- Treating depth inches as feet, which gives an answer 12 times too big. The calculator converts for you.
- Assuming all materials weigh the same. The same space needs about 8.3 tons of gravel but only 6.5 tons of topsoil.
- Forgetting about compaction on driveways and paver bases.
Related Calculators
- Mulch Calculator for Irregular Areas: for planting beds
- Concrete Slab Calculator: for patios and pads
- Map Area Calculator: measure a driveway or yard on a map first
- Irregular Polygon Area Calculator: area from coordinates only

2 Comments