Probably from G2806 (through the idea of using bits of wood, etc., for the purpose); a die (for drawing chances); by implication a portion (as if so secured); by extension an acquisition (especially a patrimony, figuratively): - heritage, inheritance, lot, part.
And they crucified him, and parted his garments, casting lots: that it might be fulfilled which was spoken by the prophet, They parted my garments among them, and on my clothing did they cast lots.
They said therefore among themselves, Let us not rend it, but cast lots for it, whose it shall be: that the scripture might be fulfilled, which said, They parted my raiment among them, and for my clothing they did cast lots. These things therefore the soldiers did.