Bartholomew Roberts
Moderator
In answer to the OP's question, much depends on bullet design; but on average 9mm will out penetrate .223 in ballistics gel. As others pointed out, at very high velocities, the bullet breaks up and the individual fragments shed energy rapidly. A heavier, slower moving bullet that stays together penetrates more.
Anyone who doubts this can check out: www.brassfetcher.com to see for themselves.
Anyone who doubts this can check out: www.brassfetcher.com to see for themselves.