If you already have a prior version of Windows installed on the computer and you just want a newer version of the OS on the same hardware, you can likely upgrade it for free (obviously this method doesn’t help if you are building a new PC).
Upgrade from a Prior Windows Version: Free