Gauss’ law states that the total flux through a closed surface is 1ε0 times to the net charge enclosed by the closed surface.
Mathematically ΦE = ∮sE⋅dS = q/ε0
Here, ε0 is the absolute permittivity of the free space, q is the total charge enclosed and E is the electric field at the area element dS.