Costa Rica is 420 times larger than San Francisco.
Area: 51,100 km2 World Factbook
Population: 4,755,234 (July 2014) World Factbook
Costa Rica, officially the Republic of Costa Rica, is a country in Central America, bordered by Nicaragua to the north, Panama to the southeast, the Pacific Ocean to the west, the Caribbean Sea to the east, and Ecuador to the south of Cocos Island. Wikipedia
Area: 122 km2 calculated
San Francisco, officially the City and County of San Francisco, is the cultural center and a leading financial hub of the San Francisco Bay Area and Northern California. Wikipedia