Skip to content
ByggPlaneraren Create a building

Earthworks calculator

How much soil has to go, and how much crushed stone do you need to buy for the foundation? Enter the size of the building, the height of the ground, how deep the foundation will sit and how thick the crushed stone layer will be. The calculator works out topsoil, excavation, fill, truck loads, weights and cost. The ground can be flat or sloping, and a section shows the levels. Then you know what to dig and order before you book the machine.

How to work out excavation and crushed stone

An excavation has four steps: the topsoil is removed, the soil below is dug out to the bottom of the crushed stone layer, the crushed stone is laid and compacted, and the foundation is cast or laid on top. The calculator follows the same order. The figures are a planning estimate based on the heights you enter, and they do not replace a survey.

The dug area and the excavation margin

You dig wider than the building, so that there is room to work and to shape the edge. The extra distance on every side is the excavation margin (schaktmån). The dug area is the building length plus twice the margin, times the width plus twice the margin. A 6 × 4 m building with a 0.5 m margin gives a 7 × 5 m dug area, which is 35 m².

The levels

Every height has to start from the same zero point. It can be the national height system RH 2000 or a point of your own, for example a nail in a tree trunk. The calculator needs the height of the ground, the underside of the foundation and the thickness of the topsoil and the crushed stone. The bottom of the dig, the terrace, sits one crushed stone thickness below the underside of the foundation. If the ground is flat one height is enough. If it slopes you enter the height at four corners, and the calculator lays an even slope between them.

Topsoil, excavation and fill

Topsoil (matjord) is the top layer, rich in organic matter, and it is removed first. The soil between the ground and the terrace is then counted as excavation. Where the ground lies lower than the terrace you need fill, and on a sloping plot the same site can need both. The net volume is excavation minus fill: a surplus means soil has to be hauled away, a deficit means you need to buy more.

Swell and compaction

Soil that is dug up takes more room than it did in the ground. The increase is called swell (luckring), and the truck carries the loose volume. Crushed stone and fill do the opposite: they are compacted when laid, so you must order more than the finished volume. That is compaction (packning). The calculator multiplies the excavated soil by the swell factor to get loose cubic metres, and divides by the truck size to get the number of loads. Crushed stone and fill are multiplied by the compaction factor. The defaults are common starting values, so check them with your supplier. The calculation follows the rules described above.

Worked example

A house on flat ground

The building is 6 × 4 m with a 0.5 m margin. The ground is flat at 10.00 m. The topsoil is 200 mm, the underside of the foundation is at 9.70 m and the crushed stone layer is 300 mm, so the terrace is at 9.40 m. The defaults are compaction 1.15, swell 1.25, a 12 m³ truck, and prices of 150, 350 and 250 kr per cubic metre plus 1,200 kr per load.

Dug area7 × 535.00 m²
Topsoil35 × 0.27.00 m³
Excavation below the topsoil35 × 0.414.00 m³
Hauled away, loose(7 + 14) × 1.2526.25 m³
Loads26.25 ÷ 12, rounded up3
Crushed stone, finished and ordered35 × 0.3 and × 1.1510.50 and 12.08 m³
Cost3,150 + 4,226 + 3,60010,976 kr

The soil hauled away weighs 26.25 × 1.8 = 47.3 tonnes and the crushed stone 12.08 × 1.7 = 20.5 tonnes. The calculator never reuses excavated soil as fill. If you plan to, set the fill price to zero.

Common questions about earthworks

How much crushed stone is needed under a foundation?

It depends on the area and the thickness. The finished volume of crushed stone is the dug area times the layer thickness, and the volume to order is that times the compaction factor. In the example it is 10.50 m³ finished and 12.08 m³ to order.

What is swell?

Swell is how much soil expands when it is dug up. A factor of 1.25 means one solid cubic metre becomes 1.25 m³ of loose soil on the truck. It decides how many loads are needed.

What is compaction?

Compaction is how crushed stone and fill settle when they are laid and pressed together. You therefore order more than the finished volume, 15 % more in the example. The factor is a common starting value, and your supplier knows what applies to the material.

How do I enter a sloping plot?

Choose sloping ground and enter the height at the four corners around the dug area. The calculator counts excavation and fill separately, and the section shows how the ground, the terrace and the foundation lie in relation to each other.

What zero point should the heights use?

Any, as long as it is the same for every height on the page. You can use the national system RH 2000 or measure from a fixed point of your own. It is the differences between the heights that give the volumes.

Does the calculation apply on clay, silt or rock?

The calculator only counts volumes from the heights you enter. How a foundation should be built on clay, silt or rock, how deep the frost goes and how water is drained away are for a qualified person to assess.

More tools

Site plan

Draw the plot from above with buildings, decks and drives, and see distances and areas.

All tools

The calculators for renovating and building, in one place.

Room planner

Draw rooms and partition walls and see studs, plasterboard, insulation and cost before you renovate.

Draw a building

Building a shed, a deck or a fence? The editor gives you a drawing, 3D and a shopping list.