Mathwords logoMathwords

Pick's Formula — Definition, Formula & Example

Pick's Formula is a shortcut for finding the area of a polygon drawn on dot paper with every corner on a dot. You count the dots inside the shape and the dots on its edges, and you never need a side length or a height. It works only when the edges do not cross and the shape has no holes.

Let PP be a simple polygon (its edges do not cross and it has no holes) whose vertices all lie on points of the integer lattice Z2\mathbb{Z}^2. If II is the number of lattice points strictly inside PP and BB is the number of lattice points on its boundary, then the area of PP is A=I+B2−1A = I + \frac{B}{2} - 1.

Key Formula

A=I+B2−1A = I + \frac{B}{2} - 1
Where:
  • AA = Area of the lattice polygon, in square units (one grid square = 1)
  • II = Number of lattice points strictly inside the polygon
  • BB = Number of lattice points on the boundary, including every vertex

Worked Example

Problem: A triangle on a coordinate grid has vertices (0,0)(0,0), (4,0)(4,0), and (1,3)(1,3). Use Pick's Formula to find its area.
Step 1: Count boundary points. An edge from (x1,y1)(x_1,y_1) to (x2,y2)(x_2,y_2) passes through gcd⁡(∣x2−x1∣,∣y2−y1∣)\gcd(|x_2-x_1|,|y_2-y_1|) lattice points if you count one endpoint per edge. Add this value for all three edges so that each vertex is counted exactly once.
B=gcd⁡(4,0)+gcd⁡(3,3)+gcd⁡(1,3)=4+3+1=8B = \gcd(4,0) + \gcd(3,3) + \gcd(1,3) = 4 + 3 + 1 = 8
Step 2: Count interior points row by row. At y=1y=1 the points (1,1)(1,1) and (2,1)(2,1) lie inside. At y=2y=2 only (1,2)(1,2) lies inside, because (2,2)(2,2) sits on the edge from (4,0)(4,0) to (1,3)(1,3).
I=2+1=3I = 2 + 1 = 3
Step 3: Substitute into Pick's Formula. As a check, the base is 4 and the height is 3, and 12(4)(3)=6\frac{1}{2}(4)(3) = 6 agrees.
A=3+82−1=6A = 3 + \frac{8}{2} - 1 = 6
Answer: The triangle has area 6 square units.

Why It Matters

Pick's Formula appears often in AMC and other competition geometry problems. In those problems a polygon is drawn on a grid, and counting points is faster than splitting the shape into pieces. It also leads to a surprising fact: every lattice polygon has an area that is a multiple of 1/2. That fact proves no equilateral triangle can have all three vertices on lattice points.

Common Mistakes

Mistake: Counting only the vertices as boundary points, which would give B = 3 for the triangle above.
Correction: B includes every lattice point on the edges, not just the corners. In the example, the bottom edge alone passes through (1,0)(1,0), (2,0)(2,0), and (3,0)(3,0). Use the gcd of each edge's horizontal and vertical change to catch every point on that edge.

Related Terms