Hess's law and enthalpies of formation

Enthalpy is a state function, so a reaction's $\Delta H$ is the sum over products of their formation enthalpies minus the same sum over reactants, whatever route is taken.

From General Chemistry.