Here's where things can get really confusing for the new guy. Lithium batteries cannot be completely discharged without ruining them instantly. So when we talk about a 100% discharge, we mean discharging to the point where we can be relatively sure we didn't just kill em. 2.5v for lifepo4 for example. A battery like a ping will have a bms, that prevents us from overdischarging, and it may even be set higher. So for that particular battery, it may stop sooner. However, when we talk about a 100% discharge on a ping, we usually mean riding till the bms shuts the battery down.
Pingbatteries, and many others seem to stay balanced better when we discharge them even less. So you see 80% depth of discharge (DOD) talked about a lot. So a 24v 10 ah ping at 80% dod would be taking 8 ah out of it. Pings and other typical lifepo4 packs have a lower c rate. This means a 10 ah ping needs to be used on a bike with a controller with about 15 amps or less idealy. For this reason, I nearly never recomend using a pingbattery smaller than 15 ah. A 15 ah pack will supply 20 amps no problem, and can supply a 30 amp burst for starting the bike uphill.
My rule of thumb for 25 mph travel using 36v batteries is 1 ah per mile. This rule of thumb includes a bit of reserve, so 1 ah per mile is a good number for that speed and voltage. You will use 24v and a slower speed, so it may even out pretty close to the 36v rule of thumb.
For sure though, traveling at about 20 mph is going to average out at about 350 watts minimum. The slower you go the better the distance, and the more percentage the pedaling contributes. Pedaling = 100 watts or less for most of us.
Back to the battery, if you do choose a ping, you should consider at least 20 ah, simply for the range. 24v 20 ah is only going to weigh about 10-11 pounds and fit in a bag or frame mount easily. You'll be glad you bought more because a 20 mile range bike is so much more usefull than one where you always have to fret whether you can make it home. In fact, buy a 30 ah if you can afford it. it will still only weigh about 15-16 pounds.