In many societies, a surname, last family name, or first family name is the mostly hereditary portion of one's personal name that indicates one's family. It is typically combined with a given name to form the full name of a person, although several given names and surnames are possible in the full name. In modern times most surnames are hereditary, although in most countries a person has a right to change their name.
Depending on culture, the surname may be placed either at the start of a person's name, or at the end. The number of surnames given to an individual also varies: in most cases it is just one, but in Portuguese-speaking countries and many Spanish-speaking countries, two surnames (one inherited from the mother and another from the father) are used for legal purposes. Depending on culture, not all members of a family unit are required to have identical surnames. In some countries, surnames are modified depending on gender and family membership status of a person. Compound surnames can be composed of separate names.