HD DVD-RW is the rewritable disc variant of HD DVD with equal storage capacity to an HD DVD-R. The primary advantage of HD DVD-RW over HD DVD-R is the ability to erase and rewrite to an HD DVD-RW disc, up to about 1,000 times before needing replacement, making them comparable with the CD-RW and DVD-RW standards. This is also of benefit if there are writing errors when recording data, as the disc is not ruined and can still store data by erasing the faulty data. The dual-layer variant was never released and the single-layer variant was, but it is among the rarest of optical media.