The only free and comprehensive online etymological dictionary of the Spanish language
mil m. (Cardinal Number) "thousand"

12th cent. Old Spanish mill. From Latin mille 'id.' From Proto-Italic *smīχeslī 'id.' From Proto-Indo-European *sm-i̯h2hes-l-i̯h2 'id.' From *sem- "one" and *ǵhes-lo- "great quantity" or "thousand."

Romance: Western Vulgar Latin: Portuguese mil, Galician mil, Catalan mil, French mille, Italian mille ; Eastern Vulgar Latin: Aromanian njilje, Romanian milli ; Sardinian: mila

Indo-European: Hellenic: Ancient Greek χῑ́λιοι (khílioi) "thousand;" Indo-Iranian: Sanskrit sahásra- "having one thousand," Avestan hazaŋra- 'id.'