How to figure out penetration amount between two colliders?

The title pretty much says it all. I need to know how deep a collider has penetrated the other one. I’m pretty sure this information is calculated at some point (Physics.minPenetrationPenalty must use something like it) but I can’t figure out how to access it, or if it’s possible at all. Tnx in advance.

You could perhaps Raycast backwards along the normal of the contact point and see how deep the contact position is compared to the Raycast hit point. Haven’t tried myself though.