A personal computer spreadsheet program was used to compute the amplitudes of the gradient pulses in motion-compensated gradient waveforms. The resulting designs for velocity-compensated, gradient-echo, frequency-encoding gradients and velocity-compensated section-select waveforms required little or no modification when implemented on two clinical magnetic resonance imagers.