#concrete-calculator-wrapperbox {
background: #f8f9fa;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
margin-bottom: 40px;
}
.cc-input-group {
margin-bottom: 20px;
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.cc-field {
flex: 1;
min-width: 200px;
display: flex;
flex-direction: column;
}
.cc-field label {
font-weight: 600;
margin-bottom: 8px;
color: #333;
font-size: 14px;
}
.cc-field input {
padding: 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}
.cc-field input:focus {
border-color: #007bff;
outline: none;
}
button.cc-btn {
background: #007bff;
color: white;
border: none;
padding: 15px 30px;
font-size: 18px;
font-weight: bold;
border-radius: 4px;
cursor: pointer;
width: 100%;
transition: background 0.3s;
}
button.cc-btn:hover {
background: #0056b3;
}
#cc-results {
margin-top: 30px;
display: none;
background: #fff;
padding: 20px;
border-radius: 6px;
border-left: 5px solid #28a745;
}
.cc-result-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
border-bottom: 1px solid #eee;
}
.cc-result-row:last-child {
border-bottom: none;
}
.cc-val {
font-weight: 700;
font-size: 18px;
color: #28a745;
}
.cc-article {
line-height: 1.6;
color: #444;
}
.cc-article h2 {
margin-top: 30px;
color: #222;
}
.cc-article ul {
padding-left: 20px;
}
.cc-article li {
margin-bottom: 10px;
}
function calculateConcrete() {
// Get Input Values
var len = parseFloat(document.getElementById('cc-length').value);
var wid = parseFloat(document.getElementById('cc-width').value);
var thick = parseFloat(document.getElementById('cc-thickness').value);
var waste = parseFloat(document.getElementById('cc-waste').value);
// Validation
if (isNaN(len) || isNaN(wid) || isNaN(thick)) {
alert("Please enter valid numbers for Length, Width, and Thickness.");
return;
}
if (isNaN(waste)) {
waste = 0;
}
// Calculation Logic
// 1. Convert thickness from inches to feet
var thicknessInFeet = thick / 12;
// 2. Calculate Cubic Feet
var cubicFeet = len * wid * thicknessInFeet;
// 3. Add Waste Margin
var totalCubicFeet = cubicFeet * (1 + (waste / 100));
// 4. Calculate Cubic Yards (1 Yard = 27 Cubic Feet)
var cubicYards = totalCubicFeet / 27;
// 5. Calculate Bags
// Standard yields: 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);
// Update DOM
document.getElementById('res-yards').innerHTML = cubicYards.toFixed(2) + " yd³";
document.getElementById('res-feet').innerHTML = totalCubicFeet.toFixed(2) + " ft³";
document.getElementById('res-bags80').innerHTML = bags80;
document.getElementById('res-bags60').innerHTML = bags60;
// Show Results
document.getElementById('cc-results').style.display = "block";
}
How to Calculate Concrete for Slabs and Footings
Planning a patio, driveway, or foundation pour requires precise material estimation to avoid costly shortages or wasteful surpluses. This Concrete Slab Calculator simplifies the math by converting your dimensions into the specific volume metrics used by suppliers and hardware stores.
The Concrete Calculation Formula
To determine the volume of concrete required for a slab, you must calculate the cubic volume. The standard formula used by contractors is:
Length (ft) × Width (ft) × Thickness (ft) = Volume (Cubic Feet)
Since slab thickness is usually measured in inches, it must first be divided by 12 to convert it to feet. For example, a 4-inch slab is 0.33 feet thick.
Once you have the cubic feet, divide that number by 27 to get Cubic Yards, which is the standard unit of measurement for ordering ready-mix trucks.
Why Include a Waste Margin?
Professional concrete finishers always order more material than the exact mathematical volume. Several factors contribute to this need:
- Subgrade variation: Even a slightly uneven ground base can increase the depth required in certain spots.
- Spillage: Some concrete is inevitably lost during the transfer from truck to wheelbarrow or form.
- Form bowing: Wooden forms may bow slightly outward under the weight of wet concrete, increasing the volume.
A standard waste margin is 5% to 10%. Our calculator allows you to adjust this percentage to ensure you have enough material to finish the job.
Bagged Concrete vs. Ready-Mix Truck
When should you buy bags, and when should you call a truck? As a general rule of thumb:
- Under 1 Cubic Yard: Use pre-mix bags (60lb or 80lb). This is ideal for setting posts, small repairs, or tiny pads.
- Over 1 Cubic Yard: It is usually more cost-effective and physically manageable to order a ready-mix truck delivery. Mixing over 40 bags of concrete by hand is labor-intensive and makes it difficult to achieve a consistent cure.
Use the "Pre-Mix Bags" output in the calculator above to see exactly how many pallets you might need to pick up from the store if you decide to do it yourself.