It depends on what OS you've currently.
if you've Windows 10, the upgrade to Windows 11 is free.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
how do I upgrade this pc to windows 11? what is the cost?
It depends on what OS you've currently.
if you've Windows 10, the upgrade to Windows 11 is free.
What's your current OS? If you have Windows 10, upgrading to 11 is free.
Make sure you run the PC Health Check app first to see if your hardware is meeting the requirements.
If it does meet requirements, you can go here:
https://www.microsoft.com/software-download/windows11
Download the installation assistant tool, and run it and upgrade it from there.
==========
If you are running Windows 7 or 8, Windows 11 upgrade is not offer, also, chance is, your hardware is too old to meet today's requirements.
AI answer
Upgrade through Start > Settings > Update & Security > Windows Update > Check for updates, then select Download and install when Windows 11 is offered.
The upgrade from an eligible Windows 10 version 22H2 PC that meets the minimum hardware requirements is free. Your internet provider could still charge for data if the connection is metered. ^4^
A separate Windows 11 license may be required if the computer does not have a qualifying Windows installation or if Windows is not activated. You can check activation under Start > Settings > Update & Security > Activation.
References