Rather than calculating the magnetic poles, they must be found by expedition. They are defined as the points on Earth’s surface where the magnetic field points vertically down, so you need to be on top of them to really know. It may be assumed that you could calculate its location by finding north with a compass from two different points, drawing lines on a map and finding the intersection of those lines. However, the Earth’s magnetic field is not evenly distributed or symmetrical, so the direction of north indicated by a compass in one area can differ greatly in another.
Plus, take a look at: