Hi, Eva
It is free as an upgrade from Windows 10.
Just go to Settings > Windows Update and check if the upgrade is available. If it is, you can install it right from there.
I’ve upgraded before without paying anything, so if your device qualifies, you’re all set!