the maths isnt that complicated on the face of it, of course the sort of maths im talking about takes no account of heat loss inefficiency etc google for better info than me ..
20ah, 52v battery...
volts x amps = watts, so if you know your average wattage and howl long it takes to travel X...