The calculation was beyond basic - I read somewhere here that it was around $3m that they were getting from Cal Grants.
Around 8 years ago, I heard (from a friend of mine) that the min donation to guarantee admission to Stanford was ~$10m. Wouldn’t be surprised that it’s even a higher number nowadays…