A simple formula could guide the design of faster-charging, longer-lasting batteries