spicap from avx and kspice from kemet give you the impedance plot of ur cap. from that u can calculate the lumped model (C+ESL+ESR) of the cap. but note that ESR is frequency dependent component and if u want take the peak ESR.
to calculate the distributed model of a cap u can use the paper by larry smith
available at