# Area of a rectangle by coordinates

This online calculator calculates area of a convex quadrilateral (rectangles too) given coordinates of four vertices (corners)

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/8580/. Also, please do not modify any references to the original work (if any) contained in this content.

The online calculator below calculates the area of a rectangle, given coordinates of its vertices. In fact, the calculation is quite generic, so it can also calculate the area of parallelogram, square, rhombus, trapezoid, kite, etc., that is, the area of any convex quadrilateral.

Enter the set of points into the calculator below - one point per line, with x and y coordinates separated by a semicolon. The calculator builds a convex hull, using Jarvis march, then calculates four sides of the hull and one diagonal between the hull's first and third points. Then the calculation is trivial. Here, for example, a quadrilateral is split by diagonal into two triangles, and the area of each triangle then calculated using the Heron formula.

## Comments