# 海伦公式

**海伦公式**仅凭三角形三条边的长度就能求出其面积，无需借助高或角：若三边为 \( a \)、\( b \)、\( c \)，且 \( s = \frac{a+b+c}{2} \) 为半周长，则面积为 \( \sqrt{s(s-a)(s-b)(s-c)} \)。<sup>[1](https://openstax.org/books/algebra-and-trigonometry-2e/pages/10-2-non-right-triangles-law-of-cosines?modal=KS)</sup> 该公式归功于亚历山大港的海伦（Heron，或译希罗），其著作《度量论》（*Metrica*）约成书于公元60年，书中载有证明。<sup>[2](https://www.cimt.org.uk/sif/trigonometry/t3/interactive/s3.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 公式 | 面积 \( = \sqrt{s(s-a)(s-b)(s-c)} \)，其中 \( s = \frac{a+b+c}{2} \)<sup>[1](https://openstax.org/books/algebra-and-trigonometry-2e/pages/10-2-non-right-triangles-law-of-cosines?modal=KS)</sup> |
| 所需条件 | 仅需三条边长；无需高、角或坐标系<sup>[3](https://www.thestemprofessor.com/article/using-herons-formula-to-calculate-the-area-of-irregular-triangles-in-land-surveying/)</sup> |
| 归属 | 证明见于海伦《度量论》第一卷（约公元60年）；阿拉伯学者比鲁尼（al-Biruni）将这一结果归功于阿基米德<sup>[2](https://www.cimt.org.uk/sif/trigonometry/t3/interactive/s3.html)</sup><sup> • </sup><sup>[4](https://www.ms.uky.edu/~sohum/ma330/files/william-dunham-journey-through-genius-the-great-theorems-of-mathematics-penguin-non-classics1991014014739x.pdf)</sup> |
| 等边情形 | 对三边均为 \( a \) 的三角形，公式化为 \( \frac{\sqrt{3}}{4} a^{2} \)<sup>[5](https://philoid.com/ncert/chapter/iemh106)</sup> |
| 经典例子 | 边长13、14、15的三角形面积为精确的84<sup>[6](https://www.researchgate.net/publication/378810653_On_Heron%27s_Formula_for_the_Area_of_a_Plane_Triangle)</sup> |
| 推广 | 婆罗摩笈多公式将其推广至圆内接四边形；海伦公式是其中一边长度为零的特殊情形<sup>[7](https://mathworld.wolfram.com/BrahmaguptasFormula.html)</sup> |
| 数值告诫 | 在浮点运算中，经典形式对针状三角形会损失精度；威廉·卡汉（William Kahan）于2000年发表的一种变形可避免此问题<sup>[8](https://people.eecs.berkeley.edu/~wkahan/Triangle.pdf)</sup><sup> • </sup><sup>[9](https://www.nr.edu/math/pdf/Trigonometry_book.pdf)</sup> |

## 公式及其用法

半周长 \( s \) 是周长的一半，即 \( s = \frac{a+b+c}{2} \)。对真正的三角形而言，三个量 \( s-a \)、\( s-b \)、\( s-c \) 均为正，因为每一边都小于另两边之和。该公式的用武之地，恰恰是熟悉的 \( \frac{1}{2} \times \text{底} \times \text{高} \) 不便使用之时：当高难以从手头数据中轻易求出。<sup>[10](https://sathee.iitk.ac.in/ncert-books/ncert-books-theory/class-09/nbt-math-09/math-09-chapter-10-herons-formula/)</sup>

NCERT教材中有一个演算示例，用的是一座边长分别为40米、24米、32米的三角形公园。半周长为 \( s = \frac{40+24+32}{2} = 48 \) 米，故各因子为 \( s-a = 8 \)、\( s-b = 24 \)、\( s-c = 16 \)，面积为 \( \sqrt{48 \cdot 8 \cdot 24 \cdot 16} \) 平方米。<sup>[10](https://sathee.iitk.ac.in/ncert-books/ncert-books-theory/class-09/nbt-math-09/math-09-chapter-10-herons-formula/)</sup> 13-14-15三角形是备受青睐的整数情形：其面积恰为84。<sup>[6](https://www.researchgate.net/publication/378810653_On_Heron%27s_Formula_for_the_Area_of_a_Plane_Triangle)</sup> 边长与面积均为整数的三角形称为海伦三角形；13-14-15三角形可沿一条公共高，由毕达哥拉斯三角形（5, 12, 13）与（9, 12, 15）背靠背拼成。<sup>[11](https://link.springer.com/article/10.1007/s00283-024-10337-2)</sup>

该公式也经得起显而易见的自洽检验。对边长为 \( a \) 的等边三角形，半周长为 \( \frac{3a}{2} \)，公式给出 \( \frac{\sqrt{3}}{4} a^{2} \)，即标准的等边三角形面积。<sup>[5](https://philoid.com/ncert/chapter/iemh106)</sup> 它还可改写成不含半周长的对称形式：

\[ \Delta = \frac{1}{4}\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \]

这直接来自将各因子 \( s - a \) 等展开。<sup>[6](https://www.researchgate.net/publication/378810653_On_Heron%27s_Formula_for_the_Area_of_a_Plane_Triangle)</sup>

## 证明

证明方法众多，一篇系统综述将其归为几种基本思路：从关系式 \( \Delta = rs \)（其中 \( r \) 为内切圆半径）出发的几何证明；表明海伦公式等价于毕达哥拉斯定理的代数证明；常借助余弦定理的三角证明；以及由更一般定理特化而来的证明。<sup>[6](https://www.researchgate.net/publication/378810653_On_Heron%27s_Formula_for_the_Area_of_a_Plane_Triangle)</sup>

**内切圆路径。** 三角形面积等于 \( rs \)，即内切圆半径与半周长之积，因为内切圆将三角形分成三个高均为 \( r \) 的小三角形。<sup>[12](https://personal.math.ubc.ca/~cass/courses/m309-01a/goon/proof.html)</sup><sup> • </sup><sup>[6](https://www.researchgate.net/publication/378810653_On_Heron%27s_Formula_for_the_Area_of_a_Plane_Triangle)</sup> 海伦本人的证明采用传统的几何方法，涉及一个在三角形内作内切圆的巧妙构造。<sup>[3](https://www.thestemprofessor.com/article/using-herons-formula-to-calculate-the-area-of-irregular-triangles-in-land-surveying/)</sup>

**三角路径。** 从 \( A = \frac{1}{2}ab\sin C \) 出发，写出 \( \sin^{2} C = 1 - \cos^{2} C \)，代入余弦定理 \( c^{2} = a^{2} + b^{2} - 2ab\cos C \) 中的 \( \cos C \)，化简即得海伦形式。<sup>[2](https://www.cimt.org.uk/sif/trigonometry/t3/interactive/s3.html)</sup> 尽管该公式如今通常用三角方法推导，海伦在《度量论》中的证明却是几何的。<sup>[13](https://www.hlevkin.com/hlevkin/90MathPhysBioBooks/mathHistory/BoyerMerzbach-history-of-mathematics.pdf)</sup>

## 历史与归属

亚历山大港的海伦约生于公元10年，可能生于埃及亚历山大港，约卒于公元75年。他从事应用数学研究，其数学与物理方面的著作数量众多、内容庞杂，足以使他在这些领域被视为百科全书式的作家。<sup>[14](https://mathshistory.st-andrews.ac.uk/Biographies/Heron/)</sup><sup> • </sup><sup>[10](https://sathee.iitk.ac.in/ncert-books/ncert-books-theory/class-09/nbt-math-09/math-09-chapter-10-herons-formula/)</sup> 他的年代长期存在争议，有学派将他置于公元前150年前后，也有学派置于公元250年前后；1938年奥托·诺伊格鲍尔（Otto Neugebauer）发现海伦提及的一次月食可与公元62年3月13日23时在亚历山大港观测到的一次月食相认同，此后两种论点均被证明有误。<sup>[14](https://mathshistory.st-andrews.ac.uk/Biographies/Heron/)</sup>

海伦在《度量论》第一卷中以 \( A^{2} = s(s-a)(s-b)(s-c) \) 的形式证明了该公式。<sup>[14](https://mathshistory.st-andrews.ac.uk/Biographies/Heron/)</sup> 《度量论》是海伦最重要的几何著作，是一部三卷本的几何规则与公式汇编，材料取自多种来源，有些可追溯至古巴比伦；该书一度失传，直至1896年才重现。<sup>[15](https://unvis.it/www.britannica.com/EBchecked/topic/263417/Heron-of-Alexandria)</sup>

归功于海伦本人并不确凿。在一份古老的阿拉伯文手稿中，伊斯兰学者阿布·赖哈恩·穆罕默德·比鲁尼将这一结果归功于阿基米德而非海伦。<sup>[4](https://www.ms.uky.edu/~sohum/ma330/files/william-dunham-journey-through-genius-the-great-theorems-of-mathematics-penguin-non-classics1991014014739x.pdf)</sup> 历史学家托马斯·希思（Thomas Heath）同样记载了比鲁尼提到阿基米德为该公式的发现者，而《大英百科全书》将《度量论》中的推导描述为对“阿基米德的公式”的推导。<sup>[16](https://www.hlevkin.com/hlevkin/90MathPhysBioBooks/mathHistory/Heath_AHistoryofGreekMathematics.pdf)</sup><sup> • </sup><sup>[15](https://unvis.it/www.britannica.com/EBchecked/topic/263417/Heron-of-Alexandria)</sup> 博耶（Boyer）与梅尔茨巴赫（Merzbach）的数学史指出，阿基米德更早便知晓这一结果，且无疑拥有其证明，但海伦《度量论》中的论证是现存最早的。<sup>[13](https://www.hlevkin.com/hlevkin/90MathPhysBioBooks/mathHistory/BoyerMerzbach-history-of-mathematics.pdf)</sup>

## 推广

婆罗摩笈多公式给出圆内接四边形（内接于圆的四边形）的面积，四边为 \( a \)、\( b \)、\( c \)、\( d \)，使用同样的半周长；当第四条边缩为零时，它化为海伦公式，因此海伦公式被视为婆罗摩笈多公式的特殊情形。<sup>[7](https://mathworld.wolfram.com/BrahmaguptasFormula.html)</sup><sup> • </sup><sup>[17](https://itse.org.in/download/syllabus/mathematics-talent-search-examination/52)</sup>

向高维的推广亦已发展出来。海伦两千年前给出三角形面积的公式，已被自然地推广用于计算四面体的体积；2024年《应用克利福德代数进展》（*Advances in Applied Clifford Algebras*）上的一篇论文运用几何代数将该公式推广至空间中四面体的体积，并勾勒了进一步推广至任意维单纯形超体积的证明。<sup>[18](https://arxiv.org/abs/2204.08089)</sup><sup> • </sup><sup>[19](https://link.springer.com/article/10.1007/s00006-023-01305-8)</sup> 一项相关的推广以始终不超过 \( \frac{\pi}{e} - 1 \) 的误差近似圆内接n边形的面积。<sup>[20](https://arxiv.org/abs/1705.04320)</sup>

## 数值告诫

在精确算术中，该公式对任意三角形都正确。在浮点运算中，它却并非总是可靠。加州大学伯克利分校数学与电气工程及计算机科学教授威廉·卡汉指出，舍入误差会严重损害经典公式的相对精度，以致只要三角形过于接近针状——即两边之和仅略大于第三边——公式便告失效。<sup>[8](https://people.eecs.berkeley.edu/~wkahan/Triangle.pdf)</sup> 在此类情形下，\( s \) 的舍入误差几乎可与最短边相当，而因子 \( s-a \) 与 \( s-b \) 则因相消而失去精度。<sup>[8](https://people.eecs.berkeley.edu/~wkahan/Triangle.pdf)</sup>

一个教科书例子使这一失效具体化：对边 \( a = 1000000 \)、\( b = 999999.9999979 \)、\( c = 0.0000029 \)，将半周长舍入的计算器算出 \( s - a = 0 \)，报告面积为0，而正确面积约为0.99999999999895。<sup>[9](https://www.nr.edu/math/pdf/Trigonometry_book.pdf)</sup> 两种替代形式可避免此问题：一种出自13世纪秦九韶的中文文本，另一种由卡汉于2000年发表，后者将各边排序使 \( a \ge b \ge c \)，并计算

\[ \text{面积} = \frac{1}{4}\sqrt{[a + (b + c)]\,[c - (a - b)]\,[c + (a - b)]\,[a + (b - c)]} \]

括号须严格按所写保留；此形式不会在根号下产生负量，且当数据并非真实三角形的边长时还会给出警示。<sup>[9](https://www.nr.edu/math/pdf/Trigonometry_book.pdf)</sup><sup> • </sup><sup>[8](https://people.eecs.berkeley.edu/~wkahan/Triangle.pdf)</sup> 一个以两边为 \( 10^{9} \)、底边为 \( 1.5 \times 10^{-5} \) 的等腰针状三角形所作的演示——其真实面积恰为7500——表明朴素公式返回7510.2，在第三位有效数字上即已出错。<sup>[21](https://stephenratliff.github.io/learn/herons-formula.html)</sup>

## 实际应用

土地测量员利用该公式通过三角测量法计算不规则地块的面积：将地块分割为若干三角形，用钢尺、电子测距仪、全站仪或GNSS接收机测出每个三角形的边长，海伦公式直接给出每个三角形的面积，求和即得总面积。该方法无需测量角度，因使用沿地表测量的边长而适用于坡地，且不依赖任何坐标系。<sup>[3](https://www.thestemprofessor.com/article/using-herons-formula-to-calculate-the-area-of-irregular-triangles-in-land-surveying/)</sup> 然而对非常大的三角形，地球曲率会变得显著；对边长5公里、6公里、7公里的三角形，平面公式给出约14.697平方公里，该尺度上的精密工作需采用基于椭球计算的大地测量方法。<sup>[3](https://www.thestemprofessor.com/article/using-herons-formula-to-calculate-the-area-of-irregular-triangles-in-land-surveying/)</sup>

## References

1. [Using Heron's Formula to Find the Area of a Triangle, OpenStax Algebra and Trigonometry 2e](https://openstax.org/books/algebra-and-trigonometry-2e/pages/10-2-non-right-triangles-law-of-cosines?modal=KS)
2. [Heron's Formula, CIMT](https://www.cimt.org.uk/sif/trigonometry/t3/interactive/s3.html)
3. [Using Heron's Formula to Calculate the Area of Irregular Triangles in Land Surveying, The STEM Professor](https://www.thestemprofessor.com/article/using-herons-formula-to-calculate-the-area-of-irregular-triangles-in-land-surveying/)
4. [Heron's Formula for Triangular Area, from William Dunham, Journey through Genius](https://www.ms.uky.edu/~sohum/ma330/files/william-dunham-journey-through-genius-the-great-theorems-of-mathematics-penguin-non-classics1991014014739x.pdf)
5. [Heron's formula, NCERT via Philoid](https://philoid.com/ncert/chapter/iemh106)
6. [On Heron's Formula for the Area of a Plane Triangle, ResearchGate](https://www.researchgate.net/publication/378810653_On_Heron%27s_Formula_for_the_Area_of_a_Plane_Triangle)
7. [Brahmagupta's Formula, Wolfram MathWorld](https://mathworld.wolfram.com/BrahmaguptasFormula.html)
8. [Miscalculating Area and Angles of a Needle-like Triangle, W. Kahan, UC Berkeley](https://people.eecs.berkeley.edu/~wkahan/Triangle.pdf)
9. [Area of a Triangle, Trigonometry textbook, New River Community College](https://www.nr.edu/math/pdf/Trigonometry_book.pdf)
10. [Heron's Formula, NCERT Class 9 via SATHEE, IIT Kanpur](https://sathee.iitk.ac.in/ncert-books/ncert-books-theory/class-09/nbt-math-09/math-09-chapter-10-herons-formula/)
11. [Heron Triangles and the Hunt for Unicorns, The Mathematical Intelligencer](https://link.springer.com/article/10.1007/s00283-024-10337-2)
12. [Heron's Formula for Triangular Area, University of British Columbia](https://personal.math.ubc.ca/~cass/courses/m309-01a/goon/proof.html)
13. [A History of Mathematics, Boyer and Merzbach](https://www.hlevkin.com/hlevkin/90MathPhysBioBooks/mathHistory/BoyerMerzbach-history-of-mathematics.pdf)
14. [Heron of Alexandria, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Biographies/Heron/)
15. [Heron of Alexandria, Encyclopaedia Britannica](https://unvis.it/www.britannica.com/EBchecked/topic/263417/Heron-of-Alexandria)
16. [A History of Greek Mathematics, T. L. Heath](https://www.hlevkin.com/hlevkin/90MathPhysBioBooks/mathHistory/Heath_AHistoryofGreekMathematics.pdf)
17. [Brahmagupta's formula for area of a cyclic quadrilateral, ITSE](https://itse.org.in/download/syllabus/mathematics-talent-search-examination/52)
18. [An Extension of Heron's Formula to Tetrahedra, and the Projective Nature of Its Zeros, arXiv](https://arxiv.org/abs/2204.08089)
19. [Heron's Formula in Higher Dimensions, Advances in Applied Clifford Algebras](https://link.springer.com/article/10.1007/s00006-023-01305-8)
20. [An Extension of Heron's Formula, arXiv](https://arxiv.org/abs/1705.04320)
21. [Heron's Formula, A Complete, Interactive Lesson](https://stephenratliff.github.io/learn/herons-formula.html)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 几何学与拓扑学 › Elementary and Euclidean geometry › Plane figures

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/herons-formula

English original: https://www.edgepedia.org/herons-formula
