The Angle Calculator (Trigonometry) finds unknown angles and side lengths in right triangles using sine, cosine, and tangent. Designed for construction, carpentry, metalwork, and DIY projects where cutting and aligning at precise angles is essential — no advanced math required.
0.707107
0.707107
1
7.0711
7.0711
0.707107
0.707107
1
7.0711
7.0711
The calculator for trigonometric angle calculation finds unknown angles and side lengths in right triangles, bringing practical trigonometry to the workshop. Whether you need the angle for a roof pitch, the length of a diagonal brace, or the cut angle for a mitered frame, this tool solves the geometry without requiring manual trig calculations.
Right triangle trigonometry is built on three ratios relating sides to angles:
Given any two pieces of information (one angle plus one side, or two sides), all remaining values can be found. The inverse functions (arcsin, arccos, arctan) recover the angle when two sides are known. The Pythagorean theorem calculator handles the pure side-length calculation when angles are not needed.
Angle calculation is essential across construction trades:
Use this online calculator to solve any right triangle problem on the job site. The slope calculator and DIY workshop calculators provide complementary construction geometry tools.
Joinery requires precise angle cuts that must account for both the miter angle (horizontal cut angle) and the bevel angle (tilted blade angle). For a simple 90° corner frame: miter angle = 45°; for an octagonal frame (8 sides): each corner = 135°; miter cut = 22.5°. When the joint is not at 90° (for example, a trapezoidal frame), the miter angle requires trigonometric calculation from the interior angles. The miter angle calculator specializes in these compound angle calculations for multi-sided frames.
Structural steel fabrication, pipe fitting, and sheet metal work all require precise angle calculation. A pipe branch connecting at an angle requires the branch angle, the cut ellipse dimensions, and the saddle profile — all derived from trigonometry. Structural connection plates must be drilled at calculated angles to align with angled members. The right triangle calculator provides the comprehensive right triangle solver for any combination of known sides and angles, handling all six trigonometric functions.
In 'Given Angle' mode: sin = sin(θ), cos = cos(θ), tan = tan(θ), opposite = hypotenuse × sin(θ), adjacent = hypotenuse × cos(θ), where θ is in degrees converted to radians (θ × π/180). In inverse modes: angle = arcsin(value) or arccos(value) or arctan(value), all converted back to degrees. Results use JavaScript's built-in Math.sin, Math.cos, Math.tan, Math.asin, Math.acos, Math.atan.
Common workshop angles: 45° (diagonal cuts, equal rise/run) → tan = 1.0; 26.57° (6/12 roof pitch) → tan ≈ 0.5; 33.69° (8/12 roof pitch) → tan ≈ 0.667; 18.43° (minimum stair riser-to-tread ratio per code) → tan ≈ 0.333. A tan value greater than 1.0 means the slope is steeper than 45°.
Inputs
Results
A 6/12 pitch (rise 6, run 12 → ratio 0.5) gives a rafter angle of 26.57°. Set your miter saw to this angle for the plumb cut.
Inputs
Results
A 45° bracket with a 14.14 inch diagonal brace will have equal vertical and horizontal legs of exactly 10 inches each.
In a right triangle: sine = opposite / hypotenuse, cosine = adjacent / hypotenuse, tangent = opposite / adjacent (= rise / run). A common memory aid is SOH-CAH-TOA: Sin = Opposite/Hypotenuse, Cos = Adjacent/Hypotenuse, Tan = Opposite/Adjacent.
Roof pitch is expressed as rise/run (e.g., 6/12 means 6 inches of rise per 12 inches of run). Divide rise by run to get the tangent value (6/12 = 0.5), then use the 'Given Tan → Angle' mode with ratio_value = 0.5. Result: 26.57°.
For a standard 90° corner joint using two pieces meeting at 45° each, set your miter saw to exactly 45°. However, if you're cutting a single piece to fit diagonally (like a shelf bracket or stair newel post), calculate the angle needed based on your specific rise and run using the tangent mode.
As an angle approaches 90°, the opposite side becomes infinitely large relative to the adjacent side, so tan → infinity. This is mathematically correct. For practical purposes, angles above 80° are rarely used in construction because nearly vertical slopes are structurally impractical. This calculator is designed for 0°–89.99°.
Measure the rise (vertical change) and run (horizontal distance) of the slope. Divide rise by run to get the tangent. Enter this value in 'Given Tan → Angle' mode. For example, a slope that rises 2 feet over 10 feet of run has tan = 0.2, giving an angle of 11.31°.
The hypotenuse is the longest side of a right triangle — the diagonal side opposite the 90° corner. In roofing it's the rafter length; in a shelf bracket it's the diagonal brace; in stair layout it's the stringer length. If you know the other two sides, use the Pythagorean Theorem Calculator to find the hypotenuse.
Convert degrees-minutes-seconds to decimal degrees first: add minutes/60 and seconds/3600 to the degree value. For example, 26°33'54" = 26 + 33/60 + 54/3600 = 26.565°. Enter this decimal value in the angle field.
How helpful was this calculator?
5.0/5 (1 rating)
Column Load Calculator
Beam & Column Calculators
Moment of Inertia Calculator
Beam & Column Calculators
Skin Depth Calculator
Conductor & Material Properties Calculators
LED Resistor Calculator
Electronics Component Calculators
Zener Diode Voltage Stabilizer Calculator
Electronics Component Calculators
Standard Resistor Values Calculator
Electronics Component Calculators