It should be possible to tweak the formula to be "spot on" at any enlarger height.

Things that probably aren't being taken into account are paper reciprocity, actual lens-to-print distance (not the hypotenuse of lens-to-print distance and chassis stalk angle), and the aforementioned contrast loss due to light scatter with increase in magnification factor.