Gauss's Law Calculator

By Salam Moubarak, PhD
Last updated: Dec 04, 2020

Our Gauss law calculator allows you to compute the magnitude of the electric flux generated by the electric field of an electric charge.

In the following sections, we will first explain to you the concept of electric flux, then you will learn about the Gauss law equation and see how the total electric flux around an electric charge relates to the magnitude of that charge.

We'll finish by showing you how to use our Gauss law calculator and proposing some other similar calculators.

Electric flux

Electric flux is usually calculated for a given surface. It depends on the strength of the electric field going through the surface, the area of that surface, and the orientation of the electric field lines relative to the surface.

In the general case where the surface is not necessarily flat and the electric field is not uniform, the electric flux is calculated in its integral form where the surface is divided into very small flat surfaces and the electric field lines are orthogonally projected through those surfaces.

When a closed surface surrounds an electric charge, the Gauss law equation becomes very handy for calculating the total electric flux through that surface and bypassing all the integral form calculations.

What is Gauss's law?

Gauss's law stipulates that when we consider a completely closed surface around an electric charge, the total electric flux through that surface is only proportional to the strength of that charge; it is independent of the shape and size of the surface and the exact position and distribution of the electric charge inside that surface.

This proportionality is expressed in the Gauss's law equation:

ϕ = Q/ε₀


  • ϕ is the electric flux through the closed surface;
  • Q is the total electric charge inside the surface; and
  • ε0 is an electric constant, also called vacuum permittivity or permittivity of free space. It is equal to 8.854·10-12 F/m.

Conversely, if we know the electric flux through a closed surface, we can also use Gauss's law to calculate the total electric charge inside that surface: Q = ϕ·ε₀

Using the Gauss's law calculator

When using the Gauss's law calculator, you can either input the value of the electric charge Q to receive the electric flux ϕ, or you can provide the electric flux ϕ and the calculator will give you the corresponding electric charge Q.

You can also click on Advanced mode to see the exact value of the vacuum permittivity ε0. Remember, it is constant and shouldn't be changed except in certain special cases.

The unit of electric flux used in this calculator is Vm or, equivalently, Nm2/C. The unit of electric charge is set by default to nC (nanocoulomb) to get flux and charge numbers of similar orders of magnitude. You can however select a different unit for the electric charge.

For example, let's say you want to calculate the magnitude of the electric flux through a closed surface around a 10 nC electric charge. You can do so using our Gauss law calculator with two very simple steps:

  1. Enter the value 10 nC in the field "Electric charge Q".
  2. The Gauss law calculator gives you the value of the electric flux in the field "Electric flux ϕ": In this case, ϕ = 1129 Vm.

Make sure to check out our other calculators if, for example, you need to know the magnitude of the electric field generated by a charge point, or if you want to learn about electromagnetic induction and calculate the induced voltage in a closed circuit. You can also solve more elementary problems like calculating the electrostatic force between two charged particles or finding out how a magnetic field affects these particles.

Salam Moubarak, PhD
People also viewed…

Damping ratio

The damping ratio calculator will help you find the damping ratio and establish if the system is underdamped, overdamped or critically damped.

Test grade

With this test grade calculator you'll easily find out the test percentage score and grade.