It doesn't really work that way. A capacitor of the same capacitance but with a 40% higher voltage rating may well be more than twice the size mechanically. No matter how you do it, you have to hunt around for the capacitor with the most energy per unit volume for your application.