Depends on how much saddle time a cyclist has.
I stop when other buddies want to stop. Fairly common is about 20 miles on fun recreational rides with friends.
Other times, if I am competing with my past times, I have done 100 miles with 10,000 ft of climbing 3 times at 10 minutes each over a period of 7:38 minutes (official time/ 7:10 ride time). And no, legs were fine after the ride, proper training.
But that is when I try to get somewhat serious.
On this ride.