The word schoolmaster, or simply master, formerly referred to a male school teacher. This usage survives in British independent schools, both secondary and preparatory, but is generally obsolete elsewhere.
Where a school has more than one schoolmaster, a man in charge of the school is the headmaster, sometimes spelt as two words, "head master". This name survives in British independent schools, but it has been replaced by head teacher in most British publicly funded schools, although "headmaster" is often still used colloquially, particularly in grammar schools, and is equivalent to the principal in American schools. The term "headmaster" also survives in some American and Commonwealth independent schools.
A range of other terms is derived from "schoolmaster" and "headmaster", including deputy headmaster (the second most senior teacher), senior master and second master (both used in some independent schools instead of deputy headmaster), and housemaster, the schoolmaster in charge of a boarding school house). Some independent schools use other titles for the head of the teaching staff, including "High Master" and "Rector".
The female equivalent of "schoolmaster" is schoolmistress, which is used with all the same prefixes.
The archaic term for the second schoolmaster in a school in England is usher.