The focal length of a lens depends on :
where R1,R2 are radius of curvature of two sides of lens. And M2 is refractive index of material of which lens is made of and M1is refractive index of surrounding medium. And by this formula we see that focal length is also dependent on the material of lens.