As a rough guide, an urban e-bike uses about 7–15 Wh per kilometre. The figure depends on rider weight, terrain, and how often you use the throttle. Multiply average consumption by the distance you need to cover and add a 20% reserve.
For example, a 25 km ride at 10 Wh/km calls for at least 300 Wh. If you use turbo mode and ride in a hilly area, consider 500–600 Wh. The bike will be heavier, but the larger pack will discharge more gradually.