Try writing it out yourself on paper, but this time, insert your units for each substituted variable. And cancel those units, until you are left with just the units in the answer.
I'm going to have to look up this formula to understand it. But you should start with that process.