Shop Trigonometry: Sine, Cosine, and Tangent for Machinists
SOHCAHTOA doesn't mean much until you've used it to set a sine bar or lay out a bolt circle. Worked examples for sine bar setups, bolt circle layouts, and taper angles — the shop math behind the classroom formulas.
July 22, 2026 ·
Updated July 22, 2026 ·
6 min read ·
SCMEP Training Team ·
11 views
Share
SOHCAHTOA doesn’t mean much until you’ve used it to set a sine bar or lay
out a bolt circle. This isn’t a math refresher for its own sake — it’s the
three shop calculations where sine, cosine, and tangent actually show up
on a machinist’s bench, worked through with real numbers.
The three ratios, in shop terms
Sine, cosine, and tangent describe the ratios between the sides of a
right triangle relative to one of its angles: sine is opposite over
hypotenuse, cosine is adjacent over hypotenuse, tangent is opposite over
adjacent — SOHCAHTOA. On paper that’s abstract. On a sine bar, the
hypotenuse is a precision-ground bar of known length, the opposite side is
a stack of gage blocks, and the adjacent side is the surface plate the bar
sits on. Suddenly the triangle is a real object you can measure.
Setting a sine bar
A sine bar is a precision-ground bar with two cylinders of equal
diameter set a known distance apart. To tilt it to a specific angle, you
stack gage blocks under one end until the height matches:
Gage block height = Sine bar length × sin(angle)
Worked example: a 5″ sine bar needs to be set to 30°. Gage block
height = 5 × sin(30°) = 5 × 0.5 = 2.500″. Stack gage blocks to
exactly 2.500″ under one roller, and the bar sits at precisely 30°
relative to the surface plate — accurate enough for tool and die work.
The reason this beats a protractor comes down to how each tool
measures. A protractor reads an angle directly, and its accuracy is
limited by how finely its scale is marked and how well you can align it
by eye. A sine bar setup measures a length — the gage block stack — which
gage blocks can nail to within millionths of an inch. Trading an angle
measurement for a length measurement is the whole trick, and it’s the
same reason sine bars remain standard equipment in tool rooms doing
precision angular work.
Laying out a bolt circle
A bolt circle spaces N holes evenly around a circle of radius R. Each
hole’s position, measured from the center, is:
x = R × cos(n × 360°/N) y = R × sin(n × 360°/N)
Worked example: 6 holes on an 8″ diameter bolt circle (R = 4″). The
angle between holes is 360°/6 = 60°. The chord — the straight-line
distance between adjacent holes — is D × sin(180°/N) = 8 ×
sin(30°) = 8 × 0.5 = 4″. Each hole’s X/Y coordinates come from
plugging n = 0, 1, 2…5 into the formulas above, which is exactly what a
CNC control does internally when you program a bolt-circle canned cycle.
Finding a taper angle
Given a taper’s large diameter, small diameter, and length, tangent
gets you the included angle: tangent(half-angle) = (large radius −
small radius) ÷ length. A part tapering from 2″ to 1″ diameter over
4″ has a half-angle of tan⁻¹((1 − 0.5) / 4) =
tan⁻¹(0.125) ≈ 7.13°, for a full included angle of about
14.25°. That’s the number you’d check a taper gauge or sine bar setup
against.
A shop trig cheat sheet
SOHCAHTOA applied to common shop calculations
Ratio
Formula
Shop use
Sine
Opposite ÷ Hypotenuse
Sine bar gage block height; Y-coordinate on a bolt circle
Cosine
Adjacent ÷ Hypotenuse
X-coordinate on a bolt circle; angle-plate setups
Tangent
Opposite ÷ Adjacent
Taper angle from diameter change and length
The pattern worth internalizing: whichever two sides or angles you
already know from the blueprint or the physical setup, one of the three
ratios connects them to the value you’re actually trying to find.
Sine bars solve for height given an angle; bolt circles solve for
coordinates given a radius and hole count; tapers solve for angle given
two diameters and a length. Same three ratios, three different unknowns.
Where this actually gets used
Beyond the bench, the same three ratios resolve toolpaths on a CNC
control, calculate chord lengths and angular moves, and show up anywhere
a blueprint gives you an angle instead of a straight-line dimension —
which is most of the time on anything that isn’t a plain rectangular
part. Manual machinists lean on sine bars and trig tables; CNC
programmers lean on the same math built into canned cycles and CAM
software, but the underlying triangle doesn’t change.
It’s worth being direct about the limits of a web search on this
topic: searching just “sine cosine tangent” mostly turns up general math
tutorials aimed at students, not manufacturing content — that’s a
reasonable result, since the underlying trigonometry is genuinely the
same math taught in a high school classroom. What’s different here isn’t
the formulas, it’s the specific, physical problems machinists apply them
to. If you already know SOHCAHTOA from school, the sine bar and bolt
circle examples above are the translation layer into shop work, not a
new topic to learn from scratch.
Gage block height equals the sine bar’s length multiplied by the sine of the desired angle. A 5-inch sine bar set to 30 degrees needs a gage block stack of 5 × sin(30°) = 2.500 inches under one roller.
How do you find bolt circle hole positions?
Each hole’s coordinates from the center are x = R × cos(n × 360°/N) and y = R × sin(n × 360°/N), where R is the radius, N is the number of holes, and n is the hole index starting at 0. The chord length between adjacent holes equals the diameter times the sine of half the angle between them.
How do you calculate a taper angle?
The half-angle equals the arctangent of (large radius minus small radius) divided by the taper length. Doubling that half-angle gives the full included angle of the taper.
Do CNC machinists still need to know trigonometry?
Yes — the same sine, cosine, and tangent relationships are built into CNC canned cycles and CAM software for resolving toolpaths and coordinates from blueprint angles. Understanding the underlying math makes it much easier to catch a programming error or verify a setup.
South Carolina Manufacturing Extension Partnership has delivered manufacturing training to South Carolina manufacturers since 1989. Articles are produced and reviewed by SCMEP's training team.