There is no fixed formula to calculate the ratio, because it depends on the distance between parallel planes in the level, and a certain amount of artifacts is tolerable. We found that a ratio of 500..1000 normally works for most levels.
If in doubt, just don't change the clip values and leave them at their default setting.