Civil Code § 3307
ARTICLE 1. Damages for Breach of Contract [[3300.] - 3322.]
The detriment caused by the breach of an agreement to purchase an estate in real property is deemed to be the excess, if any, of the amount which would have been due to the seller under the contract over the value of the property to him or her, consequential damages according to proof, and interest.