Pick's theorem

An extension of the topic of polygon area and lattice geometry. The area of a polygon whose vertices lie at grid nodes is i + b/2 − 1, where i is the number of interior lattice points and b the boundary points — you find the area by counting dots, without integration. The formula was given by Georg Pick in 1899.

Pick's theorem
Mathematics · Geometry · Pick’s theorem (1899)
Pick a polygon with vertices at lattice points:
The area of a polygon with vertices at lattice points can be found…
inside i
8
boundary b
16
i + b/2 − 1
15
area P
15
🎯 Challenge: compute the area with Pick’s formula
streak: 0

I’ll give you the number of interior and boundary points — compute the area of the lattice polygon: P = i + b/2 − 1.

What just happened?

You changed the figure — from a rectangle to a non-convex polygon. Each time the number of lattice points inside (ii) and on the boundary (bb) was different, yet i+b2−1i + \tfrac{b}{2} - 1 always gave exactly the area of the figure. You found the area by counting dots.

Pick’s theorem:

P=i+b2−1P = i + \tfrac{b}{2} - 1

Formulated by the Austrian mathematician Georg Pick in 1899, it gives a surprisingly simple formula for the area of a polygon whose vertices all lie on lattice points (with integer coordinates): ii is the number of lattice points inside the polygon, and bb is the number of lattice points on its boundary. This means the area can be found simply by COUNTING DOTS — no integration, no complicated formulas!

Check for yourself:

Rectangle: 8+162−1=158 + \tfrac{16}{2} - 1 = 15. Triangle: 6+102−1=106 + \tfrac{10}{2} - 1 = 10. L-polygon: 5+162−1=125 + \tfrac{16}{2} - 1 = 12. Each time the result matches the area computed with the shoelace formula.

How to count b (boundary points)?

On each boundary segment the number of lattice points (not counting one endpoint) is the greatest common divisor of the coordinate differences: for a segment from (x1,y1)(x_1,y_1) to (x2,y2)(x_2,y_2) it is gcd⁡(∣x2−x1∣, ∣y2−y1∣)\gcd(|x_2-x_1|,\,|y_2-y_1|). Summing over all sides gives bb.

For any simple polygon:

The formula works for any (including non-convex) simple polygon with lattice vertices. Pick’s theorem is a favourite example of “discrete mathematics meeting geometry” and is used, among other things, in computational geometry.

Why this matters for the exam:

When a figure has vertices at lattice points, you can compute the area as P=i+b2−1P = i + \tfrac{b}{2} - 1 without splitting it into triangles and trapezia — just carefully count the dots inside and on the boundary. It is also an elegant example of the link between geometry and discrete mathematics.

Remember: for a polygon with lattice vertices P=i+b2−1P = i + \tfrac{b}{2} - 1 — the interior points plus half the boundary points minus one give the area.

Illustrative model · NexTutor Virtual laboratory

Enjoyed the experiment? Share it.

It's free — send it to friends from school.

Theory & formulas

Pick's formula

For a polygon with vertices at grid nodes: P=i+b2−1P=i+\frac{b}{2}-1

How to count

  • ii — the number of grid nodes strictly inside the polygon,
  • bb — the number of grid nodes on the boundary (including the vertices).

Advantages

It works for any simple polygon (including non-convex ones) — you find the area by counting dots, without integration.

Notation: PP area, ii interior nodes, bb boundary nodes.

Frequently asked questions

›

How do you compute the area of a polygon on a grid?

With Pick's formula: P = i + b/2 − 1, where i is the number of grid points inside and b on the boundary.

›

Does Pick's formula work for non-convex polygons?

Yes — for any simple polygon with vertices at grid nodes.

›

Who formulated Pick's theorem?

The Austrian mathematician Georg Alexander Pick, in 1899.

Teaching? Embed this experiment on your site.

Free widget — paste it on your school site, blog or notes. It links to the full version.

Teaching a class or tutoring? Guide students in NexTutor →