Pick's theorem (https://en.wikipedia.org/wiki/Pick%27s_theorem), that the area of a grid polygon equals its number of interior grid points, plus half the boundary points, minus one. Now a Good Article on Wikipedia.

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!