Spouse & I are retired w/ income less than $83K. We're selling primary home & have long-term cap gain of $1M. Is tax on $500K or does new cap gain rule reduce tax to $0?

In other words, is the $1M we made on house considered income or is our social security our only income, thus avoiding capital gains tax of 15% on excess of $500K we're allowed to exclude?