Retirement tax questions

Hi, I have a similar situation. I got a 401K account with my previous company and I changed my job by the end of 2021, and I transferred all money from that 401K to a Roth IRA by beginning of 2022. My 1099R shows box 1 and 2a the same amount (my transferred amount) and 2b says total distribution. And by box7, it says G only. No other code. So My question is, I will need to pay for tax for the total amount of what's shown in 2a, cos its from 401k to Roth IRA? By paying tax for this part, it's simply just add the total amount from 1099R 2a to my total income, then calculate how much tax I need to pay?