Granby is a town located in Hampshire County, Massachusetts. It was first settled in 1727 and was officially incorporated in 1768. According to the United States Census Bureau, the town has a total area of 72.7 km² (28.1 mi²). 72.2 km² (27.9 mi²) of it is land and 0.5 km² (0.2 mi²) of it is water. The total area is 0.71% water.