你在哪儿? and 你在哪里? both mean "Where are you?" in Chinese. They are both grammatically correct and commonly used, but 你在哪里? is more formal and polite, while 你在哪儿? is more casual.
In general, when speaking with someone you are close to, such as a friend or family member, you may use 你在哪儿? but in a more formal setting, such as at work or when speaking to someone older or in a position of authority, you may use 你在哪里? as a more respectful form of address.
(more)