Home › Math & Science Calculators › Diagonal Calculator (Rectangle, Square & 3D Box Framing)
Geometry & Squaring

Diagonal Calculator (Rectangle, Square & 3D Box Framing)

Calculate the exact diagonal length of any rectangle, square foundation, screen, or 3D box—and convert decimal feet into carpentry feet, inches, and 16ths.

📐 Calculator Parameters
Calculated Results
2D Diagonal Length (d)
—
Corner-to-corner hypotenuse
Carpentry Tape Measure (If Feet)
—
Feet, Inches & 1/16″ fraction
Rectangle Area & Perimeter
—
Surface area and outer boundary
3D Space Diagonal (If Height > 0)
—
√(a² + b² + c²)

🏢 Request Project Parameters & Verified Quote

Free Local Inquiry

Compare verified rates, customized parameters, and specialist estimates for your calculation without obligation.

🔒 100% Private & Confidential • Direct Network • Zero Spam

How to Use the Diagonal Calculator (Rectangle, Square & 3D Box Framing)

Derived directly from the Pythagorean Theorem, the diagonal of any rectangle or square is the square root of the sum of its squared length and width (d = √(a² + b²)). In construction, concrete form setting, and deck framing, pulling diagonal tape measurements from corner to corner is the most accurate way to verify that four walls form perfect 90-degree right angles.

Formula and Calculation Methodology

d2D = √(a2 + b2),   d3D = √(a2 + b2 + c2)
  • a, b: Adjacent perpendicular sides (Length and Width) of the rectangle
  • d_2D: 2D planar diagonal connecting opposite corners (Pythagorean hypotenuse)
  • d_3D: 3D interior space diagonal connecting opposite vertices of a rectangular prism

When two opposite diagonals of a framed rectangle measure the exact same length—and match the theoretical Pythagorean hypotenuse—the layout is guaranteed to be ‘square.’ Because standard calculators output decimals (such as 14.142 feet) while carpenter tape measures read in feet, inches, and sixteenths of an inch (14′ 1-11/16″), our tool automatically converts both formats simultaneously.

Common Deck & Foundation Framing Diagonal Measurements (Feet & Inches)

Dimensions (L × W)Decimal Diagonal (ft)Tape Measure (Ft – In – 16ths)3-4-5 Ratio Multiple?
8 ft × 6 ft10.000 ft10′ 0″Yes (2x 3-4-5)
10 ft × 10 ft14.142 ft14′ 1-11/16″Square (a√2)
12 ft × 16 ft20.000 ft20′ 0″Yes (4x 3-4-5)
12 ft × 20 ft23.324 ft23′ 3-7/8″No
16 ft × 24 ft28.844 ft28′ 10-1/8″No
20 ft × 30 ft36.056 ft36′ 0-11/16″No

Frequently Asked Questions

How do you find the diagonal of a square quickly?

For any square with side length s, the diagonal is simply s × √2 (approximately s × 1.4142). For example, a 10-foot square has a diagonal of 14.142 feet.

How do carpenters square a deck or foundation using diagonals?

Measure both corner-to-corner diagonals (from Front-Left to Back-Right, and Front-Right to Back-Left). Rack or adjust the frame until both diagonal measurements are identical and equal to √(L² + W²).

What is the 3D space diagonal of a box?

If you want to know the longest rod or pipe that can fit diagonally from the bottom-front-left corner to the top-back-right corner of a shipping container or room, use d = √(L² + W² + H²).

🔗 Related Diet & Nutrition Calculators

</> Embed on Your Website

Copy and paste this code to embed this calculator directly on your blog, wiki, or community site: