In this note, we show that a subgraph induced by m (denote m by ∑i=0s2ti, t0=[log2m] and ti=[log2(m−∑r=0i−12tr)] for i≥1) vertices of an n-dimensional hypercube has at most ∑i=0sti2ti−1+∑i=0si⋅2ti edges. As an application, we determine the m-extra edge-connectivity of hypercubes for m≤2[n2].