Gorham is located in Ontario County and is part of the Rochester, New York metropolitan area. It was named for Nathaniel Gorham, president of the Continental Congress and a signer of the U.S. Constitution.