If you use Microsoft Edge or a recent version of another popular web browser, you can upload a file up to 100GB in size. However there are a variety of things—not just file size— that can limit your ability to upload a file.
For more info, see Fix problems uploading files on the OneDrive website.
Tip: To check your storage space, see Check my storage space or limit.