Sold a primary residence

We sold our primary residence in MN for $490k and purchased another house in AZ for $309k.  How can we expect it to affect our taxes?