William John Macquorn Rankine FRSE FRS (/ˈræŋkɪn/; 5 July 1820 – 24 December 1872) was a Scottish mathematician and physicist. He was a founding contributor, with Rudolf Clausius and William Thomson (Lord Kelvin), to the science of thermodynamics, particularly focusing on its First Law. He developed the Rankine scale, a Fahrenheit-based equivalent to the Celsius-based Kelvin scale of temperature.
Rankine developed a complete theory of the steam engine and indeed of all heat engines. His manuals of engineering science and practice were used for many decades after their publication in the 1850s and 1860s. He published several hundred papers and notes on science and engineering topics, from 1840 onwards, and his interests were extremely varied, including, in his youth, botany, music theory and number theory, and, in his mature years, most major branches of science, mathematics and engineering.
He was also a singer, pianist and cellist as well as a rifleman.