Area:
total: 9,629,091 sq km
land: 9,158,960 sq km
water: 470,131 sq km

Area - comparative: about one-half the size of Russia; about three-tenths the size of Africa; about one-half the size of South America (or slightly larger than Brazil); slightly larger than China; about two and one-half times the size of Western Europe

Land boundaries:
total: 12,248 km
border countries: Canada 8,893 km (including 2,477 km with Alaska), Cuba 29 km (US Naval Base at Guantanamo Bay), Mexico 3,326 km
note: Guantanamo Naval Base is leased by the US and thus remains part of Cuba

Coastline: 19,924 km #### sub extractData { ($start, $end, $rawData) = @_; if ($rawData =~ /$start\s*(.+?)\s*$end/) { $content = $1; } else { print "no location given, jackass."; $content = 0; } return $content; } $Start = "total:"; $End = "
"; $Area_total = extractData($Start, $End, $rawHtml);