Rectangle (Coordinate Geometry)

A quadrilateral where all interior angles are 90°, and whose location on the coordinate plane is determined by the coordinates of the four vertices (corners).
Try this Drag any vertex of the rectangle below. It will remain a rectangle and its dimensions calculated from its coordinates. You can also drag the origin point at (0,0).

A rectangle is similar to an ordinary rectangle (See Rectangle definition ) with the addition that its position on the coordinate plane is known. Each of the four vertices (corners) have known coordinates. From these coordinates, various properties such as width, height etc can be found.
It has all the same properties as a familiar rectangle:

See Rectangle definition for more.

Dimensions of a rectangle

The dimensions of the rectangle are found by calculating the distance between various corner points. Recall that we can find the distance between any two points if we know their coordinates. (See Distance between Two Points ) So in the figure above:

This method will work even if the rectangle is rotated on the plane, as in the figure above. But if the sides of the rectangle are parallel to the x and y axes, then the calculations can be a little easier.
In the above figure uncheck the "rotated" box to create this condition and note that:


The example below assumes you know how to calculate the distance between two points, as described in Distance between Two Points. In the figure above, click 'reset' and 'show diagonals'

Things to try

  1. In the figure at the top of the page, click on "hide details" .
  2. Then drag the corners to create an arbitrary rectangle.
  3. Calculate the width, height and the length of the diagonals.
  4. Click 'show details' and "show diagonals" to verify your answer.


In the interest of clarity in the applet above, the coordinates are rounded off to integers and the lengths rounded to one decimal place. This can cause calculatioons to be slightly off.

For more see Teaching Notes

Other Coordinate Geometry topics