Triangle Calculator

Calculate sides, angles, hypotenuse, and miter angles for any right triangle in seconds. Chippy Tools handles Pythagoras and trig functions in metric or imperial, on iOS and Android.

330,000+

downloads

4.6

2,743 ratings · App Store

3.8

181 ratings · Google Play

App screenshot App screenshot

The right triangle is the most useful shape in carpentry — every roof pitch, every stair stringer, every diagonal brace, every miter cut, every square-up check is a right triangle dressed up in different language. Get comfortable with the three-side three-angle relationships and most of the math on a job site evaporates. The Chippy Tools triangle calculator does the trig and Pythagoras for you in metric or imperial — punch in any two values and the app returns the missing sides, angles, area, and perimeter.

What the triangle calculator does

The Chippy Tools triangle calculator solves any right triangle from two known values. Inputs can be two sides, one side and one acute angle, or two angles (which determines all three angles even though the third side is then unknown until a side is supplied). Outputs include all three sides, all three angles, the area, and the perimeter. The same calculator covers the special 45-45-90 isosceles right triangle, the 30-60-90 triangle, and any general right-angled triangle in between.

The app runs locally on iOS and Android with no internet required. Switch between metric and imperial without restarting and save common triangle setups (45-45-90 corner-square check, 30-60-90 hex layout, common roof pitches as triangles) as presets if you use them often.

Right triangle anatomy

A right triangle has three sides and three angles. One angle is always 90° (the right angle); the other two are acute (less than 90°) and add to 90°. The two sides forming the right angle are called the legs (sometimes “side a” and “side b”, or opposite and adjacent depending on which angle you’re calculating from). The third side, opposite the right angle, is the hypotenuse — always the longest side.

12345

In the diagram: (1) leg a, (2) leg b, (3) hypotenuse, (4) right angle, (5) acute angle.

The vocabulary changes slightly when you specify which angle you’re working from. For an acute angle θ, the opposite side is across from θ, the adjacent side is the leg next to θ (not the hypotenuse), and the hypotenuse stays the hypotenuse. The trig functions sine, cosine, and tangent are defined off these three sides relative to θ.

How to calculate right triangle sides

Pythagoras’ theorem gives you any side from the other two:

  • hypotenuse = √(leg a² + leg b²)
  • leg a = √(hypotenuse² − leg b²)
  • leg b = √(hypotenuse² − leg a²)

For a worked example, a triangle with legs 3 and 4 has hypotenuse √(9 + 16) = √25 = 5. The classic 3-4-5 triangle is a perfect on-site square-up check: a wall is square if a 3-unit length along one edge plus a 4-unit length along the other meets at a 5-unit diagonal.

For an imperial example, a deck with a 6-foot rise and 8-foot run has a stringer-equivalent hypotenuse of √(36 + 64) = √100 = exactly 10 feet — another perfect Pythagorean triple. Real-world dimensions rarely produce clean integers; the Chippy Tools triangle calculator returns the exact decimal value to whatever precision you need.

How to calculate right triangle angles

The three trig functions relate one acute angle to two of the three sides:

  • sin(θ) = opposite / hypotenuse
  • cos(θ) = adjacent / hypotenuse
  • tan(θ) = opposite / adjacent

To find an angle from two sides, use the inverse functions: arcsin, arccos, or arctan. For a 3-4-5 triangle, the angle opposite the side of length 3 is arctan(3/4) ≈ 36.87°. The angle opposite the side of length 4 is arctan(4/3) ≈ 53.13°. The two acute angles always sum to 90°: 36.87 + 53.13 = 90 ✓.

Chippy Tools returns all three angles from any two known sides automatically — no need to remember which trig function applies to which angle.

Calculate Triangles On-Site

Download Chippy Tools and use the triangle calculator on iOS or Android. Offline, fast, and accurate — no signal required to set out a roof, square a wall, or find a miter angle.

Isosceles right triangles (45-45-90)

The 45-45-90 triangle is the most common special right triangle in carpentry. Both legs are equal, both acute angles are 45°, and the hypotenuse is exactly leg × √2 ≈ 1.414 × leg. So a square room with 4-metre walls has a corner-to-corner diagonal of 4 × √2 ≈ 5.66m. The 45-45-90 also describes any 45° miter cut — the cut face forms a 45-45-90 with the board’s edge.

For general (non-right) isosceles triangles — two equal sides meeting at an apex angle that isn’t 90° — the trick is to drop a perpendicular from the apex to the base. That splits the isosceles into two mirror-image right triangles, each of which the Chippy Tools triangle calculator can solve directly.

30-60-90 triangles

The 30-60-90 has angles of 30°, 60°, and 90° and side ratios of 1 : √3 : 2. If the side opposite the 30° angle is 1 unit, the side opposite the 60° angle is √3 ≈ 1.732 units, and the hypotenuse is exactly 2 units. This triangle appears in hex layouts, hip-roof corner geometry, and any application where 60° angles dominate.

The Chippy Tools calculator doesn’t enforce the special ratios — you input any two values and it returns the third. The 1 : √3 : 2 ratio is a useful sanity check on the result, but the app handles all the irrational-number arithmetic for you.

Miter angle calculator

A miter angle is half the angle between two adjoining surfaces. For two walls meeting at a square (90°) corner, each miter cut is 45°. For non-square corners — bay windows, off-square renovation walls, hexagonal posts — the miter angle is (180° − corner angle) / 2. So a 120° corner (typical hex) takes a (180 − 120) / 2 = 30° miter on each piece.

For compound miters (crown molding, where the moulding sits at a spring angle off the wall), the math gets more complex — you need both the miter angle and a bevel angle. The Chippy Tools triangle calculator handles the simple miter case directly. For compound crown-molding miters, set up the right triangle of the moulding profile and read the angle off the apex.

Common applications: roof, stairs, decks, miters

Right triangles power most carpentry calculations:

  • Roof pitch — rise over run is a right triangle; the rafter is the hypotenuse. See the Roof Pitch Calculator for the dedicated workflow.
  • Stair stringers — total rise and total run form a right triangle; the stringer is the hypotenuse. See the Stair Calculator.
  • Deck diagonals — squaring a deck or foundation uses Pythagoras: a 3-4-5 (or 6-8-10, 9-12-15) triple proves square. See the Check Square Calculator.
  • Miter cuts — every miter is a right-triangle problem disguised as an angle problem.
  • Hip rafters — the hip rafter is a right triangle whose run is the diagonal of the building’s plan-view rectangle.
  • Brace cuts — diagonal braces in framing are right-triangle hypotenuses sized to fit between two studs.

The triangle calculator pairs in the same Chippy Tools app with the dedicated Roof Pitch, Stair, and Check Square calculators — start with whichever workflow fits the job and drop into the general triangle calculator for any one-off geometric problem.

Triangle Maths That Just Work

Chippy Tools handles right triangles, roof pitch, stair stringers, decking, and balustrade spacing in one app. Download once, calculate anywhere — no internet required.

Imperial and metric units

Chippy Tools accepts millimetres, centimetres, metres, feet, inches, or feet and inches in any combination. Enter one side in inches and another in metres if your inputs come from mixed sources — the app converts internally and returns sides in your preferred unit. Angles are always in degrees by default with an option to switch to radians for engineering applications.

The triangle relationships are unitless in their pure form (Pythagoras, sin/cos/tan) — they hold for any consistent unit. The Chippy Tools calculator handles unit conversion so you can mix imperial and metric inputs in the same calculation without errors.

Why use a triangle calculator on your phone

The Chippy Tools app is built for tradespeople who need calculations on-site without internet. The triangle calculator is paired with the Roof Pitch Calculator, Stair Calculator, Check Square Calculator, and Decking Calculator — calculate a hip rafter, a stair stringer, a deck diagonal, and a miter cut in one workflow without re-entering measurements.

Web triangle calculators break in basements with no signal and on remote new-build sites where 4G is patchy. The Chippy Tools calculator runs locally — the answer is on screen in under a second. Switch between sin/cos/tan modes without thinking about which one applies, and pull up the calculator straight from your home screen widget when a customer asks for a quick number during the quote.

Try the Triangle Calculator: Sides, Angles, Hypotenuse & Miter

Download Chippy Tools and start calculating in seconds. Works offline, supports metric and imperial.

Frequently Asked Questions

Need help? Contact us

How do I calculate triangle angles?
For a right triangle, calculate the two non-90° angles using trig functions. If you know two sides: angle = arctan(opposite ÷ adjacent), or arcsin(opposite ÷ hypotenuse), or arccos(adjacent ÷ hypotenuse). The third angle is always 90° (it's the right angle), and the three angles always sum to 180°. The Chippy Tools triangle calculator returns all three angles from any two known sides — or all three sides from any side and angle pair.
How do I calculate the hypotenuse?
The hypotenuse is the longest side of a right triangle, opposite the 90° angle. Use Pythagoras: hypotenuse = √(side a² + side b²). For a triangle with legs of 3 and 4, the hypotenuse is √(9 + 16) = √25 = 5. Imperial example: a 6-foot rise and 8-foot run give a hypotenuse of √(36 + 64) = √100 = 10 feet. Chippy Tools returns the hypotenuse from any two known sides instantly.
Is the triangle calculator an isosceles triangle calculator?
The Chippy Tools triangle calculator handles right triangles, including isosceles right triangles (the 45-45-90 special case where the two legs are equal). For a general non-right isosceles triangle (two equal sides at any apex angle), use the calculator with the half-triangle formed by dropping a perpendicular from the apex to the base — that gives you a right triangle the app can solve directly.
How do I calculate a miter angle?
A miter angle is half the angle between two adjoining surfaces. For two walls meeting at 90° (most internal corners), the miter angle is 45° on each side. For non-square corners, miter angle = (180° − corner angle) ÷ 2. Or set up a right triangle with the rise and run of the moulding profile and read the miter angle off the apex. Chippy Tools handles either approach — give it two sides and read the angle, or give it the corner angle and divide by two.
What is a 45-45-90 triangle?
A 45-45-90 triangle is an isosceles right triangle — two 45° angles and one 90° angle. The two legs are equal length; the hypotenuse is exactly leg × √2 ≈ 1.414 × leg. So a 45-45-90 with 1m legs has a hypotenuse of about 1.414m. This triangle appears constantly in carpentry: square-corner diagonals, 45° miter cuts, and any application where a square is cut on the diagonal.
What is a 30-60-90 triangle?
A 30-60-90 triangle has angles of 30°, 60°, and 90°. Side lengths follow a 1 : √3 : 2 ratio — if the shortest side (opposite the 30° angle) is 1, then the side opposite the 60° angle is √3 ≈ 1.732, and the hypotenuse is exactly 2. This special triangle shows up in hex layouts, hip-roof framing, and any 60° geometric problem. Chippy Tools doesn't enforce the special-case ratios — just enter two values and the calculator returns the rest.
What is the area of a right triangle?
Area of a right triangle = ½ × leg a × leg b. The two legs (the sides forming the right angle) act as the base and height. For a 3 × 4 right triangle, the area is ½ × 3 × 4 = 6 square units. The hypotenuse doesn't appear in the area formula. For non-right triangles, Heron's formula uses all three sides — but for any right triangle, the simple ½ × base × height holds.
Does the calculator handle metric and imperial?
Yes. Chippy Tools accepts millimetres, centimetres, metres, feet, inches, or feet and inches in any combination. Enter side a in inches and side b in metres in the same calculation if you need to — the app converts internally. Angles are always returned in degrees, with the option to view radians.
Can I find a missing side from one side and one angle?
Yes. For a right triangle, knowing one acute angle and one side is enough to solve all six unknowns (three sides, three angles, area, perimeter). Use sin/cos/tan: opposite = hypotenuse × sin(angle); adjacent = hypotenuse × cos(angle); opposite = adjacent × tan(angle). Chippy Tools handles all three cases automatically — input the two values you have, and the calculator returns everything else.