Concrete Calculator

Concrete Calculator 2018-04-16T00:01:30+00:00
<script language=”javascript“>
function calcConc(form) {
var concAmt = 0;
for (var i = 1; i <= 3; i++) {
var parsecheck = “” + parseFloat(form.elements[i].value);
if (parseFloat(form.elements[i].value) < 0 ||
parseFloat(form.elements[i].value) == 0 ||
parsecheck == “NaN”) {
window.alert(“Please enter a positive number in each of the ” + “three input fields.”);
return false;
}
}
if (form.elements[5].checked == true)
concAmt = form.elements[1].value * form.elements[2].value *
(form.elements[3].value / 12.0) / 27;
else
concAmt = form.elements[1].value * form.elements[2].value *
form.elements[3].value / 27;
form.elements[7].value = formatvalue(concAmt,7);
return true;
}
function calcCol(form) {
var concAmt = 0;
for (var i = 1; i <= 2; i++) {
var parsecheck = “” + parseFloat(form.elements[i].value);
if (parseFloat(form.elements[i].value) < 0 ||
parseFloat(form.elements[i].value) == 0 ||
parsecheck == “NaN”) {
window.alert(“Please enter a positive number in both of the ” + “two input fields.”);
return false;
}
}
var radius = form.elements[2].value / 24.0;
concAmt = form.elements[1].value * radius * radius * Math.PI / 27;
form.elements[4].value = formatvalue(concAmt,7);
return true;
}
function calcWall(form) {
var concAmt = 0;
for (var i = 1; i <= 2; i++) {
var parsecheck = “” + parseFloat(form.elements[i].value);
if (parseFloat(form.elements[i].value) < 0 ||
parseFloat(form.elements[i].value) == 0 ||
parsecheck == “NaN”) {
window.alert(“Please enter a positive number in both of the ” +
“two input fields.”);
return false;
}
}
if (form.elements[3].checked == true)
concAmt = form.elements[1].value * form.elements[2].value * 0.32 / 27.0;
else
concAmt = form.elements[1].value * form.elements[2].value * 0.51 / 27.0;
form.elements[6].value = formatvalue(concAmt,7);
return true;
}
function formatvalue(input, rsize) {
var invalid = “**************************”;
var nines = “999999999999999999999999”;
var strin = “” + input;
var fltin = parseFloat(strin);
if (strin.indexOf(“e”) != -1 ||
fltin > parseFloat(nines.substring(0,rsize)+”.4″))
return invalid.substring(0, rsize);
if (strin.length <= rsize) return strin;
var rounded = “” + (fltin +
(fltin – parseFloat(strin.substring(0, rsize))));
return rounded.substring(0, rsize);
}
function clearform(form,count,lastElement) {
for (var i = 1; i <= count; i++) form.elements[i].value = “”;
form.elements[lastElement].value = “”;
}
</script>
<hr />
<h2>Slabs, Footings, Sidewalks, Patios</h2>
<ul>
<li>Enter the width, length and thickness of your pour.</li>
<li>Click Inches or Feet under Thickness.</li>
<li>Click Calculate. You will then see the estimated number of cubic yards required.</li>
</ul>
<form>
<table width=”613class=”table table-bordered“>
<thead>
<tr>
<th colspan=”4align=”centervalign=”middle“>Slabs, Footing, Sidewalks, Patios</td>
</tr>
</thead>
<tr>
<td height=”27align=”center“>
Width (Feet)
</td>
<td align=”center“>
Length (Feet)
</td>
<td align=”center“>
Thickness
</td>
<td align=”center“>
<input name=”buttontype=”buttononClick=”clearform(this.form,3,7)value=”Clear“>
</td>
</tr>
<tr align=”centervalign=”middle“>
<td height=”45valign=”middle“>
<input type=”textname=”val12size=”7“> <br/>
</td>
<td valign=”middle“>
<input type=”textname=”val22size=”7“> <br>
</td>
<td valign=”middle“>
<table width=”100%” >
<tr>
<td width=”55height=”23“>
<input type=”textname=”val3size=”7“>
</td>
<td width=”88“>
<input type=”radioname=”InchesFeetvalue=”incheschecked>
Feet <br/>
<input type=”radioname=”InchesFeetvalue=”feet“>
Inches
</td>
</tr>
</table>
</td>
<td align=”center“>
<input name=”button22type=”buttononClick=”calcConc(this.form)value=”Calculate“>
</td>
</tr>
<tr>
<td colspan=”3” >
<span style=”text-align:right; display:block;“>Cubic Yards Required:</span>
</td>
<td align=”center“>
<input type=”textname=”val42size=”10“>
</td>
</tr>
</table>
</form>
<hr />
<h2>Block Walls</h2>
<ol>
<li>Enter the height and length of the wall.</li>
<li>Click either 8 Inch or 12 Inch.</li>
<li>Click Calculate. You will then see the estimated number of cubic yards required.</li>
</ol>
<h3>Please note:</h3>
<ul>
<li>There is significant variation in fill space among various types of blocks, so this is only an estimate.</li>
<li>The calculation will be based on the assumption that you’ll be using double open-ended bond beam blocks.</li>
</ul>
<form>
<table width=”613class=”table table-bordered“>
<thead>
<tr>
<th colspan=”4align=”centerValign=”middle“>Block
Wall
</th>
</tr>
</thead>
<tr>
<td width=”107align=”center“>
Height (Feet)
</td>
<td width=”107align=”center“>
Length (Feet)
</td>
<td width=”97align=”center“>
Block size
</td>
<td width=”72align=”center“>
<input name=”button2type=”buttononclick=”clearform(this.form,2,6)value=”Clear“>
</td>
</tr>
<tr>
<td width=”107align=”center“>
<input type=”textname=”val1size=”7“>
</td>
<td width=”107align=”center“>
<input type=”textname=”val2size=”7“>
</td>
<td>
<input type=”radioname=”blocksizevalue=”8checked>
8 Inch <br>
<input type=”radioname=”blocksizevalue=”12“>
12 Inch
</td>
<td align=”center“>
<input name=”button2type=”buttononclick=”calcWall(this.form)value=”Calculate“>
</td>
</tr>
<tr>
<td colspan=”3“>
<span style=”text-align:right; display:block;“>Cubic Yards Required:</span>
</td>
<td align=”center“>
<input type=”textname=”val4size=”10“>
</td>
</tr>
</table>
</form>
<hr />
<h2>Post Holes, Columns</h2>
<ol>
<li>Enter the height and diameter of the post hole or column you’re making.</li>
<li>Click Calculate. You will then see the estimated number of cubic yards required.</li>
</ol>
<form>
<table width=”613class=”table table-bordered“>
<thead>
<tr>
<th colspan=”3align=”centerValign=”middle“>
Column
</th>
</tr>
</thead>
<tr>
<td width=”250align=”center“>
Height(Feet)
</td>
<td width=”230align=”center“>
Diameter (Inches)
</td>
<td width=”113align=”center“>
<input name=”button2type=”buttononclick=”clearform(this.form,2,4)value=”Clear“>
</td>
</tr>
<tr>
<td align=”center“>
<input type=”textname=”val1size=”7“>
</td>
<td align=”center“>
<input type=”textname=”val2size=”7“>
</td>
<td align=”center“>
<input name=”button2type=”buttononclick=”calcCol(this.form)value=”Calculate“>
</td>
</tr>
<tr>
<td colspan=”2” >
<span style=”text-align:right; display:block;“>Cubic Yards Required:</span>
</td>
<td align=”center“>
<input type=”textname=”val4size=”10“>
</td>
</tr>
</table>
</form>
</div>
<!– /.subContent –>
<div class=”sideBar“>

Service

Services