The invention relates to a method for distributing feed over multiple separate feeding locations (9a-9f), comprising: a) determining which feeding locations have a feed requirement; b) determining a priority for the feeding locations having a feed requirement, wherein a first feeding location has the highest priority; c) determining a feed composition and a first amount to be delivered to the first feeding location; d) determining a maximum filling amount of a feed delivery device (5); e) determining a remaining filling amount by subtracting the first amount from the maximum filling amount; f) determining which feeding locations have a feed requirement and require the same feed composition; g) apportioning at least a part of the remaining filling amount over one or more of the determined feeding locations; h) filling the feed delivery device,