A measure of the disorder or randomness in a closed system, central to the second law of thermodynamics.