TBI Oil Price Converter Tool

This simple tool is designed to help calculate price
per metric ton pricing information for virgin
soybean oil (Canola or Sunflower) to a price per gallon value.
It assumes 7.5 pounds per gallon for virgin soybean oil.

Enter number of Metric Tons:

Enter enter price per MT: $

"" ) { $MT=2204.6; # pounds per metric ton $SVO=7.5; # pounds per gallon $nummt = strip_tags($_POST[nummt]); $price = strip_tags($_POST[price]); $ppp = number_format(($price / $MT),3); $ptot = number_format($price * $nummt,2); $gtot = number_format(round( ($MT / $SVO) * $nummt,1)); $ppg = number_format( ($price / $gtot) * $nummt,2); echo "
"; echo "Total Price for ".$nummt."MT is $". $ptot. "
"; echo "Price per gallon is $". $ppg. "
"; echo "Price per pound is $". $ppp. "
"; echo "Total Gallons is ". $gtot ." gals
"; echo "
"; } ?>