A roof costs $6,700 to $25,000 on average, depending on several factors. Use our price calculator to estimate the cost of a roof replacement.