The largest factors are size, demolition, foundation or framing, material level, roof complexity, stairs and railing, glazing, electrical or HVAC work, access, permits, engineering, and hidden site conditions. A detailed scope is more useful than a square-foot price because two projects of the same size can require very different work.