Cohesive energy density (CED) of polymers and organic liquids may be calculated using group contribution method based on tabular data given in:
D. W. Van Krevelen and K. Te Nijenhuis, “Chapter 7: cohesive properties and solubility,” in Properties of Polymers: Their Correlation with Chemical Structure: Their Numerical Estimation and Prediction from Additive Group Contributions, Elsevier, Amsterdam, The Netherlands, 4th edition, 2009.
To calculate cohesive energy (in $\mathrm{J/mol}$) of some compound you have to know its chemical structure. Split this structure into groups which can be seen in tables and add together contributions from each group. To obtain CED (in $\mathrm{J/cm^3}$) you have to divide summation result by molar volume of this compound.
CED calculated in this way is not very accurate. However, it may be helpful for comparing CED of different compounds.