Omni Calculator logo

Width of a Rectangle Calculator

Created by Rijk de Wet
Reviewed by Vishnuvardhan Shakthibala
Last updated: Jan 16, 2024


The width of a rectangle calculator can take two dimensions of your rectangle (height, area, diagonal, or perimeter) and work out the width of your rectangle. We'll also show you some formulas for the width of a rectangle, that are based on what information you have available. So don't be a square and read on!

How to use the width of a rectangle calculator?

Using the width of a rectangle calculator is easy, with only two steps. Here's how.

  • Enter the dimensions that you know of the rectangle.
  • Find your rectangle width in the bottom box.
  • The calculator is omni-directional — if you want to work backwards instead, you can change the rectangle's width and see how its other dimensions react.
  • And that's it! Now you know how to calculate the width of a rectangle!

How do I calculate the width of a rectangle?

Depending on what information you have available, there are many ways to calculate the width of a rectangle.

  • If you have the area A and length h, its width w is w = A/h.
  • If you have the perimeter P and length h, its width is w = P/2−h.
  • If you have the diagonal d and length h, it's width can be found with w = √(d²−h²).
  • If the rectangle's length is not known, you'd need to do some algebra with the quadratic equation to solve for the width.

That's a lot of different formulas for the width of a rectangle! It's because there are multiple equations that govern the dimensions of a rectangle. Here they are:

A=w×hP=(w+h)×2d=w2+h2\begin{split} A &= \textcolor{red}{w} \times h \\ P &= (\textcolor{red}{w}+h)\times 2 \\ d &= \sqrt{\textcolor{red}{w}^2 + h^2} \end{split}

where:

  • ww is the rectangle's width;
  • hh is the rectangle's length;
  • AA is the rectangle's area;
  • PP is the rectangle's perimeter; and
  • dd is the length of the rectangle's diagonal (as described by the Pythagorean theorem).

Here's a neat visual:

A rectangle with its length, width, diagonal, perimeter, and area labelled.
A rectangle with its length hh, width ww, diagonal dd, perimeter PP, and area AA labelled.

FAQ

What is the width of a rectangle?

A rectangle has four sides, but because the sides are paired, there are only two unique dimensions. Conventionally, the width is the shortest of these two dimensions, but when the rectangle is presented as lying on its side, the horizontal side is usually called the width.

What is the width of a rectangle with length 4 m and area 20 m?

Using the formula for a rectangle's area, A = h × w, we can follow these steps:

  1. Rewrite the area formula to make the width w the subject of the equation: w = A/h.
  2. Plug in the values: w = 20/4.
  3. Do the math and find that w = 5 m.
Rijk de Wet
Image of a rectangle with sides a and b, diagonal d, perimeter and area marked.
Length (h)
ft
Diagonal (d)
ft
Perimeter (P)
ft
Area (A)
ft²
Rectangle width
Width (w)
ft
Check out 23 similar 2d geometry calculators 📏
AreaArea of a rectangleArea of crescent… 20 more
People also viewed…

Ceiling function

The ceiling function calculator explains all you need to know about this simple yet so useful math function!

Chilled drink

With the chilled drink calculator you can quickly check how long you need to keep your drink in the fridge or another cold place to have it at its optimal temperature. You can follow how the temperature changes with time with our interactive graph.

Korean age

If you're wondering what would your age be from a Korean perspective, use this Korean age calculator to find out.

Power of 10

The Power of 10 Calculator helps you find the result of 10 raised to a positive or negative exponent.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service