Derivation of self inductance
- is the magnetic flux through the ith surface by the electrical circuit outlined by Cj
- Ci is the enclosing curve of Si.
- B is the magnetic field vector.
- A is the vector potential. 
Stokes' theorem has been used.
so that the mutual inductance is a purely geometrical quantity independent of the current in the circuits.
In the self inductance case Ci=Cj. Therefore 1/R diverges and the finite radius of the wire and the distribution of the current in the wire must be taken into account. A generic formula for the self inductance M of a wire loop is available provided that the length l of the wire is much larger than its radius a,
Points with |R| < a/2 now must be excluded from the curve integral. The correction term proportional to l originates from short wire segments which are essentially cylinders. Y=0 if the current flows in the surface of the wire, Y=1/4 if the current is homogeneous in the wire.
The error of the formula is of order μ0a if the current loop contains sharp corners and of order μ0a2/Rc for smooth current loops with minimal curvature radius Rc.
In the skin effect case another approximation is hidden in the assumption of constant current density. If wires are close to each other additional currents flow in the surface of the wires (expelling the magnetic field). In this case Maxwell's equation must be solved to determine currents and fields.