How to calculate the Back-EMF energy on an Inductor?
The instantaneous energy stored in an inductor is

$$E = \frac{1}{2}L I^2$$

The energy stored in a capacitor is

$$E = \frac{1}{2}C V^2$$

You can see that there's a tradeoff between the capacitance value and the voltage required to store a particular amount of energy.