在線即時計算器 · 純前端本地秒算 · 零數據上傳

📐 三角形計算機

專業免費的 三角形計算機。純前端本機毫秒級計算、零資料上傳、極致隱私保護。提供詳細公式推導、實例示範與常見問答。

即時推算結果 (Computed Output)
即時試算完成
專業公認計算模型,即時運算完畢
📜 計算歷史記錄 (試算軌跡)
尚無歷史記錄,每次點擊「計算」將在此留下試算軌跡...

What Is a Triangle Calculator?

A triangle calculator is a geometry tool that works out the missing measurements of a triangle when you supply enough known values. Depending on the information you provide — side lengths, angles, or a combination — it can find the remaining sides, angles, area, perimeter, and even the height. It saves you from manually applying the Pythagorean theorem, the law of sines, or the law of cosines every time you need an answer.

How to Use It

Enter the values you already know and leave the rest blank. The calculator needs at least three pieces of information, and at least one of them must be a side length. Common valid combinations include:

  • SSS — all three sides
  • SAS — two sides and the angle between them
  • ASA — two angles and the side between them
  • AAS — two angles and a non-included side
  • SSA — two sides and a non-included angle (may give two solutions)

Once you click calculate, the tool returns the full set of sides, angles, perimeter, and area.

The Formulas Explained

The calculator relies on a few core rules:

  • Angle sum: the three interior angles always add to 180°.
  • Law of cosines: c^2 = a^2 + b^2 - 2ab·\cos(C), used for SSS and SAS.
  • Law of sines: \dfrac{a}{\sin(A)} = \dfrac{b}{\sin(B)} = \dfrac{c}{\sin(C)}, used for ASA, AAS, and SSA.
  • Area (Heron's formula):
    Area = √(s (s-a) (s-b) (s-c))
    where s = \dfrac{a+b+c}{2}.

Worked Example

Suppose you know two sides, a = 6 and b = 8, with the included angle C = 60°. Using the law of cosines:

c^2 = 6^2 + 8^2 - 2(6)(8)·\cos(60°) = 36 + 64 - 96(0.5) = 52
so c ≈ 7.21. The area is
\tfrac{1}{2}· a· b·\sin(C) = 0.5 × 6 × 8 × \sin(60°) ≈ 20.78
square units, and the perimeter is about 21.21 units.

使用注意事項與精準校對原則(6 大核心守則)

📐 1. 嚴格對齊輸入量綱與單位

輸入各項數值時請務必確認量綱(例如小時、天數、金額、百分比),避免單位不匹配引發推算偏差。

🔒 2. 純前端本機毫秒級隱私保障

所有計算邏輯 100% 在您的終端瀏覽器內完成,資料絕不上傳伺服器,嚴格守護商業與個人隱私。

📊 3. 符合公認學術與產業計算模型

演算法嚴格遵循國際通用數學公式與標準計算模型,經多重情境交叉核對,數值嚴密精確。

📋 4. 一鍵複製與免登入 PDF 匯出

支援一鍵複製推算結果字串至剪貼簿,亦可直接點擊列印按鈕輸出純淨 PDF 工作報表。

🔄 5. 多情景敏感度動態對比

建議針對極端值與多組預期情景分別試算,觀察輸出數據的波動區間,輔助做出更穩健的決策。

🛡️ 6. 專業諮詢與日常參考免責聲明

本工具運算結果供日常排程、學業研習與事前參考之用,如涉及重大法規或投資決策請諮詢持證專家。

常見問題 (FAQ)

Why do I sometimes get two possible triangles?
The SSA case is ambiguous — the same data can describe two valid triangles, so the calculator may show both.
Can it tell me what type of triangle I have?
Yes. Based on the sides and angles, it identifies whether the triangle is equilateral, isosceles, scalene, right, acute, or obtuse.
Do angles need to be in degrees?
Most triangle calculators default to degrees, but many let you switch to radians if needed.