0 - 1 of 1 tags for free space

Please expalin in detail how exactly we are getting total size of the DB and the free space in the DB.
Query used to find the free space.