Formal:
* Quel est votre nom de famille? (This is the most formal way to ask.)
Informal:
* Quel est ton nom de famille? (This is more informal and would be used with friends or family.)
* C'est quoi ton nom de famille? (This is even more informal and is used with close friends.)
You can also use the abbreviation "nom" instead of "nom de famille," but it is less formal and more common in spoken French.
Here are some examples:
* Quel est votre nom de famille? (Formal) - "What is your last name?"
* Quel est ton nom de famille? (Informal) - "What's your last name?"
* C'est quoi ton nom de famille? (Very Informal) - "What's your last name?"