The thing people often expect is that the improvement is going to add more value to the home than it costs, and that is almost never the case. Usually, the item being replaced has some value. I presume the carpets aren't all trashed and are maybe even in fairly good condition. OK, so that value goes into the dumpster with the carpet!
Then, there's the complexity of the new project. It's not enough to just get new flooring and install it properly, aesthetic decisions have to be made and they will affect the value of the project. Which is why I strongly recommend enlisting the help of a professional interior decorator or designer to collaborate with.
Generally speaking, the finishes in a new home have been selected by a designer or someone with a skilled and trained eye. Tinkering with that often detracts from the value of a home. Older homes that have been remodeled and "updated" often have design choices that make them less desirable to purchasers, even as they make the home more comfortable and functional for the home owners.
All the best,