For an oriented surface with piecewise smooth closed boundary , and a vector field that is continuously differentiable on an open neighborhood of , Stokes theorem states
Here is the chosen unit normal vector. The orientation of follows the right-hand rule: with the right thumb pointing along , the fingers curl in the positive direction. Equivalently, walking along the boundary with one's head along leaves the surface on the left. Each boundary component receives this induced orientation.