A thing that is done simply to comply with requirements of etiquette, regulations, or custom. The signing of the contract was just a formality, as all parties had already agreed to the terms.
The rigid observance of rules of convention or etiquette. The ceremony was conducted with great formality, following every traditional protocol.
A formal quality or condition. The formality of the event required guests to wear evening attire.