Lorixen.
EN

Gravel and topsoil calculators for garden supply yard websites

Short answer: Customers buying gravel, topsoil or bark rarely know how much they need, so the most useful thing a yard's website can do is turn length, width and depth into a quantity, then into a number of bulk bags or a loose load. Build the calculator around your own conversion figures per material, round up to whole bags, and carry the result straight into an order form that also asks about delivery address, access for the truck and a time window. A clear calculator saves phone calls and cuts down on wrong orders.

"How many bags do I need for my driveway?" is the question every garden supply yard answers dozens of times a week. A calculator on the website answers it at 10pm on a Sunday, when people are actually planning their weekend projects. Below is a worked example, then the order form fields that make delivery go smoothly.

The worked example

The yard and every figure here are hypothetical. Replace them with your own.

The customer's project

A customer wants decorative gravel on a rectangular area beside their patio, 5 metres long and 4 metres wide, at a depth of 50 millimetres.

Step 1: area

5 m × 4 m = 20 square metres.

For awkward shapes, let customers add several rectangles, or offer a circle option (π × radius × radius). Most garden areas can be approximated with two or three rectangles.

Step 2: volume

Convert depth to metres first: 50 mm = 0.05 m.

20 m² × 0.05 m = 1.0 cubic metre.

This is where calculators most often go wrong: mixing millimetres, centimetres and metres. Ask for depth in one unit only (millimetres or centimetres, clearly labelled), show a short hint for each material ("Decorative gravel: we suggest 40–50 mm"; use your own guidance), and convert behind the scenes.

Step 3: allow for settling and waste

Loose materials settle and some is lost when spreading. Many yards add a percentage. In this hypothetical example, the yard adds 10%:

1.0 m³ × 1.10 = 1.1 cubic metres.

Use the allowance your own experience supports, and say on the page that it's included.

Step 4: convert to bags or tonnes

This depends on your products. For the example, assume the yard's bulk bag holds about 0.8 m³ of this gravel (an assumption for illustration; bag capacity varies by supplier and material).

1.1 ÷ 0.8 = 1.375, so round up to 2 bulk bags.

If you sell by weight for loose loads, multiply the volume by your own density figure for each material. Don't publish a generic figure; densities differ between materials and even between sources of the same material.

Step 5: show the result clearly

"For 20 m² at 50 mm deep, you'll need about 1.1 m³ including 10% for settling. That's 2 bulk bags of our 20mm decorative gravel. Add to order?"

The button should carry the quantity and product into the basket.

Building it on an online store

On a store platform, materials with sizes and formats are usually set up as products with options. Shopify's variants help page, for example, says a product can have up to three options and up to 2,048 variants as of November 2026, so "Material grade", "Format" (bulk bag, half bag, loose by the tonne) and "Colour" fit comfortably. The calculator itself is usually a small piece of custom code or an app on the product page; the same Shopify page notes that requirements beyond the built-in options can be handled with an app or with line item properties added to the theme.

Bulk bags or loose loads?

Help customers choose with a short comparison on the product page:

Bulk bags Loose load
Best for Smaller jobs, tight access, gardens Big jobs, open sites, driveways
Placement Can be craned over a wall or onto a drive (if your truck allows) Tipped in one spot; needs space
Mess Contained Needs a clear, hard surface or tarp
Leftovers Easy to store Harder to manage

Keep your own rules (minimum orders, which trucks carry which formats) in the table, not hidden in terms.

The order form fields

Once the quantity is in the basket, the checkout or order form needs to give the driver everything.

Delivery address and zone

  • Eircode and full address
  • Delivery zone shown automatically from the Eircode or distance, with the delivery charge for that zone

If you calculate zones by travel distance from the yard, Google's routing services can work out distance and drive time for origin–destination pairs. Note the change on Google's Distance Matrix (Legacy) page: as of October 2026 it can no longer be enabled for new Google Cloud projects, and Google points new work to the Routes API, whose Compute Route Matrix method returns distance and duration for each origin and destination. Simpler setups just use a list of Eircode routing keys or towns per zone.

Access for the truck

  • Where should the bag or load go? (driveway, front garden, roadside)
  • Width of the gateway or entrance
  • Overhead wires, low branches or a steep approach
  • Is the surface firm enough for a heavy vehicle?
  • A photo upload of the drop spot

The photo field earns its place. A driver who can see the gate before setting off avoids a wasted trip.

Date and time window

  • Preferred date (based on your delivery days for that zone)
  • Morning or afternoon window, if you can offer it
  • Whether someone will be home, and a phone number for the driver

Collection instead

Offer "collect from the yard" with opening hours and loading help, for customers with a trailer.

FAQ

Should the calculator show prices?

It can show the price of the bags or tonnage it recommends, taken from your product prices. Keep delivery charges separate and clear.

What if the customer's area isn't rectangular?

Let them add several areas and sum them, or enter an area they've already measured in square metres.

How accurate are online calculators?

They're estimates. Say so on the page, include your settling allowance, and invite customers to call if the job is unusual.

Can we suggest depths for each material?

Yes, and you should. Use the depths your own staff recommend for each product.

A calculator that turns a measured patio into a bag count, and an order form that captures the gate width, saves calls on both sides, so show us how your yard prices and delivers and we'll sketch the build.

Sources

WhatsAppLet’s talk