Electric fieid and eiectric potential at a general point at a distance r from the centre of the dipoie is
$ E_g = \dfrac{ 1}{ 4 \pi \varepsilon_0 } \dfrac{ P}{ r^3 } \sqrt{ ( 3 \, cos^2 \, \theta + 1) }$
and $ V_g = \dfrac{ 1}{ 4 \pi \varepsilon_0 } \dfrac{ p \, cos \, \theta }{ r^2 }$