Shop trigonometry and geometry

November 3, 2026  ·  Indumor

A ladder leaning against the shop wall is a right triangle with every letter in place: the floor is one leg, the wall the other and the ladder the hypotenuse. A 4 m ladder with its foot 1.5 m from the wall reaches 3.71 m up and stands at 68° to the floor. The same three sums turn a chamfer, a flange or the stock size for a hex into plain arithmetic, and this chapter puts them together with the tables that shorten them and three calculators.

The right triangle

The lettering stays fixed: a and b are the legs, c the hypotenuse, α the angle opposite leg a and β the angle opposite b. The two acute angles add up to 90°. Pythagoras ties the three sides together; sine, cosine and tangent tie an angle to two sides. Any two values give the other three, and the table says which formula does it in each case.

αβb (leg adjacent to α)a (leg opposite α)c (hypotenuse)ABCsin α = a / ccos α = b / ctan α = a / bα + β = 90°c² = a² + b²
c² = a² + b²   ·   sin α = ac   ·   cos α = bc   ·   tan α = ab   ·   α + β = 90°

a, b: legs; c: hypotenuse; α: angle opposite leg a. The inverse functions (arcsin, arccos, arctan) return the angle from the ratio.

The six right-triangle relations: what you can calculate from what you know (β = 90° − α in every case)
KnownWantedFormulas
a and b (both legs)c and αc = √(a² + b²) · tan α = a / b
a and cb and αb = √(c² − a²) · sin α = a / c
b and ca and αa = √(c² − b²) · cos α = b / c
a and αb and cb = a / tan α · c = a / sin α
b and αa and ca = b · tan α · c = b / cos α
c and αa and ba = c · sin α · b = c · cos α

A check that catches most slips: sine and tangent grow with the angle, cosine shrinks. Tailstock offset and the compound angle for taper turning are this same triangle under other names, worked out in chapter 11.

Right triangle: two values in, the rest out

Pick which two values you have and type them: sides in any unit (the results come out in the same unit), the angle in decimal degrees (12° 30′ = 12.5).

Sines, cosines and tangents from 0° to 90°

The table runs in one-degree steps. For an angle with minutes, interpolate between two rows: the sine of 12° 30′ sits halfway between sin 12° (0.2079) and sin 13° (0.2250), that is 0.2164, which matches the exact value to four places. For sines and cosines, linear interpolation stays within a unit in the fourth decimal; for tangents the error grows with the angle, so above 60° use the calculator.

Sine, cosine and tangent from 0° to 90° (calculated, rounded to 4 decimals)
αsincostanαsincostanαsincostan
0°0.00001.00000.000031°0.51500.85720.600962°0.88290.46951.8807
1°0.01750.99980.017532°0.52990.84800.624963°0.89100.45401.9626
2°0.03490.99940.034933°0.54460.83870.649464°0.89880.43842.0503
3°0.05230.99860.052434°0.55920.82900.674565°0.90630.42262.1445
4°0.06980.99760.069935°0.57360.81920.700266°0.91350.40672.2460
5°0.08720.99620.087536°0.58780.80900.726567°0.92050.39072.3559
6°0.10450.99450.105137°0.60180.79860.753668°0.92720.37462.4751
7°0.12190.99250.122838°0.61570.78800.781369°0.93360.35842.6051
8°0.13920.99030.140539°0.62930.77710.809870°0.93970.34202.7475
9°0.15640.98770.158440°0.64280.76600.839171°0.94550.32562.9042
10°0.17360.98480.176341°0.65610.75470.869372°0.95110.30903.0777
11°0.19080.98160.194442°0.66910.74310.900473°0.95630.29243.2709
12°0.20790.97810.212643°0.68200.73140.932574°0.96130.27563.4874
13°0.22500.97440.230944°0.69470.71930.965775°0.96590.25883.7321
14°0.24190.97030.249345°0.70710.70711.000076°0.97030.24194.0108
15°0.25880.96590.267946°0.71930.69471.035577°0.97440.22504.3315
16°0.27560.96130.286747°0.73140.68201.072478°0.97810.20794.7046
17°0.29240.95630.305748°0.74310.66911.110679°0.98160.19085.1446
18°0.30900.95110.324949°0.75470.65611.150480°0.98480.17365.6713
19°0.32560.94550.344350°0.76600.64281.191881°0.98770.15646.3138
20°0.34200.93970.364051°0.77710.62931.234982°0.99030.13927.1154
21°0.35840.93360.383952°0.78800.61571.279983°0.99250.12198.1443
22°0.37460.92720.404053°0.79860.60181.327084°0.99450.10459.5144
23°0.39070.92050.424554°0.80900.58781.376485°0.99620.087211.4301
24°0.40670.91350.445255°0.81920.57361.428186°0.99760.069814.3007
25°0.42260.90630.466356°0.82900.55921.482687°0.99860.052319.0811
26°0.43840.89880.487757°0.83870.54461.539988°0.99940.034928.6363
27°0.45400.89100.509558°0.84800.52991.600389°0.99980.017557.2900
28°0.46950.88290.531759°0.85720.51501.664390°1.00000.0000∞
29°0.48480.87460.554360°0.86600.50001.7321
30°0.50000.86600.577461°0.87460.48481.8040

When the triangle has no right angle (a brace that does not meet the column square) the law of sines and the law of cosines take over, with sides a, b and c opposite angles α, β and γ:

asin α = bsin β = csin γ   ·   a² = b² + c² − 2·b·c·cos α

Law of sines: from one side and two angles, or two sides and the angle opposite one of them. Law of cosines: from two sides and the included angle, or from all three sides. α + β + γ = 180°.

Chord, sagitta and radius: what you measure for a rolling job

When a curved pipe or plate comes in to be copied, the radius cannot be measured directly: the center is in mid-air. What you can measure is the chord c, with a straightedge touching two points of the arc, and the sagitta h (the rise), the gap between the straightedge and the arc at the middle. Those two give the radius, the included angle and the developed length, which is what goes on the order to the plate roller.

θOh (sagitta)c (chord)RR = c² / (8·h) + h / 2θ = 2·arcsin(c / 2R)c = 2·R·sin(θ / 2)h = R − √(R² − c² / 4)
R = c²8·h + h2   ·   h = R − √(R² − c²/4)   ·   c = 2·R·sin(θ/2)   ·   s = π·R·θ180

c: chord; h: sagitta or rise; R: radius (all in the same unit); θ: included angle in degrees; s: arc length. If the rise is larger than the radius, the arc is more than a half circle and θ = 360° − 2·arcsin(c/2R).

Worked example · the template for a rolling job

A wooden template from a customer has a 1200 mm chord and a 95 mm rise. R = 1200² / (8 × 95) + 95 / 2 = 1894.74 + 47.5 = 1942.2 mm, a diameter of 3884 mm. The included angle is θ = 2 · arcsin(600 / 1942.2) = 35.99° and the developed length 1942.2 × 35.99 × π / 180 = 1220 mm. Tell the roller whether that radius is inside or outside: with 1/2 in plate the two differ by exactly the thickness.

Chord, sagitta and radius

Any two of the three measurements give the third, the included angle and the developed length of the arc. Use mm or inches throughout.

Bolt circles

Flanges, covers and coupling plates carry their holes on a bolt circle of diameter D. With a DRO or a CNC you need the coordinates of each hole from the center: hole i sits at θ0 + i · 360°/n, and the point comes from one cosine and one sine. For layout by hand you use the chord between neighboring holes, D times the constant k in the table, and step it around with dividers.

First hole at 0° (on the x axis)xy12345660°(xc, yc)D (bolt circle diameter)First hole at 90° (top)xy12345660°(xc, yc)RR = D / 2     angle of hole i = θ0 + i · 360° / n     x = xc + R · cos θ     y = yc + R · sin θ
x = xc + R·cos θ   ·   y = yc + R·sin θ   ·   θi = θ0 + i · 360°n   ·   chord = D · sin(180°/n) = D · k

R = D/2: bolt circle radius; (xc, yc): center; θ0: angle of the first hole; i = 0, 1, 2… n − 1. Angles are measured from the x axis counterclockwise.

Bolt circles: angle between holes and chord constant k (chord between adjacent holes = D × k)
n
holes
Angle
°
k
chord / D
n
holes
Angle
°
k
chord / D
3120.0000.866031425.7140.22252
490.0000.707111524.0000.20791
572.0000.587791622.5000.19509
660.0000.500001721.1760.18375
751.4290.433881820.0000.17365
845.0000.382681918.9470.16459
940.0000.342022018.0000.15643
1036.0000.309022117.1430.14904
1132.7270.281732216.3640.14231
1230.0000.258822315.6520.13617
1327.6920.239322415.0000.13053

A detail that scraps parts: the first hole can sit at 0°, on the x axis, or at 90°, straight up. On a four-bolt flange that is the difference between holes on the cross and holes on the diagonal, and both are common. For six holes on D = 180 mm starting at 90°, the chord is 180 × 0.5 = 90 mm and the coordinates are (0, 90), (−77.942, 45), (−77.942, −45), (0, −90), (77.942, −45) and (77.942, 45). On the mill the same spacing comes from the dividing head (chapter 12).

Bolt circle: hole coordinates

Angles are measured from the x axis, counterclockwise, as in the drawing. Use mm or inches; the center can be (0, 0) or the machine coordinates of the part.

Polygons: a hex or a square from round stock

The mill hand's question never changes: what round bar does a 24 mm across-flats hex need, or a 20 mm square? The corner-to-corner diagonal of a hexagon is 1.1547 times the across-flats size; the diagonal of a square is 1.4142 times the side. The bar has to be at least that diagonal, plus a little so the corners do not come out with unmilled flats: 27.7 mm for the 24 mm hex (start from 28 or 30 mm bar, or 1 1/8 in) and 28.3 mm for the 20 mm square (30 mm, or 1 1/4 in).

hexagon: diagonal = ecos 30° = 1.1547 · e   ·   square: diagonal = l · √2 = 1.4142 · l

e: across-flats size of the hexagon; l: side of the square. The diagonal is the minimum diameter of the starting bar.

Minimum round stock to mill a hexagon (from the across-flats size) or a square (from the side): the diagonal
Across flats or side
mm
Hexagon: diagonal
mm
Square: diagonal
mm
Across flats or side
mm
Hexagon: diagonal
mm
Square: diagonal
mm
1011.5514.143034.6442.43
1213.8616.973236.9545.25
1315.0118.383641.5750.91
1416.1719.804147.3457.98
1719.6324.044653.1265.05
1921.9426.875057.7470.71
2225.4031.115563.5177.78
2427.7133.946069.2884.85
2731.1838.186575.0691.92

Any other regular polygon is in the general table, one factor per column. The interior angle is what the press brake needs: the faces of an octagon are bent to 180° − 135° = 45°.

Regular polygons, inscribed and circumscribed, 3 to 12 sides (D = circumscribed circle diameter)
n
sides
PolygonInterior angle
°
Side / D
inscribed
D / across flats
circumscribed
Area / side²
3Triangle60.000.866032.000000.4330
4Square90.000.707111.414211.0000
5Pentagon108.000.587791.236071.7205
6Hexagon120.000.500001.154702.5981
7Heptagon128.570.433881.109923.6339
8Octagon135.000.382681.082394.8284
9Nonagon140.000.342021.064186.1818
10Decagon144.000.309021.051467.6942
11Hendecagon147.270.281731.042229.3656
12Dodecagon150.000.258821.0352811.1962

Side = D × (column 4). Corner-to-corner diameter = across flats × (column 5). Area = side² × (column 6).

The sine bar

A sine bar is a ground bar with two identical rollers at an exact center distance, 5 or 10 in (100 or 200 mm in metric sets). With one roller on the surface plate and the other on a stack of gauge blocks of height h, the bar sits at an angle α such that sin α = h / L. To set an angle, build the stack to the height in the table; to measure one, adjust the blocks until a dial indicator reads the same along the part. Above 45° measure the complement instead, because the bar gets steep and the error grows.

L (roller center distance)h = L · sin ααsurface plategauge blockssin α = h / LL = 5″ or 100 mm
h = L · sin α   ·   decimal degrees = d + m60 + s3600

h: height of the block stack (inches or mm, same as L); L: roller center distance; α: the angle wanted. d, m, s: degrees, minutes and seconds (1° = 60′, 1′ = 60″).

Drawings give angles in degrees, minutes and seconds, and the table wants decimal degrees: 12° 30′ is 12.5°, and 7° 15′ 36″ is 7 + 15/60 + 36/3600 = 7.26°. Going back, 0.26° × 60 = 15.6′, and the fraction of a minute × 60 again = 36″. For 12° 30′ a 5 in sine bar needs 5 × 0.2164 = 1.0822 in of blocks; a 100 mm bar needs 21.644 mm.

Sine bar: gauge block stack height for each angle (h = L × sin α)
αL = 5″
h in inches
L = 100 mm
h in mm
αL = 5″
h in inches
L = 100 mm
h in mm
0°0.00000.00023°1.953739.073
1°0.08731.74524°2.033740.674
2°0.17453.49025°2.113142.262
3°0.26175.23426°2.191943.837
4°0.34886.97627°2.270045.399
5°0.43588.71628°2.347446.947
6°0.522610.45329°2.424048.481
7°0.609312.18730°2.500050.000
8°0.695913.91731°2.575251.504
9°0.782215.64332°2.649652.992
10°0.868217.36533°2.723254.464
11°0.954019.08134°2.796055.919
12°1.039620.79135°2.867957.358
13°1.124822.49536°2.938958.779
14°1.209624.19237°3.009160.182
15°1.294125.88238°3.078361.566
16°1.378227.56439°3.146662.932
17°1.461929.23740°3.213964.279
18°1.545130.90241°3.280365.606
19°1.627832.55742°3.345766.913
20°1.710134.20243°3.410068.200
21°1.791835.83744°3.473369.466
22°1.873037.46145°3.535570.711

Areas and volumes

The everyday formulas, for working out a part, a vessel or a flat blank before weighing it with the densities of chapter 22. Mind the units: an area in mm² divided by 100 is cm², and a volume in mm³ divided by 1000 is cm³.

Areas, volumes, perimeters and surfaces of the shapes that show up in the shop
ShapeArea or volumePerimeter or surface
Circle (diameter D, radius r)A = π·D² / 4 = π·r²Perimeter = π·D
Ellipse (semi-axes a and b)A = π·a·bPerimeter ≈ π·[3·(a + b) − √((3a + b)·(a + 3b))]
Triangle (base b, height h)A = b·h / 2From the three sides: A = √(s·(s − a)·(s − b)·(s − c)), s = (a + b + c) / 2
Trapezoid (parallel sides B and b, height h)A = (B + b)·h / 2–
Circular sector (radius r, angle θ in degrees)A = π·r²·θ / 360Arc s = π·r·θ / 180
Circular segment (radius r, chord c, height h)A = r²·(θ − sin θ) / 2, θ in radians = 2·arcsin(c / 2r)Approximate: A ≈ 2·c·h / 3 + h³ / (2·c)
Cylinder (diameter D, height h)V = π·D²·h / 4Lateral surface = π·D·h
Cone (radius r, height h)V = π·r²·h / 3Lateral surface = π·r·g, g = √(r² + h²)
Frustum of a cone (radii R and r, height h)V = π·h·(R² + R·r + r²) / 3Lateral surface = π·g·(R + r), g = √((R − r)² + h²)
Sphere (diameter D)V = π·D³ / 6Surface = π·D²
Spherical cap (sphere radius R, height h)V = π·h²·(3·R − h) / 3Surface = 2·π·R·h
Pyramid (base area Ab, height h)V = Ab·h / 3–

The circular segment is the one that tells how much liquid is left in a horizontal tank at part load: radius and liquid depth give the wetted area and, times the tank length, the volume.

Frequently asked questions

How do you find the radius of an arc from the chord and the rise?

R = c² / (8·h) + h / 2. A 1200 mm chord with a 95 mm rise gives a radius of 1942 mm. The calculator in this chapter also returns the included angle and the arc length.

What size round stock do I need to mill a hexagon?

The corner-to-corner diagonal is 1.1547 times the across-flats size: a 24 mm hex needs 27.7 mm, so 28 or 30 mm bar; a 15/16 in hex needs 1.083 in, so 1 1/8 in bar. For a square, 1.4142 times the side.

How do I work out bolt circle coordinates?

With R = D/2 and each hole at θ = θ₀ + i·360°/n: x = R·cos θ, y = R·sin θ. For layout by hand, the chord between adjacent holes is D times the constant k in the table (0.5 for six holes).

Sources: ISO 80000-2:2019 (mathematical signs and symbols); ISO 80000-3:2019 (plane angle, radian and degree); Machinery's Handbook, Industrial Press (bolt circle coordinate tables, regular polygons and sine bar constants); elementary geometry (Pythagorean theorem, laws of sines and cosines). Every numerical table in this chapter is computed from those formulas.

Keep reading

Chapter 11: tapers and taper turning

Tailstock offset and compound angle, with the same triangle.

Read →

Steel bar weights

Rounds, squares and hexagons per meter, with a calculator.

View table →

Handbook index

The twenty-five chapters and the appendices.

See the index →

Have a curved part, a flange or a bolt-circle plate to make?

Send us the template or the drawing: we work out the development, roll it and machine it in our shop in Córdoba, Argentina.