Thermodynamics
If a mole of substance were at 0 K, then warmed by its surroundings to 298 K, its total molar entropy would be the addition of all N individual contributions:
Here, dqk/T represents a very small exchange of heat energy at temperature T. The total molar entropy is the sum of many small changes in molar entropy, where each small change can be considered a reversible process.
Read more about this topic: Standard Molar Entropy