The formula to calculate the Range (R) is:
\[ R = \frac{B}{P} \]
Where:
Let's say the battery capacity (B) is 500 Wh and the power consumption (P) is 20 W/mile. Using the formula:
\[ R = \frac{500}{20} \]
We get:
\[ R = 25 \text{ miles} \]
So, the range of the electric scooter is 25 miles.