PWM EMI capacitor - How to work out the value?

If EMI was an issue, what equation would I use to work out C?