The invention relates to a method for distributing feed over multiple separate feeding locations, comprising: a) determining which feeding locations have a feed requirement b) selecting a first feeding location among the feeding locations having a feed requirement c) determining a feed composition to be delivered to the first feeding location d) determining which further feeding locations have a feed requirement and require the same feed composition e) determining a maximum filling amount of the feed delivery device f) selecting at least one further feeding location until the required amount of feed exceeds the maximum filling amount with a surplus amount of feed g) filling the feed delivery device with the maximum filling amount h) distributing the feed in the feed delivery device, each selected feeding location receiving the respective required amount except the feeding location requiring the most which receives the respective required amount minus the surplus amount.