Depends on what kind of roof and where you live. Where I live (southeast) a shingle roof runs anywhere from $2,000-$5,000.
A family member just put on a metal roof for $22,000.
A historic home down the street just put on a cooper shingle roof for $100,000.