A **surface integral** is a double integral applied over a surface. It is, in some ways, the higher-dimensional equivalent of a line integral. A surface integral can be applied over a scalar or vector field, the latter of which is sometimes called a **flux integral**.

## Types of surface integrals

### Over a scalar field

In its most basic form, a surface integral of over the surface takes the form

where is the projection of the surface onto the plane. Note that if , this integral becomes the surface area of .

The more general form is found by parameterizing the surface to a vector function , in which case it would become:

### Over a vector field

Over a vector field, a surface or flux integral is equal to

where is a vector-valued function, is the unit normal vector to a surface, and is the vector-valued parametric representation of the surface being integrated over. Whether the value is positive or negative is arbitrary depending on which was the unit normal vectors should be pointing. By convention, for any closed surface, the normal vectors point outwards.