An agricultural implement, for working soil across which the agricultural implement travels or is towed, comprises a frame (10), a first depth maintaining unit (12a, 12b), comprising a first hydraulic actuator (13a) for adjusting the height of the first depth maintaining unit relative to the frame, a second depth maintaining unit (14), comprising a second hydraulic actuator (15a) for adjusting the height of the second depth maintaining unit relative to the frame, at least one soil working tool (16), and a hydraulic system (17) comprising the hydraulic actuators (13a, 15a), which is adapted to be connected to means (23) for supplying hydraulic fluid to the hydraulic system. A first side of the first hydraulic actuator (13a) communicates with a first side of the second hydraulic actuator (15a) and measuring means (18, 19) are arranged to provide a measured value corresponding to a first amount of hydraulic fluid occurring on said first sides.