Formal:
* Dzień dobry, jak się pan/pani ma? (Good day, how are you?) - This is the most formal way, used for someone you don't know well or are in a professional setting. "Pan" is used for a man and "pani" for a woman.
* Dzień dobry, jak się ma Pan/Pani? (Good day, how are you?) - This is an alternative formal way, using the polite form of "you."
Informal:
* Cześć, jak się masz? (Hi, how are you?) - This is the most common way to greet someone you know well.
* Siema, jak leci? (Hey, how's it going?) - This is a more casual and slangy greeting.
* Hej, co u Ciebie? (Hey, what's up?) - Another informal way to ask "how are you."
You can also use a combination of a greeting and "how are you":
* Cześć, co słychać? (Hi, what's new?)
* Dzień dobry, jak się pan/pani czuje? (Good day, how are you feeling?) - This is a more formal way to ask about someone's well-being.
Remember that it's important to choose the right level of formality based on the situation and your relationship with the person.