Suppose refractive index is given as where A and B are constants and is wavelength, then dimensions of B are same as that of
As hence is dimensionless. Thus, each term on the RHS of given equation should be dimensionless, i.e., is dimensionless, i.e., B should have dimension of , i.e., area.