Nils Wallerius (Stora Mellösa 1 January 1706 – Funbo 16 August 1764) was a Swedish physicist, philosopher and theologian. He was one of the first scientists to study and document the characteristics of evaporation through modern scientific methods and also one of the first and most important followers of Christian Wolff in Sweden.
Nils Wallerius was born as the son of provost Erik Nilsson Wallerius of Stora Mellösa and his spouse Elisabeth Tranæa. He was a brother of chemist and mineralogist Johan Gottschalk Wallerius. He studied philosophy and physics at the University of Uppsala, where he in 1746 he became professor of logic and metaphysics. In 1755, he received a professorship in theology established by bishop Andreas Kalsenius. His praised studies in physics, especially in the field of evaporation, earned him a place as the 26th member of the Royal Swedish Academy of Sciences in 1739. Wallerius's research was mostly focused on if and how evaporation occurs in open or vacuumed environments. His experiments with evaporation in different environments ranged from observing the weight loss of an egg over an entire year or how long a cup of wine from the Rhine region evaporated, to large scale sealed copper tanks filled with various fluids observed over time. His results confirming that evaporation occurs in sealed environments still stand today and are important factors in various areas, but mainly industry.
Wallerius was also a religious man who, while influenced by the enlightened time he was living in, viewed many of his younger colleagues' liberal beliefs as a threat to religion. After a conflict with his senior mentor Samuel Klingenstierna, he left the physic faculty and instead became a professor in theology. During the 1750s he made a name for himself in the theological debate as a known devoted defender of his Wolffian beliefs. He spoke at least 5 languages fluently (Swedish, Latin, English, German, French) and had special permission to buy foreign literature deemed blasphemous by the Swedish church in order to study it. Wallerius actively participated in over 200 disputations both of his own works and by others where he often rhetorically attacked those who showed a too much enlightened view on science and theology. When Emanuel Swedenborg was asked after the death of Nils in 1764 what he thought the professor was doing in heaven he replied "He still goes about and holds disputations".