A technique to compensate for differences in phased array element patterns is presented. Each measured element pattern is approximated by a virtual array whose excitation function is determined by the Woodward-Lawson synthesis technique. By extending the virtual array beyond the physical array dimensions, mutual coupling and edge diffraction effects can be separated. An example is given where calibration by coupling matrix inversion resulted in significantly reduced array pattern sidelobes.