In this study a new functional form, r=r(0) [2/(1+cos theta)]alpha, is used to fit the size and shape of the magnetopause using crossings from ISEE 1 and 2, Active Magnetospheric Particle Tracer Explorers/Ion Release Module (AMPTE/IRM), and IMP 8 satellites. This functional form has two parameters, r(0) and alpha, representing the standoff distance and the level of tail flaring. The value r is the radial distance at an angle (theta) between the Sun-Earth line and the direction of r. It is found that r(0) varies with the interplanetary magnetic field (IMF) B-z component and has a break in the slope at B-z=0 nT. The best-fit value of r(0) decreases with increasing southward IMF B-z. For northward IMF B-z, the best-fit value of r(0) increases slightly with increasing B-z. The best-fit value of alpha increases monotonically with decreasing IMF B-z. The dynamic pressure (Dp) also changes r(0) and alpha. The parameters D-p and r(0) are related by a power law of -1/(6.6+/-0.8). The best-fit value of alpha is slightly larger for larger dynamic pressure, which implies that D-p also has a role ill flux transfer from the dayside to the nightside, but the size of this effect is small. An explicit function for the size and shape of the magnetopause, in terms of D-p and B-z, is obtained by using multiple parameter fitting in a form that is useful for operational space applications such as predicting when satellites at geosynchronous orbit will be found in the magnetosheath.