Balancing Equations and States of Matter