Following are the factors on which viscosity depends:
Area of contact between the two adjacent layers
The velocity difference between the two adjacent layers
Distance between the two adjacent layers