It is shown that a finite group G has four relative commutativity degrees if and only if G/Z(G) is a p-group of order p3 and G has no abelian maximal subgroups, or G/Z(G) is a Frobenius group with Frobenius kernel and complement isomorphic to Zp * Zp and Zq, respectively, and the Sylow p-subgroup of G is abelian, where p and q are distinct primes.