This hypotenuse calculator works with right angled triangles, the kind with one square corner, using the Pythagorean theorem. The theorem says that the square of the longest side, the hypotenuse opposite the right angle, equals the sum of the squares of the other two sides, the legs. So when you know the two legs, the hypotenuse is the square root of leg a squared plus leg b squared. The calculator also runs the other way: if you know the hypotenuse and one leg, it finds the missing leg as the square root of the hypotenuse squared minus the known leg squared, which is handy when one measurement is already fixed. You choose which case you have, enter the two known lengths in any unit as long as they match, and the answer appears instantly. This is one of the most widely used results in all of maths, turning up in building and carpentry for checking square corners and working out rafter and brace lengths, in navigation and surveying for straight-line distances, and across physics and engineering. Remember it applies only to right angled triangles; for any other triangle you need the law of cosines instead. Choose your mode and enter the known sides to see the missing length straight away.
With two legs, the calculator squares each, adds them, and takes the square root to give the hypotenuse. With a leg and the hypotenuse, it squares the hypotenuse, subtracts the square of the known leg, and takes the square root to give the missing leg. Both follow directly from a squared plus b squared equals c squared.
A right triangle with legs of 3 and 4 has a hypotenuse of the square root of 9 plus 16, which is the square root of 25, or 5. This is the classic 3, 4, 5 triangle.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
© 2019 to 2026 Calculate.co.nz. All rights reserved.