A formula is generally a fixed pattern that is used to achieve consistent results. It might be made up of words, numbers, or ideas that work together to define a procedure to be followed for the desired outcome.
Formulas, the patterns we follow in life, are used everywhere. In math or science, a formula might express a numeric or chemical equation; in cooking, a recipe is a formula. Baby formula is made up of the nutrients necessary for maintaining healthy growth, and the right formula for a fuel mixture is critical for a racing car's best performance. Everyone has their favorite formula for success. J. Paul Getty once gave his as "rise early, work hard, strike oil."