Equity calculator