# Area of rectangle by coordinates

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

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 semicolon. The calculator builds convex hull, using Jarvis march, then calculates four sides of the hull and one diagonal between first and third points of the hull. Then the calculation is trivial. Here, for example, quadrilateral is split by diagonal to two triangles, and the area of each triangle then calculated using Hero's formula.

## Comments