Free calculator

Right Triangle Calculator for Machinists — Sides, Angles & Trig

Enter any two values — two sides, or one side and an angle — and the calculator solves the rest and draws the triangle. Handy for chamfer coordinates, dovetails, taper angles and sine bar setups.

Fill in any two values (at least one side) and leave the rest empty.

a · b · c–
Angle A · B–degrees
Area–

How it works

Enter any two values — two sides, or one side and an angle — and the calculator solves the rest and draws the triangle. Handy for chamfer coordinates, dovetails, taper angles and sine bar setups.

sin A = opposite / hypotenuse  ·  cos A = adjacent / hypotenuse  ·  tan A = opposite / adjacent  ·  c² = a² + b²

Embed this calculator on your site

Free for workshops, schools and forums — copy this snippet:

HTML
<iframe src="https://cnccode.com/embed/right-triangle-calculator/" width="100%" height="720" style="border:0" loading="lazy" title="Right Triangle (Trig) Calculator"></iframe>

More CNC calculators

Frequently asked questions

What gauge block stack do I need for a sine bar?
Stack height = sine bar length × sin(angle). For a 100 mm sine bar at 15°: 100 × sin 15° = 25.882 mm.