Gauss' law

The net flux through the surface of the cube can be positive, negative or zero.  It is proportional to the number of field lines leaving the cube minus the number of field entering the cube.

net flux = constant*(# of field lines leaving - # of field lines entering).

Gauss' law tells us that the net electric flux through the surface of the cube is qinside0.
The charge in this demo is q = ±1 nC. and there are 41 field lines either starting or ending on q.

When counting field lines we therefore know that the constant we need to use to find the electric flux is  (qinside0)/41.

net flux = (qinside0)*(# of field lines leaving - # of field lines entering)/41.

Close Controls


You can change the position and the sign of the charge.
Use the mouse to change the viewport and to zoom in or out as needed.

Flux of E through cube = 0