Pythagorean Triple Generator
Enter integers m and n (m > n ≥ 1) to generate a Pythagorean triple.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
This calculator generates Pythagorean triples using Euclid's formula: for any two positive integers m > n, the triple a = m² − n², b = 2mn, c = m² + n² always satisfies a² + b² = c². It's the standard method for generating every primitive Pythagorean triple, and scaling the result by any integer k produces all non-primitive ones too.
Pythagorean triples describe right triangles with whole-number side lengths — like the well-known 3-4-5 triangle — and are used in geometry education, construction layout (squaring corners without a protractor), and number theory.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)