The Boltzmann equation, which relates the entropy of a system to the number of microstates available to it.