A formula is a mathematical equation or expression that performs various operations on variables to produce an outcome.