Answer
The groove depth $d$ must be sufficient to seat the ring securely while accounting for the corner radius ($r$) of the retained part. If the retained part has a large radius, it will contact the ring further out, creating a 'lever arm' that can twist the ring out of the groove (the 'dishing' effect). The effective groove depth $d_{eff} = d - (r imes 0.707)$ is often used as a conservative estimate. The minimum groove depth is typically 1/3 of the ring's radial wall width. For high-thrust applications, the groove depth is increased, but this must be balanced against the stress concentration factor $K_t$ introduced to the shaft, which is calculated as $K_t = f(d, r_{groove})$.