A carpet is the most versatile, soft, and warm flooring. It is moisture-resistant and insulates a room in winter.
Hardwood is the strong, durable, and easy-cleaning floor option. It increases home value while lasting for 100 years or more.
Carpet flooring is better in all terms as you can manage its cleaning easily by daily vacuuming. But it isn't very easy to maintain crack-prone flooring like hardwood.
There are several reasons, such as cost, installation process, cleaning, etc., for which carpet is considered better.
For this, you first have to decide what kind of comfort you want from your layout and then look into other sides, such as cost, maintenance, installation, etc.
To find out the best flooring options, you first have to decide whether you want a highly durable or comfortable option.
If you are planning to buy new flooring and want to consider cost as a factor, then carpet may cost you between $2 to $7 per square foot, and hardwood will cost $6 and $23 per square foot.