Frankly, it depends on your mileage.
From what I've seen, the light goes on once you have ~2 gallons or less (I don't know the exact number) in the tank. So, for me, at 18 mpg, that would mean I could travel a maximum of 36 miles before the truck started running on fumes.