It's no secret, if it was I wouldn't have posted it. Calculators assume a constant impedance across the entire driver passband. Impedance isn't constant across the entire passband, so they only give an approximate result. This gives a much more accurate result, but it requires a high skill level to use:
https://xsim.software.informer.com/