Overall Gear Ratio Calculator

[insert_php]
//===============================================
//–Manual Transmission Overall Gear Ratio————————————–
//Manual Transmission Overall Gear Ratio = (tire diameter x rpm) / (340* mph)
if($_POST[‘a’] == “mtogr”)
{
$mtogr_tire_diameter = $_POST[‘mtogr_tire_diameter’];
$mtogr_rpm = $_POST[‘mtogr_rpm’];
$mtogr_mph = $_POST[‘mtogr_mph’];
$mtogr_errors = 0;
if($_POST[‘mtogr_tire_diameter’] == “”) {$mtogr_errors++;}
else { if(!is_numeric($_POST[‘mtogr_tire_diameter’])) {$mtogr_errors++;} }

if($_POST[‘mtogr_rpm’] == “”) {$mtogr_errors++;}
else { if(!is_numeric($_POST[‘mtogr_rpm’])) {$mtogr_errors++;} }

if($_POST[‘mtogr_mph’] == “”) {$mtogr_errors++;}
else { if(!is_numeric($_POST[‘mtogr_mph’])) {$mtogr_errors++;} }

if($mtogr_errors != 0) {$mtogr_error_msg = “Please enter proper values!”;}
else
{
$total_mtogr = ($_POST[‘mtogr_tire_diameter’] * $_POST[‘mtogr_rpm’]) / (340 * $_POST[‘mtogr_mph’]);
$view_total_mtogr = ”   RPM After Shift = “.$total_mtogr;
}
}
//–Automatic Transmission Overall Gear Ratio————————————–
//Automatic Transmission Overall Gear Ratio = (tire diameter x rpm / 335)* mph
if($_POST[‘a’] == “atogr”)
{
$atogr_tire_diameter = $_POST[‘atogr_tire_diameter’];
$atogr_rpm = $_POST[‘atogr_rpm’];
$atogr_mph = $_POST[‘atogr_mph’];
$atogr_errors = 0;
if($_POST[‘atogr_tire_diameter’] == “”) {$atogr_errors++;}
else { if(!is_numeric($_POST[‘atogr_tire_diameter’])) {$atogr_errors++;} }

if($_POST[‘atogr_rpm’] == “”) {$atogr_errors++;}
else { if(!is_numeric($_POST[‘atogr_rpm’])) {$atogr_errors++;} }

if($_POST[‘atogr_mph’] == “”) {$atogr_errors++;}
else { if(!is_numeric($_POST[‘atogr_mph’])) {$atogr_errors++;} }

if($atogr_errors != 0) {$atogr_error_msg = “Please enter proper values!”;}
else
{
$total_atogr = ($_POST[‘atogr_tire_diameter’] * $_POST[‘atogr_rpm’]) / (335 * $_POST[‘atogr_mph’]);
$view_total_atogr = ”   RPM After Shift = “.$total_atogr;
}
}
//===============================================
$content = ‘



Manual Transmission Overall Gear Ratio
$mtogr_error_msg
Tire Diameter:
RPM:
MPH:
$view_total_mtogr



Automatic Transmission Overall Gear Ratio
$atogr_error_msg
Tire Diameter:
RPM:
MPH:
$view_total_atogr

 

‘;

$content = addslashes($content);
$content = “\$result=\””.$content.”\”;”;
eval($content);
print stripslashes($result);
[/insert_php]

How to Guides

View All >
The 10 Best Values in the 2024 Ford Truck & SUV Lineup
Slideshow: We pick the best values in the 2024 Ford truck & SUV lineup.
Read It
Four Ford Trucks Take Home ‘Best Value’ Awards for 2024
Slideshow: Based on a cost of ownership analysis.
Read It
1961 Ford F-100 Was Rescued From Scrapyard, Turned Into Awesome Restomod
Slideshow: Facing certain death, this old Ford truck has found a new life as a valuable restomod!
Read It
10 People Who Made the Ford Motor Company What It Is Today
Slideshow: Ten people who shaped the modern Ford Motor Company.
Read It

All times are GMT -5. The time now is 09:41 PM.