Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Hobby & DIY
  3. /General DIY & Workshop Utilities
  4. /Angle Calculator (Trigonometry)

Angle Calculator (Trigonometry)

Last updated: April 5, 2026

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.

Calculator

Results

Sine (sin)

0.707107

Cosine (cos)

0.707107

Tangent (tan)

1

Opposite Side

7.0711

Adjacent Side

7.0711

Results

Sine (sin)

0.707107

Cosine (cos)

0.707107

Tangent (tan)

1

Opposite Side

7.0711

Adjacent Side

7.0711

In This Guide

  1. 01The Three Trigonometric Ratios: SOH-CAH-TOA
  2. 02Construction and Carpentry Applications
  3. 03Miter and Bevel Angles for Woodworking
  4. 04Metalwork and Fabrication

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.

The Three Trigonometric Ratios: SOH-CAH-TOA

Right triangle trigonometry is built on three ratios relating sides to angles:

  • Sine (SOH): sin(θ) = Opposite / Hypotenuse
  • Cosine (CAH): cos(θ) = Adjacent / Hypotenuse
  • Tangent (TOA): tan(θ) = Opposite / Adjacent

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.

Construction and Carpentry Applications

Angle calculation is essential across construction trades:

  • Roof pitch: a 6:12 pitch has rise = 6, run = 12; angle = arctan(6/12) = 26.57°
  • Stair stringers: total rise and run determine the stringer angle and tread/riser dimensions
  • Diagonal bracing: the brace length = √(width² + height²); brace angle = arctan(height/width)
  • Rafter cuts: plumb cut and seat cut angles calculated from roof pitch angle

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.

Miter and Bevel Angles for Woodworking

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.

Metalwork and Fabrication

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.

Visual Analysis

How It Works

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.

Understanding Your Results

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°.

Worked Examples

Roof Rafter Angle from 6/12 Pitch

Inputs

modefrom_tan
angle deg45
hypotenuse13
ratio value0.5

Results

angle out26.5651
sin val0.447214
cos val0.894427
tan val0.5
opposite5.8138
adjacent11.6276

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.

Shelf Bracket Side Lengths

Inputs

modefrom_angle
angle deg45
hypotenuse14.14
ratio value0.707

Results

angle out45
sin val0.707107
cos val0.707107
tan val1
opposite10
adjacent10

A 45° bracket with a 14.14 inch diagonal brace will have equal vertical and horizontal legs of exactly 10 inches each.

Frequently Asked Questions

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.

Sources & Methodology

Trigonometric function definitions: NIST Digital Library of Mathematical Functions (DLMF). Roof pitch to angle conversion: American Wood Council Span Tables. Construction angle applications: Carpentry & Building Construction (Feirer & Hutchings, 8th ed.).

How helpful was this calculator?

5.0/5 (1 rating)

Related Calculators

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