F-1 Student Qualifying as Resident for Tax Purposes

Hi, 

 

I am a Canadian citizen who has been in the United States since August 2016, pursuing graduate studies. My status is F-1 currently. I am trying to determine if qualify as resident for tax purposes. I normally use Sprintax to file as I was previously a nonresident alien but when I entered all of my US entry and exit dates into Sprintax I was told that I am no longer a nonresident for tax purposes. Mainly what I am confused about is whether I need to file under a dual status for 2021 or if I need to file as a resident. I am also confused about the exempt status and how to calculate the amount of time for substantial presence test. Any help would be greatly appreciated. Thank you!