Ductwork replacement cost depends on variables that are specific to your home, which is why any number quoted before an inspection should be treated with skepticism. The largest drivers are the linear footage of duct being replaced, the accessibility of the runs, the material specified, and whether the new system requires a full redesign or a like-for-like swap. A partial replacement targeting failed runs in an accessible attic sits at one end of the range. A full-home redesign with new trunk lines, added returns, and custom transitions through finished space sits at the other.
Worth factoring into the comparison: a ductwork replacement done correctly reduces runtime on the equipment it feeds, which lowers operating cost and extends the service life of the furnace, heat pump, or air handler. The payback is not immediate, but it is real, and it compounds every season the system runs.