Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

Rectangle Calculator

  • Free
  • Runs in your browser
  • No account needed

Enter length and width and you get area, perimeter, diagonal and the angle instantly. Example: 3 m by 4 m gives area 12 m^2, perimeter 14 m, diagonal 5 m and angle 53.13 degrees.

Area
48 square m
Perimeter
28 m
Diagonal
10 m
Angle between diagonal and length
36.8699 °
Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About the Rectangle Calculator

This Rectangle Calculator computes area, perimeter, diagonal and the angle between the diagonal and the length from two inputs: length and width. You pick units from mm, cm, m, inches, feet or any unit. Results update instantly as you type; there is no calculate button. You can copy any single result and create a share link that reopens with your numbers. Calculations run in your browser and nothing is uploaded to a server. The tool uses standard geometry formulas: A = length × width, P = 2 × (length + width), d = sqrt(length^2 + width^2), and angle = arctan(width/length). The tool stays focused on forward mode (length and width only) and gives quick, accurate numbers for students, DIYers, builders and designers who need fast checks and clear results.

How to use it

  1. 1Enter the length value.
  2. 2Enter the width value.
  3. 3Select the unit (mm, cm, m, inches, feet or any unit).
  4. 4Read area, perimeter, diagonal and diagonal-angle which update instantly.
  5. 5Copy a result or create a share link to reopen the same numbers.
Advertisement

Worked example

Input: Length = 3 m, Width = 4 m, Unit = m. Results: Area = 12 m^2, Perimeter = 14 m, Diagonal = 5 m, Angle between diagonal and length = 53.13 degrees.

The formula

Area = length × width Perimeter = 2 × (length + width) Diagonal = sqrt(length^2 + width^2) (Pythagoras) Angle between diagonal and length = arctan(width / length) (in degrees multiply by 180 / pi) Note: area units are the square of the chosen linear unit (for example m^2 or ft^2)

Source: OpenStax, Prealgebra (area and perimeter)MathWorld, Rectangle. Last checked 5 November 2026.

What it is good for

  • Instant results as you type with no calculate button.
  • Runs in your browser so nothing is uploaded to a server.
  • Unit selector supports mm, cm, m, inches, feet or any unit.
  • Accepts only length and width inputs; it does not solve inverse problems from area, perimeter or diagonal.
  • You must enter both values in the same unit before calculating.
Advertisement

Questions people ask

How do I calculate the area of a rectangle?

Multiply length by width. For example, 2 m times 5 m equals 10 m^2. This tool applies that same formula and shows the result instantly.

How do I calculate the perimeter of a rectangle?

Add length and width then multiply by two: P = 2 × (length + width). For length 3 m and width 4 m the perimeter is 14 m.

How do I find the diagonal of a rectangle?

Use the Pythagorean theorem: diagonal = sqrt(length^2 + width^2). For a 3 m by 4 m rectangle the diagonal is 5 m.

Can I find the sides from area and perimeter with this tool?

Not in this tool. Recovering sides from area and perimeter requires solving a quadratic and checking feasibility. Use a solver that supports inverse modes for that task.

What units should I use?

Use the same linear unit for length and width, such as metres or feet. Area will display in the squared unit, for example m^2 or ft^2.

Why do my numbers look impossible?

Some measurement pairs are geometrically impossible. For example area and perimeter pairs must meet feasibility rules. If results conflict, check your input units and values.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement