Debian's documentation does mention that:
Please note that the number of non-free and contrib packages is less than 2% of that of main packages.
Debian have three components of repository: main (which include 100% free softwares), contrib (which includes free softwares that depends upon non-free softwares) and non-free (which contains proprietary softwares). So, the documentation is saying that less than 2% of that of main packages are contained in non-free and contrib repositories.
I want to know the same thing for Ubuntu. Ubuntu has free softwares on main and universe repositories and restricted and multiverse components of repositories contain non-free softwares.
Now, how much percentage of non-free softwares are contained by these restricted and multiverse repositories compared to that of main and universe repositories? Do we have any such analysis?
Though I didn't find such information on Ubuntu's documentation, I created a simple script to calculate it manually:
Output:
For Debian GNU/Linux:
Note: update and backport repositories are not considered for this analysis