Don't wake up earlier, walk further
2026-10-01
Every morning I try to grab a Lime bike for my commute, and lately there haven’t been any. My first instinct was that I needed to get up earlier. So I logged every Lime bike within 500 m of my home, minute by minute, for 2 weeks.
It turns out I was optimizing the wrong thing. Waking up earlier helps a little, and waiting for a bike to show up almost never works. What works is walking about 400 meters instead of 200.
The data
To understand when to wake up, I need data on the population of Lime bikes around my home in the morning. I started tracking this data Tuesday 22nd September and let it run for 2 weeks. The dataset is per minute in the hours from 7AM–10AM.
When should I wake up?
I originally decided that I only want to walk 200m for a bike. Plotting the numbers of bikes near my home, grouped by weekday:

Some observations:
- There is a steep drop off in available bikes from 7:30AM–8:00AM. That’s when everyone else leaves for work too.
- To be guaranteed a bike, I need to be out the door at 07:45, meaning I have to wake up at 06:45.
- Monday and Friday are extremely dry. My guess is that bikes get rebalanced away over the weekend and on Thursday nights.
- Mondays and Fridays, I have no chance.
I wake up and don’t see any bikes. How long do I wait for a new one?
I also want to consider another strategy, inspired by Erik Bernhardsson’s waiting-time math: you open the app, and see no bike within 200 m. How long until one shows up?
Erik is able to count all the periods without any bikes, since he has a dataset with observations around the clock. Since my scraper stops at 10AM, many of the periods without bikes are cut short at 10AM, leaving us clueless as to how long it took for a bike to show up again. This is called a censored event.
We would like to know how long we usually need to wait during a period with no bikes. Or in other words, if we see no bikes, how long until one appears? We can use Kaplan–Meier to answer this question, since we have censored events. If the scraper stops at 10 AM during a dry spell, I only know that the wait was at least that long.
where is the count of ongoing no-bike periods still waiting at step and is how many of them got a bike then. In plain terms: of all the dry spells still going after minutes, what fraction ended in the next minute?
Note: In my analysis, “no bikes” means 1 or 0 bikes. Usually if there is only a single bike left, it’s broken. Due to the low amount of bikes on Monday and Friday, I split the data into two cohorts.
We can plot this here:

We see that the probability of still having no bike decreases the more time we wait. But not by much. If I wake up on Tuesday–Thursday, and see no bikes, even after waiting 10 minutes, about 80% of the time there’s still no bike.
Given I have a 15 minute walk to work, waiting does not seem like a fruitful strategy. If we assume it takes 2.4 minutes to walk to the bike, 0.5 minutes to unlock, and 3 minutes to ride, I need a bike to show up within 9 minutes for it to be faster than walking.
It almost never does:
| Morning | Bike within 9 minutes | Median wait |
|---|---|---|
| Good mornings (Tue–Thu) | 18% | ~35 min |
| Bad mornings (Mon/Fri) | 6% | over an hour |
So the answer is: don’t wait. If there is no bike when I wake up, I should just start walking straight away, because waiting only pays off 18% of the time, even on good mornings.
How far should I walk to a bike?
To increase my chances, I can seek outside the initial self-imposed 200 meter radius. Walking to the bike costs time, but not much:
where is how far I walk to the bike, m/min is walking speed (5 km/h), min and min.
If you relax the 200 meter constraint, the chances get significantly better:

| Walk up to | Walk to bike | Time with no usable bike | Door-to-desk |
|---|---|---|---|
| 200 m | 2.4 min | 56% | 5.9 min |
| 300 m | 3.6 min | 45% | 7.1 min |
| 400 m | 4.8 min | 24% | 8.3 min |
| 500 m | 6.0 min | 18% | 9.5 min |
| walk to work | – | 0% | 15 min |
Within 200 meters more than half the morning has no usable bikes. But each extra 100 meters also costs about 1.2 minutes of walking, so there’s a trade-off. Based on the data, 400 meters looks to be the sweet spot.
What do the professionals do?
Kaplan–Meier only works during periods with no bikes. In the research on bike-share operations, demand at each location is modelled as a Poisson process whose rate changes through the day (Raviv & Kolka, 2013). This works because bikes arrive at bikes per minute and leave at per minute.
The model steps one minute at a time. In each minute, every parked bike is taken with probability , and a Poisson() number of new bikes arrive. Chaining those minutes gives a forecast for the rest of the morning from whatever I see in the app when I wake up at 7AM.
I fitted a model on all days, and below is an average of all days where I leave the day itself out:

The model somewhat accurately predicts the average case, but is not good at predicting the worst case scenario, no bikes within 200 meters. My guess is that bikes don’t arrive one at a time, since commuters leave in waves. A real morning is more variable. The model gets the average right, but in our case, I only walk if there are no bikes. It’s more important to me that the model gets the worst case correct, compared to the average.
Conclusion
Some learnings:
- I need to be out the door by 07:45 to get a bike within 200 meters of my house.
- If I wake up and see no bikes, I need to start walking immediately.
- Walking further drastically increases chances, while waiting does not.
It’s been some weeks since I collected this data, and it has changed my life. I now wake up earlier, and stick to a strict, fully-optimized, data-driven sleeping schedule.