Fields from Gauss's law
When the charge has enough symmetry to make the field the same size everywhere on a well-chosen surface, Gauss's law gives the field in one line, $\frac{\lambda}{2\pi\varepsilon_0 r}$ round a long line and $\frac{\sigma}{2\varepsilon_0}$ beside a wide sheet.
From Physics 2.