Injected
15+ Year Contributor
- 704
- 16
- Apr 29, 2004
-
Houston,
Texas
I was thinking about the DSM Quiz idea I had a while back so newbs could graduate beyond the rookie level We'll I wrote a script based on a spreadsheet I have been using for a while so I could easily send it to friends for them to use since some people have a fear of spreadsheets. Anyhow, I thought I would throw it out there for you guys to take a look at and see if it is something that you would be interested in for the site. Sections could help people with some questions they may have regarding power potential, tire size, etc. There are tons of sections that could be added such as 'Effective Weight of Rotating Mass,' 'ET potential from Power,' etc. Many of the variables are automatically loaded for those who may not know their intercooler pressure drop, and changeable for those who do.Latest Update: I have added several sections for conversions/calculations in displacement. There are now OVER 12 functions including the power estimator and compressor map tool as two separate functions.Here's what it looks like thus far, color is changeable.
<table border='1' bordercolor='black' bgcolor='white' width='600'><tr><td align='center'><b><font color="red"><a name="n">Navigation</a><tr><td align='center'>Use these links to navigate the calculators.</td></tr><tr><td ><a href="#1st">1. Compressor Map Tool / Horsepower Potential Estimator</a></td><tr><td><a href="#2">2. Intake Temperature Calculator</a></td></tr><tr><td ><a href="#3">3. Airflow Converter (lb/min to CFM)</a></td></tr><tr><td><a href="#4">4. Airflow Converter (CFM to lb/min)</a></td><tr><td ><a href="#5">5. Injector Size Calculator</a></td></tr><tr><td ><a href="#6">6. Power from Trap Speed Estimator</a></td></tr><tr><td ><a href="#7">7. 1/4 mile ET and Trap Speed from Power Estimator</a></td><tr><td ><a href="#8">8. Engine Displacement Calculator</a></td><tr><td ><a href="#9">9. Engine Displacement Converter (cc to ci)</a></td></tr><tr><td ><a href="#12">10. Engine Displacement Converter (ci to cc)</a></td></tr><tr><td ><a href="#11">11. Tire Diameter Calculator</a></td></tr><tr><td ><a href="#12">12. Rotational Mass Equivalency Calculator</a></td></tr></table><form name='f1'><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='3' ><b><font color='red'><center><a name="1st">Turbo Power Estimator and Compressor Map Tool</a></td></tr><tr><td colspan='3' >This calculator uses the amount of air and fuel flowed and calculates the amount of horsepower created by burning that air/fuel mixture.</td></tr><tr><td colspan='2' width="500"><center><font color='red'>Variable</b></center></td><td width="100"><center><font color='red'>Input</b></center></td><tr><td width='500' colspan='2'>Engine Displacement (cubic inches)</td><td width='100'><center><input type='text' size='6' name='displacement' value="122"></center></td><tr><td colspan='2' >Desired Boost (psi)</td><td align='center'><input type='text' size='6' name='boost' value="10"></td><tr><td colspan='2'>Desired Engine RPM (redline or shift point)</td><td align='center'><input type='text' size='6' name='RPM' value="6500"></td><tr><td colspan='2'>Intake Temperature (Post Intercooler if applicable; °F)</td><td align='center'><input type='text' name='temp' size='6' value="130"></td><tr><td colspan='2'>Intercooler Pressure Drop (psi)</td><td align='center'><input type='text' name='presdrop' size='6' value="1.5"></td><tr><td colspan='2'>Air Fuel Ratio</td><td align='center'><input type='text' name='tune' size='3' value="10.5"><font color='red'> :1</td><tr><td colspan='2'>Volumetric Efficiency (est. 90% for DOHC 4 valves per cylinder)</td><td align='center'><input type='text' name='VE' size='3' value="90"><font color='red'> %</td><tr><td colspan='2'>Brake Specific Fuel Consumption (BSFC)</td><td align='center'><input type='text' size='6' name='BSFC' value=".6"></td><tr><td colspan='2' align='center' width='500'><input type='button' value="Estimate Horsepower Potential" onClick="go()"></td><td align='center'><input type='text' size='6' name='power'></td><tr><td colspan='3'>Using the following two numbers given from the calculator above, you should be able to use a compressor map to select the turbo that best fits your desired power goals.</td><tr><td width='380'>Variables for Compressor Maps:</td><td width='120'><center>CMf: <input type='text' size='9' name='CMf'></td><td width='100'><center>Pr: <input type='text' size='6' name='Pr'></td></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2' align='center'><font color='red'><b><a name='2'>Intake Temperature Calculator</a></td></tr><tr><td colspan='2'>This calculator will calculate the intake temperature based on the compressor and intercooler.</td></tr><tr><td align='center' width='500'><font color='red'>Variable</td><td align='center'>Input</td><tr><td width='500'>Turbo Inlet Temperature (Consider inlet pipe and filter location)</td><td width='100'><input type='text' size='12' name='compintemp' value="100"></td><tr><td>Turbo Inlet Pressure (psi: filtered:~13.95; open:~14.7; -0.5psi/1000ft elev.)</td><td><input type='text' size='12' name='compinpress' value="14.5"></td><tr><td>Boost (psi)</td><td><input type='text' size='12' name='compoutpress' value="16"></td><tr><td>Compressor Efficiency (Map Pr and CMf on compressor map)</td><td><input type='text' size='12' name='compeff' value="70"></td><tr><td>Intercooler Efficiency (%)</td><td><input type='text' size='12' name='inceff' value="80"></td><tr><td>Intercooler Pressure Drop (psi)</td><td><input type='text' size='12' name='incpresdrop' value="1"></td><tr><td>Ambient Temperature (outside the engine bay °F)</td><td><input type='text' size='12' name='ambtemp' value="80"></td><tr><td align='center'><input type='button' value='Calculate Intake Temperature' onClick='go10()'></td><td align='center'>----------</td><tr><td>Intercooler Inlet Temperature</td><td><input type='text' size='12' name='incintemp'></td><tr><td>Intercooler Outlet/Intake Temperaturev</td><td><input type='text' size='12' name='intemp'></td></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2' align='center'><font color='red'><b><a name='3'>Airflow Convertor (lb/min to CFM)</a></td></tr><tr><td colspan='2'>This calculator will convert airflow rates from pounds per min to cubic feet per minute.</td></tr><tr><td align='center' width='500'><font color='red'>Variable<td align='center'>Input</td></tr><tr><td>Airflow (lb/min)<td align='center'><input type='text' size='12' name='lbmin11' value='22.17'></td></tr><tr><td align='center'><input type='button' value='Convert to CFM' onClick='go11()'><td align='center'><input type='text' size='12' name='cfm11'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2' align='center'><font color='red'><b><a name='4'>Airflow Convertor (CFM to lb/min)</a></td></tr><tr><td colspan='2'>This calculator will convert airflow rates from cubic feet per minute to pounds per minute.</td></tr><tr><td align='center' width='500'><font color='red'>Variable<td align='center'>Input</td></tr><tr><td>Airflow (lb/min)<td align='center'><input type='text' size='12' name='cfm12' value='293.25'></td></tr><tr><td align='center'><input type='button' value='Convert to CFM' onClick='go12()'><td align='center'><input type='text' size='12' name='lbmin12'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='3'><center><font color='red'><b><a name="5">Injector Size Calculator</a></td></tr><tr><td colspan='3'>This calculator will allow you to calculate the needed injector size for you to support a specified horsepower at the injector duty cycle.</td></tr><tr><td colspan='2'><center><font color='red'>Variable<td width='100'><center><font color='red'>Input<tr><td colspan='2'>Engine Horsepower<td><center><input type='text' name='power5' size='12' value='210'></td></tr><tr><td colspan='2'>Number of Injectors<td><center><select name='numbercylinders'> <option value="4">4 <option value="6">6 <option value="8">8 <option value="10">10 <option value="12">12 </select></td></tr><tr><td colspan='2'>BSFC<td><center><input type='text' name='BSFC5' size='12' value='.6'></td></tr><tr><td colspan='2'>Injector Duty Cycle<td><center><input type='text' name='IDC' size='12' value='.8'></td></tr><tr><td width='380'><center><input type='button' value='Calculate Injector Size' onClick="go5()"></td><td width='120'><center><input type='text' name='flow1' size='5'> Lb/Hr</td><td width='100' align='center'><input type='text' name='flow2' size='5'> cc/min</td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='3'><center><b><font color='red'><a name='6'>Estimate Power from 1/4 mile Trap Speed</a></td></tr><tr><td colspan='3'>This calculator uses a modified version of Force=Mass*Acceleration to calculate how much power it would take to make your car go a certain speed by the end of a quarter mile.</td></tr><tr><td colspan='2'><center><font color='red'>Variable</b></center></td><td><center><font color='red'>Input</b></center></td></tr><tr><td colspan='2'>Vehicle Weight (Including driver)</td><td align='center'><input type='text' size='12' name='weight' value='3300'></td></tr><tr><td colspan='2'>1/4 mile MPH</td><td align='center'><input type='text' size='12' name='trap' value='88' ></td></tr><tr><td colspan='3'>Select Drivetrain: <input type='radio' name='drivetype' value='20' checked>AWD<input type='radio' name='drivetype' value='12'>FWD</center></td></tr><tr><td><center><input type='button' value="Estimate Power from MPH" onClick="go2()"><td align='center'><input type='text' size='12' name='wheelpower2'></td><td align='center'><input type='text' size='12' name='power2'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='3'><center><b><font color='red'><a name='7'>Estimate ET and Trap Speed from Horsepower</a></td></tr><tr><td colspan='3'>This calculator uses a modified version of Force=Mass*Acceleration to calculate how fast a car with the given power and weight would take to lay waste to a quarter mile.</td></tr><tr><td colspan='2'><center><font color='red'>Variable</b></center></td><td><center><font color='red'>Input</b></center></td></tr><tr><td colspan='2'>Vehicle Weight (Including driver)</td><td align='center'><input type='text' size='12' name='weight3' value='3300'></td></tr><tr><td colspan='2'>Wheel Horsepower<td align='center'><input type='text' size='12' name='power3' value='175.51'></td></tr><tr><td><center><input type='button' value="Estimate 1/4 mile from Power" onClick="go6()"></td><td align='center'><input type='text' size='12' name='ET'><b> @</td><td align='center'><input type='text' size='12' name='trap2'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2'><center><font color='red'><b><a name='8'>Engine Displacement Calculator</a></td></tr><tr><td colspan='2'>This calculator will determine the displacement in cc's of an engine based on the bore, stroke, and number of cylinders.</td></tr><tr><td width='500'><center><font color='red'>Variable<td><center><font color='red'>Input</td></tr><tr><td>Bore (mm)<td><center><input type='text' name='bore' value='85' size='12'></center></td></tr><tr><td>Stroke (mm)<td align='center'><input type='text' name='stroke' value='88' size='12'></td></tr><tr><td>Number of Cylinders<td><center><select name='NOC'> <option value="4">4 <option value="6">6 <option value="8">8 <option value="10">10 <option value="12">12 </select></td></tr><tr><td align='center'><input type='button' value='Calculate Displacement (cc)' onClick='go7()'><td align='center'><input type='text' name='displacement1' size='12'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2'><center><font color='red'><b><a name='9'>Engine Displacement Converter (cc to ci)</a></td></tr><tr><td colspan='2'>This calculator will convert cubic centimeters to cubic inches.</td></tr><tr><td width="500"><center><font color='red'>Variable<td><center><font color='red'>Input</td></tr><tr><td>Displacement (cc)<td align='center'><input type='text' name='displacement8' value='1997.42' size='12'></td></tr><tr><td align='center'><input type='button' value='Convert to Cubic Inches' onClick='go8()'></td><td align='center'><input type='text' name='convert1' size='12'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2'><center><font color='red'><b><a name=10>Engine Displacement Converter (ci to cc)</a></td></tr><tr><td colspan='2'>This calculator will convert cubic inches to cubic centimeters.</td></tr><tr><td width='500'><center><font color='red'>Variable<td><center><font color='red'>Input</td></tr><tr><td>Displacement (ci)<td align='center'><input type='text' name='displacement9' value='121.88' size='12'><tr><td align='center'><input type='button' value='Convert to Cubic Centemeters' onClick='go9()'></td><td align='center'><input type='text' name='convert2' size='12'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2'><center><b><font color='red'><a name="11">Tire Diameter Calculator</a></td></tr><tr><td colspan='2'>A tire with a larger diameter will make your speedometer read slower than you are going and a tire with a smaller diameter will make your speedometer read faster than you are going. In addition, a tire with a larger diameter will take more power to rotate.</td></tr><tr><td><center><font color='red'>Variable</b></center></td><td><center><font color='red'>Input</b></center></td></tr><tr><td>Tire size example: 215/55/17<td><center><input type='text' size='1' name="tirewidth" textalign='center' maxlength='3' value='215'><input type='text' size='1' maxlength='2' name='aspectratio' value='50'><input type='text' size='1' maxlength='2' name='wheelsize' value='17'></td></tr><tr><td><center><input type='button' value='Calculate Tire Diameter' onClick=go3()><td><center><input type='text' size='12' name='diam'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='3'><center><b><font color='red'><a name='12'>Equivalent Mass of a Rotating Object Calculator</a></td></tr><tr><td colspan='3'>This calculator will calculate the affect of taking weight off the engines rotating assembly as multiplied through the gears. This includes flywheels, pulleys, etc. prior to the transmission.</td></tr><tr><td colspan='2' width='500'><center><font color='red'>Variable</b></center></td><td width='100'><center><font color='red'>Input</b></center></td></tr><tr><td colspan='2'>Change in rotating mass<td><center><input type='text'name='mass' size='12' value='10'></td></tr><tr><td colspan='2'>Diameter of rotating object<td><center><input type='text'name='radius' size='12' value='5.5'></td></tr><tr><td width='300'>Weight equivalency in first:</td><td align='right' width='200'>First Gear <input type='text' size='3' name='first' value='3.083'> :1</td><td><center><input type='text' size='12' name='firstout'></td></tr><tr><td>Weight equivalency in second:</td><td align='right'>Second Gear <input type='text' size='3' name='second' value='1.684'> :1</td><td><center><input type='text' size='12' name='secondout'></td></tr><tr><td>Weight equivalency in third:</td><td align='right'>Third Gear <input type='text' size='3' name='third' value='1.115'> :1</td><td><center><input type='text' size='12' name='thirdout'></td></tr><tr><td>Weight equivalency in fourth:</td><td align='right'>Fourth Gear <input type='text' size='3' name='fourth' value='.833'> :1</td><td><center><input type='text' size='12' name='fourthout'></td></tr><tr><td>Weight equivalency in fifth:</td><td align='right'>Fifth Gear <input type='text' size='3' name='fifth' value='.666'> :1</td><td><center><input type='text' size='12' name='fifthout'></td></tr><tr><td>Final Drive ratio</td><td align='right'>Final Drive <input type='text' size='3' name='final' value='4.848'> :1</td><td><center>----------</td></tr><tr><td>Tire Diameter (Use calculator if needed)</td><td align='right'><input type='text' size='5' name='tirediam2' value='25.46'> inches </td><td><center>----------<tr><td colspan='2'><center><input type='button' value='Calculate Mass Equivelence' onclick='go4()'></td><td><center>----------</td></tr></table>
As for the script, well you can download it in the .doc file found later on in the thread, paste the text into notepad, save as .html and play with the fully functioning version.
<table border='1' bordercolor='black' bgcolor='white' width='600'><tr><td align='center'><b><font color="red"><a name="n">Navigation</a><tr><td align='center'>Use these links to navigate the calculators.</td></tr><tr><td ><a href="#1st">1. Compressor Map Tool / Horsepower Potential Estimator</a></td><tr><td><a href="#2">2. Intake Temperature Calculator</a></td></tr><tr><td ><a href="#3">3. Airflow Converter (lb/min to CFM)</a></td></tr><tr><td><a href="#4">4. Airflow Converter (CFM to lb/min)</a></td><tr><td ><a href="#5">5. Injector Size Calculator</a></td></tr><tr><td ><a href="#6">6. Power from Trap Speed Estimator</a></td></tr><tr><td ><a href="#7">7. 1/4 mile ET and Trap Speed from Power Estimator</a></td><tr><td ><a href="#8">8. Engine Displacement Calculator</a></td><tr><td ><a href="#9">9. Engine Displacement Converter (cc to ci)</a></td></tr><tr><td ><a href="#12">10. Engine Displacement Converter (ci to cc)</a></td></tr><tr><td ><a href="#11">11. Tire Diameter Calculator</a></td></tr><tr><td ><a href="#12">12. Rotational Mass Equivalency Calculator</a></td></tr></table><form name='f1'><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='3' ><b><font color='red'><center><a name="1st">Turbo Power Estimator and Compressor Map Tool</a></td></tr><tr><td colspan='3' >This calculator uses the amount of air and fuel flowed and calculates the amount of horsepower created by burning that air/fuel mixture.</td></tr><tr><td colspan='2' width="500"><center><font color='red'>Variable</b></center></td><td width="100"><center><font color='red'>Input</b></center></td><tr><td width='500' colspan='2'>Engine Displacement (cubic inches)</td><td width='100'><center><input type='text' size='6' name='displacement' value="122"></center></td><tr><td colspan='2' >Desired Boost (psi)</td><td align='center'><input type='text' size='6' name='boost' value="10"></td><tr><td colspan='2'>Desired Engine RPM (redline or shift point)</td><td align='center'><input type='text' size='6' name='RPM' value="6500"></td><tr><td colspan='2'>Intake Temperature (Post Intercooler if applicable; °F)</td><td align='center'><input type='text' name='temp' size='6' value="130"></td><tr><td colspan='2'>Intercooler Pressure Drop (psi)</td><td align='center'><input type='text' name='presdrop' size='6' value="1.5"></td><tr><td colspan='2'>Air Fuel Ratio</td><td align='center'><input type='text' name='tune' size='3' value="10.5"><font color='red'> :1</td><tr><td colspan='2'>Volumetric Efficiency (est. 90% for DOHC 4 valves per cylinder)</td><td align='center'><input type='text' name='VE' size='3' value="90"><font color='red'> %</td><tr><td colspan='2'>Brake Specific Fuel Consumption (BSFC)</td><td align='center'><input type='text' size='6' name='BSFC' value=".6"></td><tr><td colspan='2' align='center' width='500'><input type='button' value="Estimate Horsepower Potential" onClick="go()"></td><td align='center'><input type='text' size='6' name='power'></td><tr><td colspan='3'>Using the following two numbers given from the calculator above, you should be able to use a compressor map to select the turbo that best fits your desired power goals.</td><tr><td width='380'>Variables for Compressor Maps:</td><td width='120'><center>CMf: <input type='text' size='9' name='CMf'></td><td width='100'><center>Pr: <input type='text' size='6' name='Pr'></td></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2' align='center'><font color='red'><b><a name='2'>Intake Temperature Calculator</a></td></tr><tr><td colspan='2'>This calculator will calculate the intake temperature based on the compressor and intercooler.</td></tr><tr><td align='center' width='500'><font color='red'>Variable</td><td align='center'>Input</td><tr><td width='500'>Turbo Inlet Temperature (Consider inlet pipe and filter location)</td><td width='100'><input type='text' size='12' name='compintemp' value="100"></td><tr><td>Turbo Inlet Pressure (psi: filtered:~13.95; open:~14.7; -0.5psi/1000ft elev.)</td><td><input type='text' size='12' name='compinpress' value="14.5"></td><tr><td>Boost (psi)</td><td><input type='text' size='12' name='compoutpress' value="16"></td><tr><td>Compressor Efficiency (Map Pr and CMf on compressor map)</td><td><input type='text' size='12' name='compeff' value="70"></td><tr><td>Intercooler Efficiency (%)</td><td><input type='text' size='12' name='inceff' value="80"></td><tr><td>Intercooler Pressure Drop (psi)</td><td><input type='text' size='12' name='incpresdrop' value="1"></td><tr><td>Ambient Temperature (outside the engine bay °F)</td><td><input type='text' size='12' name='ambtemp' value="80"></td><tr><td align='center'><input type='button' value='Calculate Intake Temperature' onClick='go10()'></td><td align='center'>----------</td><tr><td>Intercooler Inlet Temperature</td><td><input type='text' size='12' name='incintemp'></td><tr><td>Intercooler Outlet/Intake Temperaturev</td><td><input type='text' size='12' name='intemp'></td></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2' align='center'><font color='red'><b><a name='3'>Airflow Convertor (lb/min to CFM)</a></td></tr><tr><td colspan='2'>This calculator will convert airflow rates from pounds per min to cubic feet per minute.</td></tr><tr><td align='center' width='500'><font color='red'>Variable<td align='center'>Input</td></tr><tr><td>Airflow (lb/min)<td align='center'><input type='text' size='12' name='lbmin11' value='22.17'></td></tr><tr><td align='center'><input type='button' value='Convert to CFM' onClick='go11()'><td align='center'><input type='text' size='12' name='cfm11'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2' align='center'><font color='red'><b><a name='4'>Airflow Convertor (CFM to lb/min)</a></td></tr><tr><td colspan='2'>This calculator will convert airflow rates from cubic feet per minute to pounds per minute.</td></tr><tr><td align='center' width='500'><font color='red'>Variable<td align='center'>Input</td></tr><tr><td>Airflow (lb/min)<td align='center'><input type='text' size='12' name='cfm12' value='293.25'></td></tr><tr><td align='center'><input type='button' value='Convert to CFM' onClick='go12()'><td align='center'><input type='text' size='12' name='lbmin12'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='3'><center><font color='red'><b><a name="5">Injector Size Calculator</a></td></tr><tr><td colspan='3'>This calculator will allow you to calculate the needed injector size for you to support a specified horsepower at the injector duty cycle.</td></tr><tr><td colspan='2'><center><font color='red'>Variable<td width='100'><center><font color='red'>Input<tr><td colspan='2'>Engine Horsepower<td><center><input type='text' name='power5' size='12' value='210'></td></tr><tr><td colspan='2'>Number of Injectors<td><center><select name='numbercylinders'> <option value="4">4 <option value="6">6 <option value="8">8 <option value="10">10 <option value="12">12 </select></td></tr><tr><td colspan='2'>BSFC<td><center><input type='text' name='BSFC5' size='12' value='.6'></td></tr><tr><td colspan='2'>Injector Duty Cycle<td><center><input type='text' name='IDC' size='12' value='.8'></td></tr><tr><td width='380'><center><input type='button' value='Calculate Injector Size' onClick="go5()"></td><td width='120'><center><input type='text' name='flow1' size='5'> Lb/Hr</td><td width='100' align='center'><input type='text' name='flow2' size='5'> cc/min</td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='3'><center><b><font color='red'><a name='6'>Estimate Power from 1/4 mile Trap Speed</a></td></tr><tr><td colspan='3'>This calculator uses a modified version of Force=Mass*Acceleration to calculate how much power it would take to make your car go a certain speed by the end of a quarter mile.</td></tr><tr><td colspan='2'><center><font color='red'>Variable</b></center></td><td><center><font color='red'>Input</b></center></td></tr><tr><td colspan='2'>Vehicle Weight (Including driver)</td><td align='center'><input type='text' size='12' name='weight' value='3300'></td></tr><tr><td colspan='2'>1/4 mile MPH</td><td align='center'><input type='text' size='12' name='trap' value='88' ></td></tr><tr><td colspan='3'>Select Drivetrain: <input type='radio' name='drivetype' value='20' checked>AWD<input type='radio' name='drivetype' value='12'>FWD</center></td></tr><tr><td><center><input type='button' value="Estimate Power from MPH" onClick="go2()"><td align='center'><input type='text' size='12' name='wheelpower2'></td><td align='center'><input type='text' size='12' name='power2'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='3'><center><b><font color='red'><a name='7'>Estimate ET and Trap Speed from Horsepower</a></td></tr><tr><td colspan='3'>This calculator uses a modified version of Force=Mass*Acceleration to calculate how fast a car with the given power and weight would take to lay waste to a quarter mile.</td></tr><tr><td colspan='2'><center><font color='red'>Variable</b></center></td><td><center><font color='red'>Input</b></center></td></tr><tr><td colspan='2'>Vehicle Weight (Including driver)</td><td align='center'><input type='text' size='12' name='weight3' value='3300'></td></tr><tr><td colspan='2'>Wheel Horsepower<td align='center'><input type='text' size='12' name='power3' value='175.51'></td></tr><tr><td><center><input type='button' value="Estimate 1/4 mile from Power" onClick="go6()"></td><td align='center'><input type='text' size='12' name='ET'><b> @</td><td align='center'><input type='text' size='12' name='trap2'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2'><center><font color='red'><b><a name='8'>Engine Displacement Calculator</a></td></tr><tr><td colspan='2'>This calculator will determine the displacement in cc's of an engine based on the bore, stroke, and number of cylinders.</td></tr><tr><td width='500'><center><font color='red'>Variable<td><center><font color='red'>Input</td></tr><tr><td>Bore (mm)<td><center><input type='text' name='bore' value='85' size='12'></center></td></tr><tr><td>Stroke (mm)<td align='center'><input type='text' name='stroke' value='88' size='12'></td></tr><tr><td>Number of Cylinders<td><center><select name='NOC'> <option value="4">4 <option value="6">6 <option value="8">8 <option value="10">10 <option value="12">12 </select></td></tr><tr><td align='center'><input type='button' value='Calculate Displacement (cc)' onClick='go7()'><td align='center'><input type='text' name='displacement1' size='12'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2'><center><font color='red'><b><a name='9'>Engine Displacement Converter (cc to ci)</a></td></tr><tr><td colspan='2'>This calculator will convert cubic centimeters to cubic inches.</td></tr><tr><td width="500"><center><font color='red'>Variable<td><center><font color='red'>Input</td></tr><tr><td>Displacement (cc)<td align='center'><input type='text' name='displacement8' value='1997.42' size='12'></td></tr><tr><td align='center'><input type='button' value='Convert to Cubic Inches' onClick='go8()'></td><td align='center'><input type='text' name='convert1' size='12'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2'><center><font color='red'><b><a name=10>Engine Displacement Converter (ci to cc)</a></td></tr><tr><td colspan='2'>This calculator will convert cubic inches to cubic centimeters.</td></tr><tr><td width='500'><center><font color='red'>Variable<td><center><font color='red'>Input</td></tr><tr><td>Displacement (ci)<td align='center'><input type='text' name='displacement9' value='121.88' size='12'><tr><td align='center'><input type='button' value='Convert to Cubic Centemeters' onClick='go9()'></td><td align='center'><input type='text' name='convert2' size='12'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='2'><center><b><font color='red'><a name="11">Tire Diameter Calculator</a></td></tr><tr><td colspan='2'>A tire with a larger diameter will make your speedometer read slower than you are going and a tire with a smaller diameter will make your speedometer read faster than you are going. In addition, a tire with a larger diameter will take more power to rotate.</td></tr><tr><td><center><font color='red'>Variable</b></center></td><td><center><font color='red'>Input</b></center></td></tr><tr><td>Tire size example: 215/55/17<td><center><input type='text' size='1' name="tirewidth" textalign='center' maxlength='3' value='215'><input type='text' size='1' maxlength='2' name='aspectratio' value='50'><input type='text' size='1' maxlength='2' name='wheelsize' value='17'></td></tr><tr><td><center><input type='button' value='Calculate Tire Diameter' onClick=go3()><td><center><input type='text' size='12' name='diam'></td></tr></table><a href="#n">Back to Navigation</a><br>
<table border='1' bordercolor='black' text='black' bgcolor='white' width='600'><tr><td colspan='3'><center><b><font color='red'><a name='12'>Equivalent Mass of a Rotating Object Calculator</a></td></tr><tr><td colspan='3'>This calculator will calculate the affect of taking weight off the engines rotating assembly as multiplied through the gears. This includes flywheels, pulleys, etc. prior to the transmission.</td></tr><tr><td colspan='2' width='500'><center><font color='red'>Variable</b></center></td><td width='100'><center><font color='red'>Input</b></center></td></tr><tr><td colspan='2'>Change in rotating mass<td><center><input type='text'name='mass' size='12' value='10'></td></tr><tr><td colspan='2'>Diameter of rotating object<td><center><input type='text'name='radius' size='12' value='5.5'></td></tr><tr><td width='300'>Weight equivalency in first:</td><td align='right' width='200'>First Gear <input type='text' size='3' name='first' value='3.083'> :1</td><td><center><input type='text' size='12' name='firstout'></td></tr><tr><td>Weight equivalency in second:</td><td align='right'>Second Gear <input type='text' size='3' name='second' value='1.684'> :1</td><td><center><input type='text' size='12' name='secondout'></td></tr><tr><td>Weight equivalency in third:</td><td align='right'>Third Gear <input type='text' size='3' name='third' value='1.115'> :1</td><td><center><input type='text' size='12' name='thirdout'></td></tr><tr><td>Weight equivalency in fourth:</td><td align='right'>Fourth Gear <input type='text' size='3' name='fourth' value='.833'> :1</td><td><center><input type='text' size='12' name='fourthout'></td></tr><tr><td>Weight equivalency in fifth:</td><td align='right'>Fifth Gear <input type='text' size='3' name='fifth' value='.666'> :1</td><td><center><input type='text' size='12' name='fifthout'></td></tr><tr><td>Final Drive ratio</td><td align='right'>Final Drive <input type='text' size='3' name='final' value='4.848'> :1</td><td><center>----------</td></tr><tr><td>Tire Diameter (Use calculator if needed)</td><td align='right'><input type='text' size='5' name='tirediam2' value='25.46'> inches </td><td><center>----------<tr><td colspan='2'><center><input type='button' value='Calculate Mass Equivelence' onclick='go4()'></td><td><center>----------</td></tr></table>
As for the script, well you can download it in the .doc file found later on in the thread, paste the text into notepad, save as .html and play with the fully functioning version.
but that IS what the calculator does, calculates the flow of the system (read Corrected Mass Flow a.k.a. CMf)
The HP calculator using ET trap is pretty far off, it shouldn't take 650 hp to get a average weight 2g GSX to 125 mph at the end of the 1/4. 
, but I won't right now.