Fuel mixture calculator