Hi everybody, first time poster here. I am working on calculating the force of magnets in a 3 dimensional space. I have found a formula for the magnetic flux density at a distance z from the magnet face at this link http://www.magneticsolutions.com.au/magnet-formula.html, under Flux density at a distance from a single rod magnet. My problem is that I can't find a formula which will relate the magnetic flux density with distances in the x and y directions as well as z. Does anyone know of a formula or way to figure this out? On a similar note, how do I then relate magnetic flux density to the pulling force at that distance? Thanks!