Let be a simple connected graph with vertices. The degree of and the average of degrees of the vertices adjacent to are denoted by and , respectively. The spectral radius of is denoted by . In this paper, we introduce a parameter into an equation of adjacency matrix, and obtain two inequalities for upper and lower bounds of spectral radius. By assigning different values to this parameter, one can obtain some new and existing results on spectral radius. Specially, if is a nonregular graph, then
and
If is a bidegreed graph whose vertices of same degree have equal average of degrees, then the equality holds.