Compensating clutch for offset-compensating connection of two shafts, in particular for use in a drive train of a rail vehicle, having a first connecting flange for connection to a drive shaft, having at least one first elastic compensating element which is connected to the first connecting flange, having a second connecting flange for connection to a driven shaft, having at least one second elastic compensating element which is connected to the second connecting flange, and having a middle piece which is arranged between the first and the second elastic compensating element (3, 5), wherein the middle piece has at least one first middle-piece element and one second middle-piece element, which are separably connected to one another, and wherein, on the first middle-piece element and on the second middle-piece element, there are arranged in each case multiple force action points (9a, 9b, 9c, 9d, 9e, 9f) for connection to the in each case assigned elastic compensating element (3, 5), wherein a rib (16, 17, 18, 19, 20, 21, 22) with an axially extending height is arranged in each case between two adjacent force action points (9a, 9b, 9c, 9d, 9e, 9f), wherein the height of each rib (16, 17, 18, 19, 20, 21, 22) varies from a force action point (9a, 9b, 9c, 9d, 9e, 9f) to an adjacent force action point (9a, 9b, 9c, 9d, 9e, 9f), characterized in that the height of a rib (16, 17, 18, 19, 20, 21, 22) decreases from a force action point to a circumferentially adjacent force action point, and in that the height of an adjacent rib (16, 17, 18, 19, 20, 21, 22) increases again from the circumferentially adjacent force action point to the next force action point. having a first connecting flange for connection to a drive shaft, having at least one first elastic compensating element which is connected to the first connecting flange, having a second connecting flange for connection to a driven shaft, having at least one second elastic compensating element which is connected to the second connecting flange, and having a middle piece which is arranged between the first and the second elastic compensating element (3, 5), wherein the middle piece has at least one first middle-piece element and one second middle-piece element, which are separably connected to one another, and wherein, on the first middle-piece element and on the second middle-piece element, there are arranged in each case multiple force action points (9a, 9b, 9c, 9d, 9e, 9f) for connection to the in each case assigned elastic compensating element (3, 5), wherein a rib (16, 17, 18, 19, 20, 21, 22) with an axially extending height is arranged in each case between two adjacent force action points (9a, 9b, 9c, 9d, 9e, 9f), wherein the height of each rib (16, 17, 18, 19, 20, 21, 22) varies from a force action point (9a, 9b, 9c, 9d, 9e, 9f) to an adjacent force action point (9a, 9b, 9c, 9d, 9e, 9f), characterized in that the height of a rib (16, 17, 18, 19, 20, 21, 22) decreases from a force action point to a circumferentially adjacent force action point, and in that the height of an adjacent rib (16, 17, 18, 19, 20, 21, 22) increases again from the circumferentially adjacent force action point to the next force action point.