Differential cross sections were measured for the ®Cdi{d,d), {d,d'), and (d,p) reactions initiated by 12.8-MeV deuterons. Inelastic scattering to the 3.35-MeV (0 + ), 3.73-MeV (3~), and 4.48-MeV (5~) levels of 40 Ca, and (d,p) reactions feeding the ground (j~), 1.97-MeV ( §"), and 2.47-MeV (f~) levels of 41 Ca were observed. An optical-model analysis of the elastic scattering was made, and the potentials obtained were used in a distorted-wave study of the reactions. The collective model gave a good fit to the inelastic excitation of the 3~ and 5~ levels; it was necessary to use the complex form of interaction in order to obtain reasonable values of the deformation parameters. The effects of finite range and nonlocality were included in the deuteron-stripping analysis and yield reasonable agreement with the observed cross sections. The spectroscopic factors extracted when spin-orbit coupling is included in the deuteron optical potential are significantly less than the value unity expected.