Capacitor density calculation formula