The computation of the reflectivity of a multilayer dielectric coating deposited on the end facet of single-mode or multimodal fiber is presented. The calculation is done through a plane-wave expansion of the incident fields, and the waveguide is replaced by a homogeneous medium of refractive index neq while the incident electric (or magnetic) field remains that of the guided mode. The modal reflectivities (coupling factors) between modes are calculated, and the method of computation is accurate enough to satisfy current needs for the design of coatings on fibers and is helpful for the design of coatings deposited on other waveguide structures.