Online Calculators

# Rectangle Calculator

Rectangle Calculator
side length
a =
side length
b =
diagonal
p = q =
perimeter
P =
area
A =

## Rectangle Shape

a = length side a
b = length side b
p = q = diagonals
P = perimeter
A = area
√ = square root

## Calculator Use

Use this calculator if you know 2 values for the rectangle, including 1 side length, along with area, perimeter or diagonals and you can calculate the other 3 rectangle variables. A square calculator is a special case of the rectangle where the lengths of a and b are equal.

Units: Note that units of length are shown for convenience. They do not affect the calculations. The units are in place to give an indication of the order of the calculated results such as ft, ft2 or ft3. Any other base unit can be substituted.

## Rectangle Formulas

A = ab

P = 2a + 2b

### Polygon diagonals of a rectangle:

p = q = √(a2 + b2)

## Rectangle Calculations

• Calculate A, P, p | Given a, b
Given sides lengths a and b calculate area, perimeter and diagonals
• A = ab
• P = 2a + 2b
• p = q = √(a2 + b2)
• Calculate P, p, b | Given A, a
Given area and side length a calculate perimeter, diagonals and side b
• b = A / a
• P = 2a + 2b
• p = q = √(a2 + b2)
• Calculate P, p, a | Given A, b
Given area and side length b calculate perimeter, diagonals and side a
• a = A / b
• P = 2a + 2b
• p = q = √(a2 + b2)
• Calculate A, p, b | Given P, a
Given perimeter and side length a calculate area, diagonals and side b
• b = (P - 2a) / 2
• A = ab
• p = q = √(a2 + b2)
• Calculate A, p, a | Given P, b
Given perimeter and side length b calculate area, diagonals and side a
• a = (P - 2b) / 2
• A = ab
• p = q = √(a2 + b2)
• Calculate A, P, b | Given p, a
Given diagonals and side length a calculate area, perimeter and side b
• b = √(p2 - a2)
• A = ab
• P = 2a + 2b
• Calculate A, P, a | Given p, b
Given diagonals and side length b calculate area, perimeter and side a
• a = √(p2 - b2)
• A = ab
• P = 2a + 2b

Cite this content, page or calculator as:

Furey, Edward "Rectangle Calculator" at https://www.calculatorsoup.com/calculators/geometry-plane/rectangle.php from CalculatorSoup, https://www.calculatorsoup.com - Online Calculators

Last updated: February 6, 2024
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}