A lot of factors may affect the miles of range, such as whether you are riding commute or off-road, your weight, going uphill or slope.
Riding on lower levels of pedal assist will maximize your battery's range.
Riding on higher levels of pedal assist and aggressively using the throttle will drain your battery much more quicker.