An agricultural machine for dispensing material to be distributed, which agricultural machine comprises at least one metering element having a metering roller for metering the material to be distributed mounted in a metering housing and is rotatably driven. The metering roller has a plurality of metering wheel segments, each metering wheel segment of the metering roller is assigned a separate drive to drive the metering wheel segments independently of each other to ensure exact metering of the material to be distributed within finely subdivided partial widths of the agricultural machine. The drives of the metering wheel segments of the metering roller are arranged in the interior thereof, for example within a tubular hollow body, on which the metering wheel segments are mounted, such that the drives are ideally accommodated with protection from external influences and in a space-saving manner.