* Noun: When it refers to the number itself, like "There are eleven people in the room."
* Adjective: When it describes the quantity of something, like "I have eleven apples."
* Numeral: When it represents a specific quantity, like "I counted eleven cars."
So, to know the exact part of speech, you need to see how it's used in a sentence.