Plane geometry

Rectangle Calculator

Calculate area, perimeter and diagonal from two perpendicular side lengths. These equations require a rectangle, not an arbitrary quadrilateral.

  • Explicit formulas and worked examples
  • Check your inputs, then calculate
  • Data is calculated in this browser only

Check the stated input format, calculation convention and limits before using the result.

Your inputs

Local calculation

Check the example inputs, then calculate. Your values stay in this browser.

Both lengths must be positive and in the same unit.

Calculation notes

Understand the Rectangle Calculator

Choose the right record before calculating

Use positive perpendicular length and width in one unit. Area, perimeter and diagonal serve different purposes: coverage, boundary length and corner-to-corner length. A skewed quadrilateral does not become a rectangle merely because two adjacent side lengths are known.

Content and calculation reviewed:

Understand the calculation

How to use it and the math behind it

Read the complete explanation

Four steps to check your inputs and results

  1. Calculate area, perimeter and diagonal from two perpendicular side lengths. These equations require a rectangle, not an arbitrary quadrilateral.
  2. Enter First side, Second side in the stated format. Baseline values are for reproduction.
  3. Check the output unit and convention: Read area with its stated unit and convention. The default example and the independent worked scenario use different inputs, so compare the assumptions before comparing the numbers.
  4. Change one input and compare the result. Both lengths must be positive and in the same unit. Area uses squared units, while perimeter and diagonal use length units.

Rectangle Calculator: calculation relationships

A rectangle combines two perpendicular lengths. Sides 5 and 12 give area 60, perimeter 34 and diagonal √(25+144)=13. Area counts unit squares, while perimeter and diagonal measure length. Equal perimeters do not imply equal areas; the equations do not apply to a skewed quadrilateral without right angles.

area = a × b; perimeter = 2(a+b); diagonal = √(a²+b²)

The detailed guide adds variable definitions, a reproducible example, a practice question and model limitations.

Questions before you calculate

Is diagonal equal to length plus width?

No. It is the square root of the sum of their squares.

Does equal perimeter imply equal area?

No, as the 6-by-8 and 5-by-9 examples show.

Can I use adjacent sides of a parallelogram?

Area needs perpendicular height and diagonal needs angle information.

What happens if both sides double?

Perimeter and diagonal double; area becomes four times as large.

Does the area include material waste?

No. Add project-specific allowances separately.

Take the calculator with you

Embed this calculator

Formula sheet (English PDF)

Use the iframe for a fixed-height embed, or the JavaScript helper for automatic height. Calculations stay inside the frame; inputs and results are never sent to your site.

The optional Toolify source link uses nofollow. The calculator keeps working if you remove the link. No analytics or advertising scripts load in the widget. Use offline tools

From question to result

Continue with a related question

Explore all Plane geometry tools and guides