Usually, you can only get an accurate quotation for the cost of replacing a roof, from a reputable and experienced roofer, after a site visit.