Riverside is a city in, and the county seat of, Riverside County, California, United States, located in the Inland Empire metropolitan area. It is named for its location beside the Santa Ana River. It is the most populous city in the Inland Empire and in Riverside County, and is located about 50 miles (80 km) southeast of downtown Los Angeles. It is also part of the Greater Los Angeles area. Riverside is the 61st-most populous city in the United States and 12th-most populous city in California. As of the 2020 census, Riverside had a population of 314,998. Along with San Bernardino, Riverside is a principal city in the 13th largest Metropolitan Statistical Area (MSA) in the United States; the Riverside-San Bernardino-Ontario MSA (pop. 4,599,839) ranks in size just below San Francisco (pop. 4,749,0080 and above Detroit (pop. 4,392,041) in population.