The correct statement describing the relationship when calculating the energy of a photon is:
The energy of the photon is directly proportional to frequency.
This relationship is described by the equation:
\[ E = h \cdot f \]
where \( E \) is the energy of the photon, \( h \) is Planck's constant, and \( f \) is the frequency of the photon. This indicates that as the frequency increases, the energy of the photon also increases.