An arrangement (12; 16) for feeding animals on a farm comprises an on-farm analyzer device (13; 17) provided for analyzing mixed feed and determine various constituents or ingredients in the mixed feed, wherein the arrangement for feeding animals is provided for basing its feeding on the result of such analysis.