This textbook is an introduction to statistical physics, written primarily for self-study. It provides a comprehensive approach to the main ideas of statistical physics at a level of an introductory course, starting from the kinetic theory of gases and pr