Gap is the numeric difference between your current level and your highest mastery's level (E.g., if your level is 16 and your only mastery is Fire lvl 7, then your Gap is 9). The higher your gap, the more SP exp you gain and less character exp you gain; the opposite also being true.
Gap is used in SP farming, so
click me for more information.