A mathematical model for the end section of a superconducting dipole magnet coil is presented. Magnetic field calculation methods concerning the evaluation of the flux density produced by the coil and the ferromagnetic yoke are discussed. The validity of the results is tested using finite element methods. The end section is optimized to have a peak flux density lower than 93% of that in the straight section. The integrated multipole analysis is in addition carried out.