We put one in 12 years ago. In addition to the pool installation cost, factor in the natural gas source if you don't have gas in your neighborhood, your fence, and decking. We got something called coolcrete because we live in the south. I expanded the deck area when I build so it would be more usable for entertaining. Also consider where the pump will go because you don't want to hear it at night in the winter when it kicks on to avoid freezing in sub-32 temps. Also consider the monthly pool service and repair costs. We pay a service $260 per month, plus expect about an extra $1,000 per year worth of items that need to be replaced (motors, remotes, cleaners, filters, etc).
We got the Salt Water pool, so chlorine is automatic and easy (my simple non-scientific understanding is an electric charge turns NaCl into sodium and chlorine). Imagine we have saved a bunch on chemicals over the years.
We use the back yard for entertaining, and use the hot tub fairly regularly. On the plus side, the 500 gallon gas tank we buried in the yard to heat the tub (and pool if we wanted) serves to run our grill too, which is a plus since we live on a hurricane zone and face the threat of losing power.