Hi,
As long as you are using a genuine Windows 10 license and your computer meets all the requirements to upgrade to Windows 11, you can upgrade for free. Just make sure you use the same edition. For example, if you are using Windows 10 Home, you should upgrade to Windows 11 Home.