全球免费使用

勾股定理计算器

解直角三角形:用 a² + b² = c² 求斜边或缺失的边,并给出角度、面积和周长。

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

输入

提示:按 Ctrl + Enter 运行

你的结果

结果将显示在这里。

下方的详细帮助目前仅提供英文版。

关于此工具

The Pythagorean theorem links the three sides of any right triangle. Choose which side to find (the hypotenuse c or one of the legs a or b) enter the other two, and this calculator returns all three sides, both acute angles, the area and the perimeter. It is handy for ladders against walls, diagonal measurements, ramps and checking that a corner is square.

使用方法

  1. Choose what to solve for: the hypotenuse or a leg.
  2. Enter the two known sides; the hypotenuse is the longest side, opposite the right angle.
  3. Run the calculation.
  4. Read the missing side, angles, area and perimeter.

计算原理

c = √(a² + b²) or a = √(c² − b²). Angle α = atan(a ÷ b) and β = 90° − α. Area = a × b ÷ 2.

c = √(a² + b²); a = √(c² − b²)

计算示例

A 17-foot ladder must reach a window, with its foot 8 feet from the wall. Solving for side a with b = 8 and c = 17 gives a height of 15 feet; the ladder makes a 61.9275° angle with the ground. Entering a hypotenuse shorter than a leg, such as c = 7 with b = 8, is rejected because no such triangle exists.

示例输入和结果

求解: 斜边 c
边 a: 3
边 b: 4
斜边 c: 5

→ 边 a: 3
→ 边 b: 4
→ 斜边 c: 5
→ 角 α(a 的对角): 36.8699°
→ 角 β(b 的对角): 53.1301°
→ 面积: 6

局限性

  • Right triangles only.
  • Sides must be positive and the hypotenuse the longest.
  • Angles are in degrees.

最后更新:

常见问题

Which side is the hypotenuse?

The longest side, opposite the 90° angle.

How do builders check a square corner?

The 3-4-5 rule: measure 3 units along one wall and 4 along the other; the diagonal should be 5.

Does it work for triangles without a right angle?

No. Those need the law of cosines.

故障排除

It reports an error when solving for a leg.

The hypotenuse must be longer than the known leg.

Results have long decimals.

Most side lengths are irrational; round to the precision you can measure.

I need the distance between two points.

The slope calculator gives it directly.

隐私 & 免费使用

我的输入会被保存吗?

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

这个工具免费吗?

是的。无需注册或付费。

在浏览器中处理

推荐下一步