Shangyu (Chinese: 上虞; pinyin: Shàngyú) is a county-level city which is part of the prefecture-level city of Shaoxing in the Northeast of Zhejiang province of the People's Republic of China. Its 2004 population was over 770,000, up from 722,523 in the 2000 census. Shangyu is roughly fifty kilometers from north to south and about thirty kilometers from east to west. It makes up about one-fourth of the area of Shaoxing prefecture. A river flows northward through it.