← All text tools

Pythagorean triples generator

List Pythagorean triples up to a limit with Euclid's formula, check whether three numbers form a triple, or find every triple that contains a given number.

  • Free
  • No sign-up
  • Works on any device

About Pythagorean triples generator

A Pythagorean triple is three whole numbers with a squared + b squared = c squared, like 3, 4, 5. Euclid's formula builds them from two whole numbers m > n: a = m squared - n squared, b = 2mn, c = m squared + n squared. This page lists every triple with a hypotenuse up to your limit, marks which are primitive and which are multiples, and shows the m and n behind each. You can also check whether your own three numbers form a triple, or enter one number to find every triple that contains it.

How to use Pythagorean triples generator

  1. Set the largest hypotenuse you want in the list.
  2. Enter three numbers to check them, in any order.
  3. Enter a single number to see every triple that has it as a leg or a hypotenuse.

Why use this tool?

Also known as

Frequently asked questions

What makes a triple primitive?

The three numbers share no common factor except 1. The triple 3, 4, 5 is primitive and 6, 8, 10 is just its double.

Does Euclid's formula give every triple?

It gives every primitive triple when m and n are coprime and not both odd, and every other triple as a multiple of one of those.

Can a Pythagorean triple contain decimals?

By definition the numbers are whole. Decimals can satisfy the equation, like 1.5, 2, 2.5, but they are not counted as a triple.

Is Pythagorean triples generator free?

Yes. Pythagorean triples generator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Pythagorean triples generator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools