The damages formula refers to the method used to calculate the monetary compensation owed to a party that has suffered a loss due to a breach of contract. This formula often considers various elements such as expectation damages, reliance damages, and restitution to arrive at a fair amount that restores the injured party's position, as closely as possible, to what it would have been had the contract been performed.