Personally I feel like it should be based on the time to fulfill the order primarily if you have a good idea how long it took. For example, I used to order from a place that did bike delivery from less than five minutes away and I feel like obviously that was much more convenient than someone who has to drive 30 minutes to reach me and then go back to the restaurant.