When shopping for a home, we’re understandably preoccupied with the physical features of our future abode. How many bedrooms and bathrooms? Is there a first-floor master suite? Enough space in the yard for a pool?

While those details are of course paramount, there is some other critical information you should know about any home you’re considering buying: local market statistics. The house you buy is not only the place where you will raise your family and live the lifestyle you’ve always wanted; it’s most likely one of the biggest—if not the biggest—investments you will make in your lifetime.

Make sure you’re making a wise investment by asking your real estate agent the following questions:

What’s the average time on market, and how has it changed in recent years?Knowing how quickly homes in your market sell is a great indicator of how much you will be able to profit off the sale of your home in years to come. Also be sure to ask how the days on market is expected to trend in the coming year.

What’s the average sales price in your market? This is important to know in order to gauge whether you’re getting a sweet deal or potentially overpaying and hurting your chances to at least recoup your money when you sell. Find out if the average sales price has gone up or down in the last year or so and in which direction it will head over the coming year.

What’s the current inventory of homes for sale in your market? Inventory is an easy way to determine whether you’re in a buyer’s or seller’s market. Both have their advantages. If inventory is high and you’re in a buyer’s market, you can negotiate a better deal. If inventory is low and you’re in a seller’s market, expect to pay above listing price. However, if market stats show that you will be in a seller’s market for years to come, you can make a nice profit should you choose to sell.

What’s the rate of building and construction in your market? New homes, apartment buildings and businesses are all excellent indicators that you’re buying in a thriving and expanding market, which bodes well for your investment. Conversely, if businesses are closing or moving out of town, and if new-home construction is stagnant, your market may be experiencing a decline.

Bear in mind, while market stats are extremely important, if you’ve found a great home in an area you love, and plan on staying put for many years, it’s most likely a wise choice. Real estate is still the safest and smartest long-term investment.