The electric dipole moment for a pair of opposite charges of magnitude q is defined as the magnitude of the charge times the distance between them and the defined direction is toward the positive charge.