In order to convert degrees Celsius to Kelvins you have to add 273.15 to degrees Celsius.
So with 40 °C we have: 40 + 273.15 = 313.15 K