You asked:

is 3/8 inch smaller than 5/16 inch

No. 0.31 inches is not greater than 0.38 inches.