LogoPractical Web Tools

Free Forever

All our tools are completely free to use. No account required, No hidden fees and No subscriptions.

Fast & Secure

All processing happens in your browser. Your files never leave your device.

No File Size Limits

Convert files of any size. No restrictions on file sizes or number of conversions.

Batch Processing

Convert multiple files at once to save time and effort.

File Converters

  • PDF Tools
  • Image Converter
  • Video Converter
  • Audio Converter
  • Document Converter
  • eBook Converter
  • Archive Tools
  • File Tools

Calculators

  • Finance Calculators
  • Health Calculators
  • Math Calculators
  • Science Calculators
  • Other Tools

Popular Tools

  • PDF to Word
  • HEIC to JPG
  • Merge PDF
  • Fillable PDF Creator
  • Mortgage Calculator
  • BMI Calculator
  • AI Chat

Company

  • About Us
  • Blog
  • Contact
  • Request a Tool

Legal

  • Privacy Policy
  • Terms of Service
Email Support
Practical Web Tools Logo
Practical Web Tools

Free Tools — Your Files Never Leave Your Device

Practical Web Tools - Convert files & chat with AI — fully offline | Product Hunt

© 2026 Opal Emporium LLC. All rights reserved.

Privacy-first file conversion and AI chat. No accounts, no uploads, no tracking.

  1. Home
  2. Math Calculators
  3. Rectangle Calculator

Rectangle Calculator

Calculate rectangle area, perimeter, diagonal, and aspect ratio. Enter two sides and get all measurements instantly with interactive visualization.

Formula:A = a × b | P = 2(a + b) | d = √(a² + b²)

Rectangle Properties

Area

40.0000 cm²

Perimeter26.0000 cm
Diagonal9.4340 cm
Aspect Ratio0:0

Rectangle Dimensions

Try These Examples

Common rectangle sizes

Rectangle Visualization

a = 8.00 cmb = 5.00 cmd = 9.43

Complete Results

Side a

8.0000 cm

Side b

5.0000 cm

Area

40.0000 cm²

A = a x b

Perimeter

26.0000 cm

P = 2(a + b)

Diagonal

9.4340 cm

d = sqrt(a² + b²)

Aspect Ratio

0:0

(1.6000:1)

Inscribed Circle Radius

2.5000 cm

r = min(a,b) / 2

Circumscribed Circle Radius

4.7170 cm

R = d / 2

Common Rectangle Sizes

NameDimensionsAspect RatioUse Case
A4 Paper210 x 297 mm1:1.414Documents
US Letter8.5 x 11 in1:1.294Documents
HD Video1920 x 1080 px16:9Video/TV
4K Video3840 x 2160 px16:9Video/TV
Instagram Post1080 x 1080 px1:1Social Media
Golden Rectangle1 x 1.6181:1.618Art/Design
Credit Card85.6 x 53.98 mm1.586:1Finance

Rectangle Formulas

Basic Formulas

  • Area: A = a x b
  • Perimeter: P = 2a + 2b = 2(a + b)
  • Diagonal: d = sqrt(a² + b²)

Derived Values

  • a from A & b: a = A / b
  • a from P & b: a = (P / 2) - b
  • Aspect Ratio: a / b

Note: A rectangle has four right angles (90 degrees), making it a special case of a parallelogram. The diagonals bisect each other and are equal in length.

Rectangle Properties

Area

40.0000 cm²

Perimeter26.0000 cm
Diagonal9.4340 cm
Aspect Ratio0:0

?How to Calculate Rectangle Properties

Rectangle formulas: Area = length x width. Perimeter = 2(length + width). Diagonal = square root of (length squared + width squared). The aspect ratio is expressed as length:width. All measurements can be calculated from any two known values.

What is a Rectangle?

A rectangle is a quadrilateral with four right angles. Opposite sides are equal and parallel. Key measurements include length (longer side), width (shorter side), area (space enclosed), perimeter (total boundary length), and diagonal (line connecting opposite corners). The diagonals of a rectangle bisect each other and are equal in length.

Key Facts About Rectangles

  • Area = length x width (A = a x b)
  • Perimeter = 2(length + width) = 2a + 2b
  • Diagonal = sqrt(a^2 + b^2) using Pythagorean theorem
  • A rectangle has 4 right angles (90 degrees each)
  • Opposite sides are equal and parallel
  • The diagonals of a rectangle are equal in length
  • Aspect ratio is the ratio of length to width (a:b)
  • A square is a special rectangle where a = b

Practice Rectangle Problems

Test your understanding of rectangles

Practice with 4 problems to test your understanding.

Related Geometry Tools

Explore more shape calculators

Circle Calculator

Area, circumference, radius

Triangle Calculator

Area, perimeter, angles

Rectangle Calculator

Area and perimeter

Square Calculator

Area and perimeter

Sphere Calculator

Volume and surface area

Cylinder Calculator

Volume and surface area

View all math calculators

Quick Answer

Rectangle formulas: Area = length x width. Perimeter = 2(length + width). Diagonal = square root of (length squared + width squared). The aspect ratio is expressed as length:width. All measurements can be calculated from any two known values.

Frequently Asked Questions

The area (A) of a rectangle is calculated by multiplying the length by the width: A = length x width, or A = a x b. This gives you the total space enclosed by the rectangle in square units.

Area = length x width (A = a x b).

The perimeter (P) is the total distance around the rectangle. P = 2(length + width) = 2(a + b) = 2a + 2b. You add all four sides together, or simply double the sum of length and width.

Perimeter = 2(length + width) = 2a + 2b.

The diagonal (d) connects opposite corners of the rectangle. Using the Pythagorean theorem: d = sqrt(a^2 + b^2), where a and b are the sides. Both diagonals of a rectangle are equal in length.

Diagonal = sqrt(length^2 + width^2).

Aspect ratio describes the proportional relationship between width and height of a rectangle, expressed as a:b or as a decimal. Common aspect ratios include 16:9 (widescreen), 4:3 (standard), and 1:1 (square).

The ratio of length to width, like 16:9 or 4:3.

A golden rectangle has an aspect ratio equal to the golden ratio (approximately 1.618:1). This ratio appears frequently in nature, art, and architecture and is considered aesthetically pleasing.

A rectangle with aspect ratio of ~1.618:1 (the golden ratio).

A square is a special type of rectangle where all four sides are equal (a = b). While every square is a rectangle, not every rectangle is a square. Squares have all the properties of rectangles plus equal sides.

A square is a rectangle with all sides equal (a = b).

Last updated: 2025-01-15

Rectangle Properties

Area

40.0000 cm²

Perimeter26.0000 cm
Diagonal9.4340 cm
Aspect Ratio0:0