Formal:
* Quel est votre nom? (pronounced: kel eh votr nohm)
Informal:
* Comment t'appelles-tu? (pronounced: koh-moh ta-pel-too)
You would use the formal form when addressing someone you don't know well, such as a stranger, an elder, or someone in a position of authority. The informal form is used with friends, family, or people you know well.