Windows 11 will be a free upgrade:
https://www.theverge.com/2021/6/24/22546801/microsoft-windows-11-free-upgrade-details
Old PCs that are 32bit will not be eligible for the upgrade:
https://www.techradar.com/news/windows-11-system-requirements-are-bad-news-for-old-laptops-and-pcs