If #ℓ# is the angular quantum number of subshell then maximum electrons it can hold is #2(2 ℓ + 1)#
#underline(bb("Sub-shell" color(white)(.....) ℓ color(white)(.....) "Maximum electrons"))#
#color(white)(.....)"s" color(white)(..............) 0 color(white)(............) 2(2(0) + 1) = 2#
#color(white)(.....)"p" color(white)(...............) 1 color(white)(............) 2(2(1) + 1) = 6#
#color(white)(.....)"d" color(white)(...............) 2 color(white)(............) 2(2(2) + 1) = 10#
#color(white)(.....)"f" color(white)(....._........) 3 color(white)(............) 2(2(3) + 1) = 14#