Modern optics are more complex than what assumed by these simple equations (for the case of a 'thin' lens). They at best give ballpark figures.
It is best to to try with a ruler what kind of magnification you get. Such tests will also show to what extent the increased field of curvature, commonly emerging by adding extension, causes of issues including more chromatic aberrations.
Never fall prey to the widely circulating myth that extension "has no glass hence will not influence image quality". This is entire wrong, simply because the added extension pushes the conjugate distances out of their design range into uncharted terrain as it were. Lowered image contrast, loss of sharpness, more field curvature, spherical and chromatic aberrations, are the usual responses even of high-end lenses. Some do behave better than the pack and in general, the better lens one starts with, the better output will result.