In addition to the OS, formatting of storage takes up space. You'll find the same convention on storage media. The convention has long been to describe capacity in an unformatted state. Not especially informative but it's been that way for many years.