In the context of Macbeth, a thane is best described as:
a a noble man who held land from the king (like an earl).
In Shakespeare's play, Macbeth himself is referred to as the Thane of Glamis and later as the Thane of Cawdor, indicating his status as a nobleman with land granted by the king.