The dimensional formula for the torque is
[M1L1T-2]
[M1L1T-1]
[M1L2T-2]
[M1L2T-1]
Torque = Force x Perpendicular distance
= [M1L1T-2] x [L]
= [M1L2T-2]