The tanks are so big that very long distances can be flown. But if the plane would be fully occupied and fully fueled, the maximum take-off weight would be exceeded. In such a case, you have to weigh how much fuel is needed and how many passengers can be transported.