The linking number of two disjoint oriented closed curves in is the signed intersection number of one curve with a Seifert surface for the other. In an oriented diagram it is half the signed sum of crossings between the two components.
New to topics? Read the docs here!