Calculadora do teorema de Pitágoras
Resolver un triángulo rectángulo: atopar a hipotenusa ou unha das pernas que faltan.
Os resultados actualízanse mentres escribe.
Acerca desta calculadora
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.
Preguntas frecuentes
Cal é o teorema de Pitágoras?
Para un triángulo rectángulo, a² + b² = c², onde c é a hipotenusa. Un triángulo rectángulo de 3- 4 ten a hipotenusa √( 9 + 16) = 5.
Como atopas unha perna que falta?
Reordenar para a = √( c² − b²). A perna debe ser máis curta que a hipotenusa, polo que o valor da hipotenusa debe ser o lado máis grande.
Que valores extra mostra esta ferramenta?
Ademais do lado que falta, informa a área do triángulo (½ × pata × pata), o seu perímetro e os dous ángulos agudos.
Como se atopan os ángulos agudos?
Da arcotanxente das dúas pernas. Nun triángulo rectángulo os dous ángulos agudos sempre suman 90°.
Que é un triplo pitagórico?
Un conxunto de lados enteiros que satisfagan a² + b² = c², como 3- 4- 5 ou 5- 12- 13. Forman triángulos rectángulos exactos sen arredondamento.
Por que a hipotenusa debe ser o lado máis longo?
Está en oposición ao ángulo recto e é sempre o lado máis longo. Cando se resolve unha perna, a hipotenusa que se introduza debe exceder a perna coñecida ou a ferramenta marcarao.
API — empregar esta calculadora desde o código
Chama esta calculadora como un punto final JSON libre - non se require ningunha chave. Envie os valores dos campos de baixo como parámetros de consulta ou JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Ler a documentación completa da API →
Punto final
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);
Os resultados son estimacións só para orientación xeral, non para consellos financeiros, médicos ou fiscais.