← All blog posts

Pythagorean theorem when inputs are missing or estimated

WhiteUI · A plain-English guide to the Pythagorean Theorem Calculator

Real measurements are rarely exact. A wall measured with a tape might be 2.4 m, give or take a few centimetres, and sometimes a side is missing altogether. The theorem still works — but the answer is only as good as the inputs, and it helps to know how far off it could be.

This guide covers both cases: estimating an answer from rough inputs, and what to do when an input is missing entirely.

Working with an estimate

Suppose you measure a = 2.4 m and b = 1.0 m, but each measurement could be off by 0.1 m. The central answer is c = √(2.4² + 1.0²) = √(5.76 + 1) = √6.76 = 2.6 m. That is the best single answer from the numbers you have.

To find how far off it could be, run the extremes. If a is really 2.3 m, c = √(2.3² + 1) = √6.29, about 2.51 m. If a is really 2.5 m, c = √(2.5² + 1) = √7.25, about 2.69 m. So the honest answer is about 2.6 m, and it could plausibly be anywhere from 2.51 m to 2.69 m.

When an input is missing entirely

If you know only one side, the theorem cannot give you an answer — it needs two sides to find the third. What you can do is measure the missing side, or find it from another measurement: the diagonal of a room, for example, can be worked out from its length and width, which are usually easier to measure than the diagonal itself.

c = √(2.4² + 1.0²) = √6.76 = 2.6 m
Low:  √(2.3² + 1.0²) = √6.29 ≈ 2.51 m
High: √(2.5² + 1.0²) = √7.25 ≈ 2.69 m

At a glance

a = 2.4b = 1c = 2.6

An estimated triangle: sides about 2.4 and 1.0 give a hypotenuse of about 2.6.

The mistake: treating an estimate as exact

The common mistake is to round the inputs first and then quote the answer to two decimal places, as if it were precise. Rounding 2.4 to 2 and 1.0 to 1 gives c = √5, about 2.24 — noticeably different from 2.6. Keep the full measurements through the calculation, and round only the final answer, to about the precision of your roughest input.

Frequently asked questions

How far off can the answer be?

Roughly as far off as your roughest input, in proportion. If a is uncertain by 0.1 m out of 2.4 m, about 4%, the answer is uncertain by a similar small amount — here about 0.09 m either way.

What if I only know one side?

Then the theorem alone cannot help — it needs two sides. Measure the second side, or work it out from another known length, and then calculate.

Should I round my inputs before calculating?

No. Round only at the end. Rounding inputs early throws away information and can move the answer more than the measurement error itself.

How should I write down an estimated answer?

Give the central value and the range: ‘about 2.6 m, between 2.51 m and 2.69 m’. That tells the reader exactly how much to trust the number.

More guides on the Pythagorean Theorem Calculator

Try it yourself

A free calculator that finds the missing side of any right-angled triangle from the two sides you know.

Open the Pythagorean Theorem Calculator