The smart antennas are widely used for wireless communication, because it has a ability to increase the coverage and capacity of a communication system. Smart antenna performs two main functions such as direction of arrival estimation (DOA) and beamforming. Using beamforming algorithm . smart antenna is able to form main beam towards desired user and null in the direction of interfering signals. This paper evaluate the performance of LMS (Least Mean Square) beamforming algorithm in the form of normalized array factor (NAF) and mean square error(MSE) by varying the number of elements in the array and the placing between the sensor elements. The simulations are carried out using MATLAB.