Formal:
* Buenos días: Good morning (used until noon)
* Buenas tardes: Good afternoon (used from noon to evening)
* Buenas noches: Good evening/Good night (used from evening until morning)
Informal:
* Hola: Hi (most common greeting)
* ¡Qué tal! How are you? (literally "What's up?")
* ¿Cómo estás? How are you? (more formal than "¡Qué tal!")
* ¿Cómo estás? How are you? (more formal than "¡Qué tal!")
* Saludos: Greetings (a little less common)
Other:
* Hola, ¿qué tal? Hi, how are you? (combines "Hola" with "¡Qué tal!")
* ¡Hola a todos! Hi everyone! (used to greet a group)
It's important to choose the appropriate greeting for the situation. For example, you would use "Buenos días" to greet a teacher or a stranger, but you would use "Hola" to greet a friend or family member.