Formula for common energy storage