← Toolz / Calculators / Rectangle Calculator

Rectangle Calculator

Your inputs

Area = width × height. Diagonal = √(width² + height²).

Live results

Auto-updates
Result visualization

Calculate a rectangle's area, perimeter, diagonal and the diagonal's angle from its length and width — a square or golden-ratio pair of sides is called out when it occurs — with the formulas shown, free online, no signup needed.

100% free · No sign-up · No daily limits · No watermarks · Runs in your browser — your numbers stay on your device

UNDERSTAND YOUR RESULTS

Rectangle Calculator guide

Calculate a rectangle's area, perimeter, diagonal and the diagonal's angle from its length and width — a square or golden-ratio pair of sides is called out when it occurs — with the formulas shown, free online, no signup needed.

How to use this tool

  1. Enter Width, Height.
  2. Change a value to update the results and illustration. Check any validation message before using the output.
  3. Copy the results or download CSV. Reset restores the example values.

A worked example

Width 8 and height 5 give area 40, perimeter 26 and a diagonal of about 9.434 meeting the width at about 32.01°. Equal sides are called out as a square, and a pair in the golden proportion (about 1.618 to 1) is flagged as a golden rectangle.

What you can do with this tool

How it works

Area = width × height. Diagonal = √(width² + height²).

Frequently asked questions

Can I find the sides if I only know the diagonal and one side?

Yes. The diagonal is the hypotenuse of a right triangle, so the missing side is the square root of (diagonal² − known side²).

Should I use area or perimeter for my project?

Area measures coverage — paint, flooring, turf. Perimeter measures the boundary — fencing, edging, skirting board.

Why is the area in square units?

Because it counts unit squares that fit inside the shape. A 4 m × 3 m room is 12 m², not 12 m.