Skip to content
Omnikalc

Gauss’s law electric field calculator

Choose a point charge or sphere, an infinite line or an infinite plane, enter the charge and the distance to get the field, the force and the flux.

Updated on
Your inputs
nC

Value out of range

nC/m

Value out of range

nC/m²

Value out of range

m

Value out of range

nC

Value out of range

Results

Electric field

499.3 V/m

Force on the test charge
0.999 µN
Flux through the Gaussian surface
564.7 V·m
Electric field in kilovolts per metre
0.4993 kV/m

The Gauss’s law calculator gives the electric field of a charged sphere, line or plane, the force on a test charge and the flux through the matching Gaussian surface.

How the calculation works

  • Choose the charge distribution: a point charge or sphere, an infinite line or an infinite plane.
  • Enter the charge, the distance from the charge (for a sphere or a line) and the test charge.
  • The calculator uses the field that Gauss’s law gives for the symmetry you chose, then the force on the test charge and the flux.

Example

A point charge of 5 nC at 0.3 m gives a field of 499.3 V/m. A test charge of 2 nC in this field feels a force of 0.999 µN, and the flux through a sphere around the charge is 564.7 V·m.

Why it matters

The calculator helps physics and engineering students who check the homework on electrostatics, teachers who prepare examples with the three classic symmetries, and engineers who estimate the field near a charged conductor, a long wire or a large plate.

Good to know

The line and the plane results assume that the line is very long and the plane very large compared with the distance, otherwise the field is smaller and not uniform. For a sphere the result is valid outside the surface only. The sign of the charge gives the direction: a positive source pushes a positive test charge away, a negative source pulls it in. In a dielectric the permittivity of the medium replaces ε0, which lowers the field by the relative permittivity. In air the difference is under 0.1 %, so the vacuum value is accurate enough. Keep the units in nanocoulombs and metres, and convert the field to kilovolts per metre when you compare it with the breakdown field of air, about 3 000 kV/m.

The Coulomb’s law calculator gives the force between two charges, the Lorentz force calculator gives the force on a moving charge, the electromagnetic wave intensity calculator gives the energy of a wave and the capacitors calculator uses the same field in a plate capacitor.

Frequently asked questions

What does Gauss’s law say?

The electric flux through a closed surface equals the charge enclosed divided by the permittivity of free space: Φ = Q / ε0, with ε0 = 8.854 × 10⁻¹² F/m. The law holds for any charge distribution and any closed surface. It becomes a quick way to find the field only when the symmetry of the charge lets you pull the field out of the integral.

What is the field of a point charge or a sphere?

Outside a charged sphere, or around a point charge, the field is E = Q / (4 × π × ε0 × r²), the same as for a point charge at the centre. It falls with the square of the distance. The result holds outside the sphere only, since inside a conducting sphere the field is zero.

What is the field of an infinite line or plane?

For a long straight line with a charge λ per metre, the field is E = λ / (2 × π × ε0 × r), which falls with the distance. For a large flat sheet with a charge σ per square metre, E = σ / (2 × ε0), and it does not depend on the distance at all. Both are good approximations close to a long wire or a large plate.

How is the force on a test charge found?

The force on a charge q in a field E is F = q × E, directed along the field for a positive charge and against it for a negative one. A negative charge or a negative source therefore flips the sign of the result. Gravity is neglected here, which is fine for small charged particles in strong fields.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.