An arrangement (12; 16) for feeding animals on a farm comprises an on-farmanalyzer device (13; 17) provided for measuring, e.g. at least on a dailybasis, the amount of a constituent of solid feed to be fed to said animals,and a feeding device (14; 18) provided for feeding said animals, wherein thefeeding depends on the result of said measurement, and the amount of theconstituent of solid feed is measured immediately prior to the feeding of saidanimals. By the arrangement, a proper solid feed mix with a balancedcomposition can be given to the animals.