Rectangle Area Calculator

Free rectangle area calculator. Enter length and width, or work backwards from perimeter or diagonal to find area, perimeter, diagonal, aspect ratio and optional cost. Includes formulas and FAQs.

Full original guide (expanded)

Rectangle Area Calculator

Compute rectangle area, perimeter, diagonal, aspect ratio, and an optional material cost. Start from length–width, perimeter–side, or diagonal–side.

L & W in this unit

Rectangle formulas used

Area: \( A = L \times W \)

Perimeter: \( P = 2(L + W) \)

Diagonal: \( d = \sqrt{L^2 + W^2} \)

From perimeter + one side: \( W = \frac{P}{2} - L \)

From diagonal + one side: \( W = \sqrt{d^2 - L^2} \)

FAQs

Can I use different units for length and width?

No — convert to a single unit first (e.g. all in inches) so the area can be computed correctly.

What if length equals width?

Then your rectangle is a square. The calculator will notice and tell you.

What does cost per unit² mean?

If you know, for example, that flooring costs 20 €/m², enter 20 and we’ll multiply area × 20.


Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[','\\]
','\
Formula (extracted text)
Area: \( A = L \times W \) Perimeter: \( P = 2(L + W) \) Diagonal: \( d = \sqrt{L^2 + W^2} \) From perimeter + one side: \( W = \frac{P}{2} - L \) From diagonal + one side: \( W = \sqrt{d^2 - L^2} \)
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn
Formulas

(Formulas preserved from original page content, if present.)

Version 0.1.0-draft
Citations

Add authoritative sources relevant to this calculator (standards bodies, manuals, official docs).

Changelog
  • 0.1.0-draft — 2026-01-19: Initial draft (review required).