The cost of roof replacement will depend on various factors, including the size of your roof, its pitch (i.e. what angle it is on,) and what materials you are using. Taking all these factors into account, the overall cost can range anywhere between $5,000 and $25,000. It's important to note that while the cost to replace a roof may seem high, it's a necessary investment for the safety and structural integrity of your property.