Skip to main content

วิธีการคำนวณ 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²)

คำแนะนำทีละขั้นตอน

  1. 1Compute s = (a+b+c)/2
  2. 2Area = √(s·(s−a)·(s−b)·(s−c))
  3. 3Verify triangle inequality first
  4. 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 ฟรี

ลองด้วยตัวคุณเอง→

การตั้งค่า