It's just mass * gravity * height.
So, for instance, 1000 kg with a working height differential of 1000 meters can store a theoretical maximum of 2.72 kilowatt hours (9.8 million joules).
So, for instance, 1000 kg with a working height differential of 1000 meters can store a theoretical maximum of 2.72 kilowatt hours (9.8 million joules).
By way of comparison, a thousand dollars of lead acid batteries would have more capacity (and despite the issues with lead, such batteries are quite recyclable...).