Tool to apply and calculate a surface using the Pick's Theorem that allows the calculation of the area of a polygon positioned on a lattice (normalized orthogonal grid) and whose vertices are points of the grid.
Pick's Theorem - dCode
Tag(s) : Geometry
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Pick's Theorem is a mathematical formula that allows you to calculate the area of a polygon whose vertices have integer coordinates in a Cartesian plane (a 2D grid/grid).
For a polygon with $ b $ vertices constructed on a grid (the vertices are grid points) having $ i $ points inside it, Pick's formula indicates that the area $ A $ of the polygon is $$ A = i + \frac{b}{2} - 1 $$
All points present on the contour are considered vertices (vertex angles are flat in this case).
Pick's formula requires two parameters: the number $ i $ of interior points of the polygon and the number $ b $ of points on the contour/perimeter of the polygon. The area $ A $ of the polygon is $ A = i + \frac{b}{2} - 1 $
Yes, Pick's Theorem can be applied to concave polygons as long as the vertices have integer coordinates.
Pick's Theorem only applies to simple polygons with no holes inside. However, if the hole(s) form a polygon eligible for Pick's Theorem, then it is possible to calculate the area of the hole polygon (ignoring the holes) and subtract the areas of the holes to obtain the area of the hole. polygon with holes.
The formula owes its name to Georg Alexander Pick who described it in 1899.
dCode retains ownership of the "Pick's Theorem" source code. Any algorithm for the "Pick's Theorem" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Pick's Theorem" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Pick's Theorem" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Pick's Theorem" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Pick's Theorem on dCode.fr [online website], retrieved on 2025-04-16,