A coil pattern calculation method includes calculating a current potential at each contact between finite surface elements forming each of the coil surfaces based on an initial value of an input current potential distribution, and, for each of the coil surfaces, repeatedly calculating the current potential alternately and, under each magnetic field condition, determining a current potential distribution that generates a magnetic field falling within the range of allowable error for each target magnetic field so that a surface current represented by the current potential will become close to a target magnetic field distribution set for each of the finite surface elements and determining a coil pattern from the contour lines of the determined current potential distribution.