The dimensional formula for refractive index is
Step 1: Use the formula of the refractive index
Know that,
The refractive index = Speed of light in vacuum / Speed of light in the medium
The speed = Distance / Time
Step 2: Calculate the dimensional formula of the refractive index
Therefore the dimensional of the speed
Now the refractive index
Therefore the dimensional of the refractive index is .
Hence, the correct option is (B).