Understanding the polymorphism exhibited by organic active-pharmaceutical ingredients (APIs), in particular the relationships between crystal structure and the thermodynamics of polymorph stability, is vital for the production of more stable drugs and better therapeutics, and for the economics of the pharmaceutical industry in general. In this article, we report a detailed study of the structure property relationships among the polymorphs of the model API, Sulfamerazine. Detailed experimental characterization using synchrotron radiation is complemented by computational modeling of the lattice dynamics and mechanical properties, in order to study the origin of differences in millability and to investigate the thermodynamics of the phase equilibria. Good agreement is observed between the simulated phonon spectra and mid-infrared and Raman spectra. The presence of slip planes, which are found to give rise to low-frequency lattice vibrations, explains the higher millability of Form I compared to Form II. Energy/volume curves for the three polymorphs, together with the temperature dependence of the thermodynamic free energy computed from the phonon frequencies, explains why Form II converts to Form I at high temperature, whereas Form III is a rare polymorph that is difficult to isolate. The combined experimental and theoretical approach employed here should be generally applicable to the study of other systems that exhibit polymorphism.