如何计算Heron's Formula
learn.whatIsHeading
Heron's formula calculates triangle area from three side lengths. Named after Hero of Alexandria (c. 10–70 AD), it requires no height measurement.
公式
s = (a+b+c)/2; A = √(s(s−a)(s−b)(s−c))
- a, b, c
- side lengths (length)
- s
- semi-perimeter (length)
- A
- triangle area (length²)
分步指南
- 1Compute s = (a+b+c)/2
- 2Area = √(s·(s−a)·(s−b)·(s−c))
- 3Verify triangle inequality first
- 4Result is exact for integer sides
例题解析
输入
a=3, b=4, c=5
结果
Area = 6 (right triangle)
输入
a=13, b=14, c=15
结果
Area = 84
常见问题
What is the difference between heron-formula and heron-formula-calc?
The -calc version is a focused calculator; heron-formula is the broader educational reference.
Can Heron's formula be used for any triangle?
Yes, any valid triangle (satisfying triangle inequality). It works for right, acute, and obtuse triangles.
How does Heron's formula compare to ½ × base × height?
Both give the same area. Heron's formula is used when height is unknown; base × height when height is known.
准备好计算了吗?尝试免费的 Heron's Formula 计算器
自己尝试一下 →