Formal:
* 您好吗? (Nín hǎo ma?) - This is the most common and polite way to ask "how are you?" and can be used with anyone you don't know well or in a formal setting.
Informal:
* 你好吗? (Nǐ hǎo ma?) - This is a more casual way to ask "how are you?" and can be used with friends and family.
* 你怎么样? (Nǐ zěnmeyàng?) - This translates literally as "how are you?" and is a very casual way to ask, often used with close friends.
* 最近怎么样? (Zuìjìn zěnmeyàng?) - This means "how are you doing recently?" and is a more relaxed way to ask about someone's well-being.
Note:
* The tone of voice and body language can also greatly influence the level of formality.
* You can also add "工作" (gōngzuò, work) or "学习" (xuéxí, studies) after "怎么样" (zěnmeyàng) to ask about someone's work or studies specifically.
* The literal translation of "how are you?" in Chinese is "你怎么样?" (Nǐ zěnmeyàng?), but it's not typically used in everyday conversations.