According to the United States Census Bureau, Danvers has a total area of , of which is land and , or 5.75%, is water.
Danvers is located about 17mi north of Downtown Boston,[REF] nearly halfway between Boston and the New Hampshire state border.