It takes 5 mi (approx. 8km) of traveling to fill one distance bar.
If you entered boost mode using "Accelerator," it takes about 2.5 mi (approx 4km) of traveling to fill one bar.
Just so you know, the distance traveled may not match the increase in the bars due to how location data is being measured.