Rectangle Diagonal Calculator

Compute rectangle diagonal from width w and height h using d = √(w² + h²).

📐 計算公式
矩形對角線與要素(本頁程式碼口徑):對角線 d=√(寬²+高²);面積=寬×高;周長=2×(寬+高);兩對角線夾角=2×atan(寬高較小者÷較大者)×180÷π(°)。校驗:兩項輸入空值/非法值即提示並中止。判據:無固定分級,正方形時夾角為 90°、越扁夾角越小;對角線相互平分且相等。

矩形對角線長度。

Formula & Standard References

Item Formula / Note Source / Standard
Rectangle diagonald = √(w² + h²)Pythagorean theorem
AreaA = w·hRectangle area
PerimeterP = 2(w + h)Rectangle perimeter
Screen sizingInches measure the diagonalDisplay industry
Aspect ratio16:9 and 4:3 commonDisplay standards
UnitsConsistent length unitsDimensional rules
📌 計算說明
  • d = √(w² + h²)。
  • 3×4 矩形對角線 5。