Calculate how much soil or compost you need to fill a raised bed
Raised beds are one of the most popular ways to grow vegetables, herbs, and flowers in UK gardens. They offer better drainage, warmer soil in spring, and make gardening more accessible. The key challenge is working out exactly how much soil or compost you need to fill them, as getting this wrong means either running short mid-project or wasting money on excess bags. Whether you are building a new raised bed from timber sleepers, metal edging, or brick, the volume of fill material depends on the bed's length, width, and depth. Different soil types also have different densities, which affects both the weight you need to transport and the number of bags to buy. Our raised bed soil calculator takes your bed dimensions and chosen soil type, then gives you the volume in litres, the number of standard 50-litre bags required, and an estimated weight so you can plan delivery or collection.
To calculate soil for your raised bed: 1. Enter the bed length in metres. Measure the inside dimensions of the frame for the most accurate result. 2. Enter the bed width in metres. 3. Enter the bed depth in centimetres. This is how deep the bed frame is, typically 15 to 45 cm. 4. Choose your soil type. Topsoil is the cheapest option, compost mix (60% topsoil, 40% compost) is ideal for vegetables, and multi-purpose compost suits containers and shallow beds. 5. Review the results showing total volume in litres, the number of 50-litre bags needed, and the estimated weight for planning delivery.
The raised bed soil formula converts dimensions to a volume and then to practical units: Volume (cubic metres) = Length (m) x Width (m) x Depth (cm) / 100 Volume (litres) = Volume (m3) x 1,000 Bags Needed = Ceiling of (Volume in litres / 50) Weight depends on the soil type density: - Topsoil: approximately 1,200 kg per m3 - Compost mix: approximately 800 kg per m3 - Multi-purpose compost: approximately 400 kg per m3 Weight (kg) = Volume (m3) x Density (kg/m3) For example, a 2.4m x 1.2m bed at 30 cm deep: Volume = 2.4 x 1.2 x 0.30 = 0.864 m3 = 864 litres. That requires 18 bags of 50L compost mix, weighing approximately 691 kg.
Inputs: Length: 2.4 m. Width: 1.2 m. Depth: 30 cm. Soil type: Compost mix.
Inputs: Length: 3.0 m. Width: 1.0 m. Depth: 45 cm. Soil type: Topsoil.
Inputs: Length: 1.2 m. Width: 0.6 m. Depth: 20 cm. Soil type: Multi-purpose compost.