Please enter valid dimensions for length, width, and thickness.
Total Volume (Cubic Yards):0.00
Total Volume (Cubic Feet):0.00
60lb Premix Bags Needed:0
80lb Premix Bags Needed:0
How to Calculate Concrete for a Slab
Whether you are pouring a patio, a driveway, or footings, determining the correct amount of concrete is crucial to avoid running out mid-pour or overspending on materials. This calculator determines the volume based on standard imperial measurements.
The Concrete Calculation Formula
To calculate the concrete volume, we use the following geometric formula for a rectangular prism:
Step 1: Convert all dimensions to feet. Since thickness is usually measured in inches, divide the inches by 12.
If your project is small (under 1-1.5 cubic yards), using premix bags (Quikrete, Sakrete) is usually more economical. For larger projects, ordering a ready-mix truck is standard.
80lb Bag Yield: Approximately 0.60 cubic feet per bag.
60lb Bag Yield: Approximately 0.45 cubic feet per bag.
Why Include a Waste Factor?
Professional contractors always order slightly more concrete than the exact mathematical volume. We recommend a 5-10% safety margin to account for:
Spillage during the pour.
Uneven subgrade (ground) depth.
Form bowing under the weight of wet concrete.
function calculateConcrete() {
// 1. Get input values using specific IDs
var len = parseFloat(document.getElementById("slabLength").value);
var wid = parseFloat(document.getElementById("slabWidth").value);
var dep = parseFloat(document.getElementById("slabDepth").value);
var waste = parseFloat(document.getElementById("wasteFactor").value);
var errBox = document.getElementById("errorMessage");
var resBox = document.getElementById("calcResult");
// 2. Validate inputs
if (isNaN(len) || isNaN(wid) || isNaN(dep) || len <= 0 || wid <= 0 || dep <= 0) {
errBox.style.display = "block";
resBox.style.display = "none";
return;
} else {
errBox.style.display = "none";
resBox.style.display = "block";
}
// 3. Calculation Logic
// Convert depth from inches to feet
var depthInFeet = dep / 12;
// Calculate base cubic feet
var cubicFeet = len * wid * depthInFeet;
// Apply waste factor
var wasteMultiplier = 1 + (waste / 100);
var totalCubicFeet = cubicFeet * wasteMultiplier;
// Calculate Cubic Yards (27 cubic feet in 1 cubic yard)
var totalCubicYards = totalCubicFeet / 27;
// Calculate Bags
// Standard yield: 80lb bag ~= 0.6 cu ft, 60lb bag ~= 0.45 cu ft
var bags80 = Math.ceil(totalCubicFeet / 0.60);
var bags60 = Math.ceil(totalCubicFeet / 0.45);
// 4. Update the DOM with results
document.getElementById("resYards").innerHTML = totalCubicYards.toFixed(2);
document.getElementById("resFeet").innerHTML = totalCubicFeet.toFixed(2);
document.getElementById("resBags80").innerHTML = bags80;
document.getElementById("resBags60").innerHTML = bags60;
}