As a measure to ascertain whether a system is metallic or insulating, localization length λ N , which represents the spread of electron distribution, can be a useful quantity, especially for approaching a metal-insulator transition from the insulator side. We try to calculate λ N using a variational Monte Carlo method for normal (paramagnetic), superconducting and antiferromagnetic states in the squarelattice Hubbard model. It is found that the behavior of λ N is consistent with what is expected from other quantities, and gives information complementary to another measure, the Drude weight.