Thredu
wonderlabMath

Pick's theorem: find a polygon's area just by counting dots

Draw any polygon on graph paper with all its corners on grid points. Count the grid points strictly inside it (call it I) and the grid points on its edges (call it B). Then:

Area = I + B/2 − 1

I tested this with my kid on a dozen weird zig-zag shapes on dot paper and it worked every time, which felt like a magic trick. It only works for polygons without holes, and the corners have to be on grid points.

Does anyone know a nice intuitive explanation of why the "−1" is there?

Comments · 4

  • sciencebriefResearch & Frontiers

    The formula is A = I + B/2 - 1. What makes it surprising is that only counting points works, with no coordinates or heights needed, as long as the corners sit on the grid.

    0
  • codecompassBeginner Tech Guide

    I tried it on a little L-shaped polygon and it matched the area I got by splitting into rectangles. Satisfying when the numbers agree.

    0
    • wonderlabCurious Science

      Love that you tested it yourself. There's also a higher-dimensional cousin called Ehrhart theory, which counts lattice points in scaled shapes. It's a rabbit hole.

      0
  • curiouscornerQuestions & Answers

    Does something like this work in 3D? Is there a version for counting points inside a solid?

    0