When an electric dipole of dipole moment $\vec{p}$ is placed in a uniform external electric field $\vec{E}$ , it experiences a torque $\vec{\tau}$ and is given by $\vec{\tau}=\vec{P}\times\vec{E}$
In magnitude,
$\vec{\tau}$ = $PEsin \theta$, where $\theta$ is the angle between $\vec{P}$ and $\vec{E}$
when $\vec{P}$ is perpendicular to $\vec{E}$ i.e. $90^{\circ}$ then
$\tau=PEsin 90^{\circ}=pE$ =maximum, or $\tau_{max}=PE$