Data hiding is the research about embedding secret information into a digital media. The proposed method is based on embedding unequal amounts of secret information using pixel complexity. In the proposed method, secret information is embedded in 2 × 2 embedding cells which were composed with randomized embedding units to reduce the falling-off-boundary problem and to eliminate sequential embedding. This paper designs a new quantization range table based on the perfect square number to decide the payload by the difference value between the consecutive pixels. Furthermore, the payload size maybe adjusted by reference tables and threshold value. New viewpoint can be put forward by alterations in the existing Pixel Value Differencing methods to obtain better image quantity and higher capacity.