# Sandbag Calculator

> Estimate how many sandbags you need to build a flood or erosion control barrier.

Page: https://craftquantities.com/calculators/materials-quantities/sandbag-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.1, sources checked 2026-09-02, 2 published test vectors.

Sandbags needed: 98 sandbags for Barrier Length 49 ft, the page's opening figures; on the metric page, 15 m gives 99 sandbags. Sources are cited below.

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| Barrier Length | `barrierLength` | 15 m | 49 ft | mm, cm, m, in, ft, yd; range 0.01–500 m |
| Number of Courses (Layers) | `courses` | 2 | 2 | range 1–6 |

- **Barrier Length**: The total length of the barrier you're building.
- **Number of Courses (Layers)**: How many bags high the barrier will be stacked.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Sandbags needed** | 99 sandbags |
| Barrier length | 15 m |

### US customary

| Result | Value |
|---|---|
| **Sandbags needed** | 98 sandbags |
| Barrier length | 49 linear ft |

- Confidence: medium.

## How it is worked out

This is a rough planning estimate — taller barriers need a wider, pyramid-shaped base (each course set back slightly) for stability, which uses more bags per unit of length than a simple straight stack.

The working the page shows, in order: Barrier length; then sandbags needed.

The method, derived in full:

- [Quantity, Waste and Rounding](https://craftquantities.com/methodology/quantity-waste-and-rounding/): Why a material count is a ceiling function rather than a division, and why the waste factor — not the geometry — carries the risk.

What this calculation does not cover:

- Counts a single-width stack — one bag per foot of run in every course. A barrier that actually has to hold water is built as a stepped pyramid with a base several bags wide, so the real bag count is a multiple of this figure, and the multiple grows with height.
- Takes the length you enter as the finished barrier. It adds nothing for the end returns that have to climb onto ground standing above the water level, or for the extra run around bays, driveways and gates — and the ends are where barriers of this kind usually fail, not the crest.
- This is a bag count, not a flood defence design. It says nothing about seepage through and under the stack, piping in the ground beneath the toe, or the hydrostatic load a barrier stacked hard against a wall puts into that wall, and it cannot address water arriving through drains, air bricks or other below-ground routes that no surface barrier blocks.
- No waste allowance is included. Bags split on the pallet, burst when they are dropped, and get spent ballasting sheeting and holding laps down; none of that is in the number.
- Courses are entered directly. Nothing relates them to the water level you are protecting against or to freeboard above it, and nothing here gives the sand volume, the delivery weight or the crew-hours to fill this many bags — on a long barrier the fill rate, not the material, is usually what decides whether the job finishes.

## Sources

As the calculator cites them (sources checked 2026-09-02):

- A standard filled sandbag covers approximately 1 linear ft of wall per stacked course; total bags = barrier length x number of courses

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**Why does a taller sandbag wall need a wider base?**

Each course should be set back slightly from the one below it (a pyramid shape) so the weight of the water pressure is spread across a wider footprint — a straight vertical stack more than a couple courses high is unstable and prone to toppling.

**How full should each sandbag be?**

Bags are typically filled only about half to two-thirds full so they can be shaped and stacked tightly against each other, sealing gaps — an overfilled bag stacks poorly and leaves more gaps for water to pass through.

**Is sand the only fill material that works?**

Sand is standard because it's heavy and conforms well to gaps, but in an emergency, soil or other heavy granular material can substitute if sand isn't available — avoid lightweight or absorbent fills that won't hold shape or resist water pressure.

## Related calculators

- [French Drain Gravel Calculator](https://craftquantities.com/calculators/auto-utility/french-drain-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/sandbag-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/sandbag-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `sandbag-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/sandbag-calculator.json

---
Source: https://craftquantities.com/calculators/materials-quantities/sandbag-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
