Pythagorean Theorem Calculator
Solve a right triangle: tsvaga hypotenuse kana a missing leg.
Zvinyorwa zvinogadziridzwa paunenge uchinyora.
Nezve iyi kalkulator
The Pythagorean theorem states that in a right triangle a² + b² = c², where c is the hypotenuse — the longest side, opposite the right angle. This calculator solves for the hypotenuse from two legs, or for a missing leg from the hypotenuse and one leg, and also reports the triangle's area, perimeter and two acute angles.
To find the hypotenuse, add the squares of the legs and take the square root: a 3-4 right triangle has hypotenuse √(3² + 4²) = √(9 + 16) = √25 = 5. To find a missing leg, rearrange to a = √(c² − b²); because a leg is always shorter than the hypotenuse, the hypotenuse you enter must be the largest side, or the tool flags it. The acute angles come from the arctangent of the legs and always add up to 90°.
This is the workhorse of right-triangle geometry: finding diagonals, checking that a corner is square in construction, computing distances, and deriving the coordinate distance formula. Whole-number side sets like 3-4-5 and 5-12-13 are called Pythagorean triples.
Zvimwe zvinobvunzwa zvakanyanya
Chii chinonzi Pythagorean theorem?
For a right triangle, a² + b² = c², where c is the hypotenuse. A 3-4 right triangle has hypotenuse √(9 + 16) = 5.
Unogona sei kuwana gumbo rakarasikirwa?
Rearrange to a = √(c² − b²). The leg must be shorter than the hypotenuse, so the hypotenuse value must be the largest side.
Ndezvipi zvishoma zvishoma zvinoratidzwa nechirongwa ichi?
Kunyangwe pasina shure, inotaura nezvenzvimbo yetriangle (½ × leg × leg), iyo perimeter, uye maviri akakomba ma Angles.
Maitiro ekuwana maangular angles?
Mumifananidzo iyi, iyo 90° angle inoratidza kuti iyo triangle ine mativi maviri akaenzana, uye kuti iyo 90° angle inoratidza kuti iyo triangle ine mativi maviri akaenzana.
Chii chinonzi Pythagorean triple?
A set of integer-number sides that satisfies a² + b² = c², such as 3-4-5 or 5-12-13. They form exact right triangles without rounding.
Nei hypotenuse inofanira kuva yakareba?
Iyo inomira kumashure kweangulo akarurama uye inogara iri pedyo nekona yakareba. Kana iwe uchiedza kugadzirisa kwechiuno, hypotenuse yaunonyora inofanira kukwira kupfuura chiuno chaunoziva kana kuti chiito chinoiratidza.
API — kushandisa iyi kalkulator kubva code
Nhare iyi calculator semahara JSON endpoint - hapana chikuru zvinodiwa. Kutumira nzvimbo mavara pasi separameter query kana JSON. Chii zvachose chaunoisa kunze chinoshandisa default iyo peji iri rakasviba nayo; parameter isiri yechokwadi inonzi 400, uye haisi zero. Tora yakazara API docs →
Endpoint
GET https://calculator.free/api/v1/pythagorean-theorem/
curl
curl "https://calculator.free/api/v1/pythagorean-theorem/?solve=hypotenuse&a=3&b=4"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/pythagorean-theorem/?" + new URLSearchParams({
"solve": "hypotenuse",
"a": "3",
"b": "4"
}));
const data = await r.json();
console.log(data.results);
Zviratidzo zvemubvunzo ndezvekufungidzira kwechinangwa chekudzidzisa chete, kwete zvemari, zvehutano kana zvemari.