The average cost of a house in 2040 will depend on various factors such as location, size, and economic conditions. However, experts predict that with inflation and increasing demand, the average house price may be significantly higher compared to today. It is essential to keep in mind that real estate markets are dynamic, and exact figures are challenging to predict accurately.