Context. The location of young sources in the Galaxy suggests a four-armed spiral structure, whereas tangential points of spiral arms observed in the integrated light at infrared and radio wavelengths indicate that only two arms are massive. Aims: Variable extinction in the Galactic plane and high light-to-mass ratios of young sources make it difficult to judge the total mass associated with the arms outlined by such tracers. The current objective is to estimate the mass associated with the Sagittarius arm by means of the kinematics of the stars across it. Methods: Spectra of 1726 candidate B- and A-type stars within 3\ub0 of the Galactic center (GC) were obtained with the FLAMES instrument at the VLT with a resolution of 486000 in the spe...