Bank of America reported quarterly earnings and revenue that beat Wall Street's expectations on Tuesday, helped by favorable credit conditions, lower expenses and a rise in equity income.

BofA posted third-quarter earnings excluding items of 20 cents per share, compared to having made no profit in the comparable year-ago quarter. Revenue was $21.7 billion, compared to $20.43 billion a year ago.