The United States of America is a federal constitutional republic comprising fifty states and a federal district. The country is situated mostly in central North America, where its forty-eight contiguous states and Washington, D.C., the capital district, lie between the Pacific and Atlantic Oceans, bordered by Canada to the north and Mexico to the south. At 3.79 million square miles (9.83 million km2) and with over 309 million people, the United States is the third or fourth largest country by total area, and the third largest both by land area and population. It is one of the world's most ethnically diverse and multicultural nations, the product of large-scale immigration from many countries. The U.S. economy is the world's largest national economy, with an estimated 2009 GDP of $14.3 trillion (a quarter of nominal global GDP and a fifth of global GDP at purchasing power parity).