Sine Bar Calculator
A sine bar calculator gives the gauge block stack that tilts a sine bar to an angle: the stack height h equals the roller centre distance L times the sine of the angle. A 5 in bar set to 30° needs a 2.5000 in stack, and a 2.5000 in stack on that bar gives back 30°. Pick a bar length and type an angle or a stack height below, and the taper boxes convert taper per foot, per inch, half angle, included angle and ratio.
A sine bar is a hypotenuse of known length, so the stack height is L times sin(angle)
A sine bar is a hardened, precision ground body with two precision ground cylinders fixed at its ends. Wikipedia says the distance between the centres of the cylinders is precisely controlled and chosen as a whole number, which makes the later arithmetic easy, and that this distance forms the hypotenuse of a right triangle when the bar is in use. Rest the bar on a level surface and the top edge is parallel to it. Lift one roller by a known height, usually with gauge blocks, and the top edge tilts by the angle whose sine is that height divided by the hypotenuse.
That gives the two formulas the calculator runs. To set an angle, h = L × sin(angle). To read an angle from a stack, angle = arcsin(h ÷ L). The LibreTexts manufacturing unit on the sine bar writes the same pair, H = L × sin θ and sin θ = H ÷ L. Because sine is a ratio, L and h only have to share one unit, so the calculator works in inches or millimetres. The stack can never be taller than the bar is long, and GlobalCalcs adds that at 90° the stack would equal the bar length, which is impractical to reach.
The length that counts is the centre-to-centre distance of the rollers, not the overall length of the bar. Wikipedia pictures 254 mm (10 in) and about 100 mm (3.93 in) bars and says that in the U.S. 127 mm (5 in) sine bars are the most common size. GlobalCalcs lists 5 in and 10 in, 100 mm, 200 mm and 250 mm as common nominal lengths. The selector above offers the first four. For any other bar, type the centre distance and the unit.
Wikipedia also names the variants. A sine centre handles conical parts and, according to the article, cannot measure an angle larger than 60°. A sine table or sine plate is a large, wide sine bar, usually with a way to lock it in place to hold work. A compound sine table stacks two sine tables at right angles to reach compound angles on large parts.
Worked examples for a 5 in, 10 in, 100 mm and 200 mm bar
Start with the default. A 5 in bar at 30° has sin 30° = 0.5, so h = 5 × 0.5 = 2.5000 in. LibreTexts and GlobalCalcs both print this same 2.5 in stack for a 5 in bar at 30°. The same angle on a 10 in bar needs 5.0000 in, and on a 100 mm bar it needs 50.000 mm. The stack grows in proportion to the bar, so doubling L doubles h for the same angle.
An angle that is not a round number shows the arithmetic better. A 200 mm bar set to 17.5° needs 200 × sin 17.5° = 60.141 mm. In inches, the LibreTexts unit works 13° on a 5.000 in bar and prints a stack of 1.124 in. The exact product of 5 and sin 13° is 1.1248 in, which rounds to 1.125 in, so the printed 1.124 in is 0.0008 in below the exact product. The difference is small next to the steps of a gauge block set, but it is a reason to take the stack from a calculation and not from a copied figure.
Now the reverse. A stack of 1.5 in on a 5 in bar gives sin θ = 1.5 ÷ 5 = 0.3, so θ = 17.4576°, which is 17° 27′ 27″. A 1.25 in stack gives sin θ = 0.25 and θ = 14.4775°. The calculator above does the same when you type into the stack field instead of the angle field.
Gauge block stack height table for the four common bar lengths
The table gives the stack height for angles from 5° to 60° in 5° steps. The 5 in column agrees with the 5 inch sine bar table in the LibreTexts unit to four decimals at every angle listed there, and the other columns come from the same formula. The CSV above holds every whole degree from 0° to 90°.
| Angle (°) | 5 in bar (in) | 10 in bar (in) | 100 mm bar (mm) | 200 mm bar (mm) |
|---|---|---|---|---|
| 5 | 0.4358 | 0.8716 | 8.716 | 17.431 |
| 10 | 0.8682 | 1.7365 | 17.365 | 34.730 |
| 15 | 1.2941 | 2.5882 | 25.882 | 51.764 |
| 20 | 1.7101 | 3.4202 | 34.202 | 68.404 |
| 25 | 2.1131 | 4.2262 | 42.262 | 84.524 |
| 30 | 2.5000 | 5.0000 | 50.000 | 100.000 |
| 35 | 2.8679 | 5.7358 | 57.358 | 114.715 |
| 40 | 3.2139 | 6.4279 | 64.279 | 128.558 |
| 45 | 3.5355 | 7.0711 | 70.711 | 141.421 |
| 50 | 3.8302 | 7.6604 | 76.604 | 153.209 |
| 55 | 4.0958 | 8.1915 | 81.915 | 163.830 |
| 60 | 4.3301 | 8.6603 | 86.603 | 173.205 |
Wikipedia notes that engineering and metalworking reference books contain tables of the height needed for any angle from 0 to 90 degrees in steps of one minute. This page does not reprint such a table. The calculator gives the height for any angle in decimal degrees, and one minute is 1 ÷ 60 of a degree, so 30° 15′ is 30.25°.
How to set a sine bar to an angle with gauge blocks
The steps below follow the LibreTexts usage notes, which call for a flat, clean surface plate, one roller on the plate and the other on the stack, and a locking step if the device has a lock. Wikipedia's description of the principle gives the same arrangement.
- Find the bar length and the angle. Note the roller centre distance L of the bar, such as 5 in, and the angle you need, such as 30°.
- Work out the stack height. Multiply L by the sine of the angle. For 5 in and 30° that is 5 × 0.5 = 2.5000 in.
- Wring the gauge blocks. Build a stack of gauge blocks to that height and wring the blocks together.
- Set the bar on the plate. Put the bar on a clean, flat surface plate with one roller on the plate and the other roller on the stack.
- Lock the bar and place the work. Tighten the locking mechanism if the bar has one, then set the workpiece on the tilted top of the bar, which is now at the angle.
LibreTexts adds that for better results you can place both rollers on gauge stacks of heights H1 and H2, in which case sin θ = (H1 − H2) ÷ L. This page's calculator takes a single stack under one roller, so for the two-stack case enter the difference of the stacks as h.
Measuring an unknown angle: raise one end until the top is level
A sine bar measures as well as sets. Wikipedia describes using a dial gauge or a spirit level to check that a surface is horizontal. To measure a wedge, place the wedge on a horizontal table and lay the sine bar over its inclined surface. The top of the bar then leans at the same angle as the wedge. Build up gauge blocks under the raised roller until the top of the bar reads level on the indicator. The sine of the wedge angle is the stack height divided by the distance between the roller centres.
The calculation is the arcsine from the formula section. With the default 5 in bar, a final stack of 2.5000 in means 30°, and each extra 0.0001 in on that stack would add about 0.0013° to the answer. Type the stack into the box above and the angle comes back with its degree-minute-second form, so it can be compared with a drawing that is dimensioned in either style.
Taper per foot to angle: the conversions and the formulas behind them
Machinists dimension tapers in several ways. The toolgrit taper guide gives taper per foot as (D − d) × 12 ÷ L, with D the large diameter, d the small diameter and L the length of the taper, all in inches, and taper per inch as (D − d) ÷ L. The half angle is arctan(taper per foot ÷ 24), and the included angle is twice the half angle. The 24 is 2 × 12: half the diameter change is the opposite side of a right triangle, and the length is the adjacent side.
Here is a part checked by hand. Wikipedia lists a Jarno No. 7 as 0.875 in at the large end, 0.700 in at the small end and 3.5 in long. The taper per foot is 12 × (0.875 − 0.700) ÷ 3.5 = 0.6000 in, so the taper per inch is 0.0500 in, the ratio is 1:20.000, and the half angle is 1.4321°. Wikipedia prints 0.6000 in/ft, 0.0500 in/in and 1.4321° for the same taper.
The table runs the formulas for some round taper-per-foot values. Per inch is the per-foot value divided by 12, and the ratio is 1 divided by the per-inch value. Note that the ratio here is on diameter, as in a Jarno 1:20 taper.
| Taper per foot (in) | Per inch | Ratio 1:x | Half angle (°) | Included angle (°) |
|---|---|---|---|---|
| 0.5 | 0.04167 | 24.00 | 1.1935 | 2.3870 |
| 0.6 | 0.05000 | 20.00 | 1.4321 | 2.8642 |
| 0.75 | 0.06250 | 16.00 | 1.7899 | 3.5798 |
| 1 | 0.08333 | 12.00 | 2.3859 | 4.7719 |
| 1.5 | 0.12500 | 8.00 | 3.5763 | 7.1527 |
| 2 | 0.16667 | 6.00 | 4.7636 | 9.5273 |
| 3 | 0.25000 | 4.00 | 7.1250 | 14.2500 |
| 3.5 | 0.29167 | 3.43 | 8.2971 | 16.5943 |
Half angle and included angle are the usual source of mistakes. A 1 in/ft taper has a half angle of 2.3859° and an included angle of 4.7719°. The toolgrit guide says converting to a half angle first is the key step in a sine bar setup, because the sine bar tilts one side of the taper and not the whole cone. For a Morse No. 2 shank that guide uses a taper per foot of 0.5994, a half angle of about 1.4307° and a stack of about 0.1249 in on a 5 in bar. This page's code gives a half angle of 1.4307° and a stack of 0.1248 in, so the guide's 0.1249 in is a little above the exact product. The guide rounds the sine to 0.02497 before multiplying by 5.
To lay one side of a taper flat, the sine bar is set to the half angle. A part with a 2.8614° included angle, for example, is set at 1.4307° and not at 2.8614°. The second box in the calculator shows the stack the current bar needs for the half angle of whatever taper you enter. It works for a taper given in any of the five forms, and changing one field rewrites the others.
Metric tapers are often a ratio. A 1:20 taper changes the diameter by 1 unit over 20 units of length, which is 50.00 mm per metre. Wikipedia's wording for Brown & Sharpe tapers shows the same conversion from the other side: close to 0.500 in/ft, or 41.67 mm per metre, and 41.67 is what the code returns.
Half angle and sine bar stack for common machine tapers
The sources below print each taper in a different form, and the table puts them in one. The columns after the published form are computed here from that form. The last column is the stack on a 5 in bar that sets the half angle.
| Taper | As published | Per foot (in) | Half angle (°) | Included angle (°) | 5 in bar stack (in) |
|---|---|---|---|---|---|
| Jarno, all sizes | 1:20 | 0.6000 | 1.4321 | 2.8642 | 0.1250 |
| Brown & Sharpe, close to | 0.500 in/ft | 0.5000 | 1.1935 | 2.3870 | 0.1041 |
| Morse No. 0 | 1:19.212 | 0.6246 | 1.4908 | 2.9816 | 0.1301 |
| Morse No. 1 | 1:20.047 | 0.5986 | 1.4287 | 2.8575 | 0.1247 |
| Morse No. 2 | 1:20.02 | 0.5994 | 1.4307 | 2.8613 | 0.1248 |
| Morse No. 3 | 1:19.922 | 0.6023 | 1.4377 | 2.8754 | 0.1254 |
| Morse No. 4 | 1:19.254 | 0.6232 | 1.4876 | 2.9751 | 0.1298 |
| Morse No. 4.5 | 1:19.128 | 0.6274 | 1.4974 | 2.9947 | 0.1307 |
| Morse No. 5 | 1:19.002 | 0.6315 | 1.5073 | 3.0146 | 0.1315 |
| Morse No. 6 | 1:19.18 | 0.6257 | 1.4933 | 2.9866 | 0.1303 |
| Morse No. 7 | 1:19.231 | 0.6240 | 1.4893 | 2.9787 | 0.1300 |
| NMTB / 7:24 steep taper | 3.5 in/ft | 3.5000 | 8.2971 | 16.5943 | 0.7215 |
| HSK receiver | 1:10 | 1.2000 | 2.8624 | 5.7248 | 0.2497 |
The code agrees with the angles Wikipedia prints. For the Morse taper the article lists the half angle in degrees, minutes and seconds, such as 1° 29′ 27″ for No. 0 with a ratio of 1:19.212, and the code returns 1° 29′ 27″. For all nine Morse sizes in the table, No. 0 to No. 7 including 4½, the results are within one second of arc of the printed values, which is what rounding the ratio to three decimals allows. Wikipedia's NMTB entry says the 3.5 in/ft taper has a computed angle of 16.5943°, and the code returns 16.5943° as the included angle. It prints the HSK receiver as 1:10, and the included angle is 5.72° there, the 5.72° the article gives.
Wikipedia notes that the Jarno and NMTB tapers are consistent across sizes while Morse and Jacobs vary. That is why the Morse rows have different half angles. The article describes the Morse taper as typically 1.49° per side, around 3° included, and the table runs from 1.4287° to 1.5073° across No. 0 to No. 7. Use the exact figure for your size and not the typical one. A sine bar resolves the difference easily: the No. 5 and No. 1 stacks on a 5 in bar differ by 0.0069 in.
How a stack error changes the angle, and why sine bars lose accuracy at steep angles
At low angles a sine bar turns a small stack error into a much smaller angle error, and that advantage shrinks as the angle rises. The derivation is short. Since h = L × sin(a), a small change dh in the stack changes the angle by da = dh ÷ (L × cos a), with da in radians. Multiply by 180 ÷ π for degrees. The only thing in the formula that depends on the angle is cos a, which falls as the angle rises, so the same stack error costs more angle at steep settings.
The default makes it concrete. On the 5 in bar at 30° the cosine is 0.8660, so a stack 0.0001 in too tall changes the angle by 0.0001 ÷ (5 × 0.8660) = 2.309e-5 radians, about 0.0013° or 4.8 arcseconds. The exact arcsine gives 0.0013° as well, so the first-order formula holds at these sizes. One arcsecond on that setup needs a stack error of about 0.0000210 in, roughly 21 millionths of an inch.
| Angle (°) | 1 ÷ cos | 5 in bar error (°) | 5 in bar (arcsec) | 10 in bar (arcsec) | 5 in stack (in) |
|---|---|---|---|---|---|
| 5 | 1.004 | 0.0012 | 4.1 | 2.1 | 0.4358 |
| 15 | 1.035 | 0.0012 | 4.3 | 2.1 | 1.2941 |
| 30 | 1.155 | 0.0013 | 4.8 | 2.4 | 2.5000 |
| 45 | 1.414 | 0.0016 | 5.8 | 2.9 | 3.5355 |
| 60 | 2.000 | 0.0023 | 8.3 | 4.1 | 4.3301 |
| 75 | 3.864 | 0.0044 | 15.9 | 8.0 | 4.8296 |
| 85 | 11.474 | 0.0132 | 47.4 | 23.7 | 4.9810 |
The magnification is 1.155 at 30°, 1.414 at 45° and 2.000 at 60°. A stack error at 60° therefore moves the angle 1.73 times as much as the same error at 30°. Past 60° the magnification keeps climbing, to 3.864 at 75° and 11.474 at 85°. There is no cliff at 45°. The loss is smooth, and 45° to 60° is where the factor passes 1.4 and reaches 2.
Shop references put the line at 45°. GlobalCalcs says a sine bar loses accuracy at high angles, typically above 45°, and recommends setting the complement against a known right-angle reference for steep angles. Its explanation is that the sine curve flattens near 90°, so a tiny error in the stack becomes a larger angular error, which is the same statement as the 1 ÷ cos factor above. The 45° figure is a convention, and the arithmetic shows how fast the penalty grows. Wikipedia's 60° limit belongs to the sine centre, a different instrument.
The complement trick can be tested with the same formula. To set 70° on a 5 in bar the stack would be 4.6985 in, and a 0.0001 in error moves the angle 0.0034° (12.1 arcseconds). Setting the complement, 20°, needs 1.7101 in, and the same error moves the angle 0.0012° (4.4 arcseconds). The workpiece must then be referenced against a right angle, and that reference has an error of its own that this page does not quantify.
Bar length helps as well, because L sits in the denominator. A 10 in bar halves the angle error of a 5 in bar for the same stack error, as the two arcsecond columns in the table show. The hobby build page at kc7nod.20m.com says the longer the centre distance, the more accurate the bar will be, and gives an example in which missing the block height by 1/64 in produces an error of only .1033 degrees. Its text does not say which bar length or angle it used. A 10 in bar at 30° with the stack 1/64 in short reproduces the figure, and the code returns 0.1033°. That is an inference about the example, not something the page states.
What the gauge block stack adds, and why this page has no stack builder
The stack itself carries error. Wikipedia's gauge block article says machinists and toolmakers use the fewest blocks they can to avoid accumulating size errors. Its example is a stack of .638 in made from a .500 block and a .138 block, which beats a four-block stack of .200, .149, .151 and .138. Each block has a size tolerance of a few millionths of an inch, and the article says that even multi-block stacks are usually negligible in all but the most demanding work. The nominal length stamped on a block includes one wring film, about 25 nm thick, and blocks are calibrated at 20 °C.
Wikipedia lists the grade tolerances in micrometres. Workshop grade (B) is +0.25 to −0.15 µm, inspection grade (A) is +0.15 to −0.05 µm, calibration grade (AA) is +0.10 to −0.05 µm and reference grade (AAA) is ±0.05 µm. The article adds that the tolerance varies within a grade as the block thickness increases, so thicker blocks can differ from the figures above. As an illustration only, suppose three blocks each sat at the +0.25 µm limit. On a 100 mm bar at 30° the 0.75 µm stack error would move the angle 1.79 arcseconds. That is an illustration of scale and not a prediction for a real stack.
Rounding the stack matters too. If your blocks come in steps of 0.0001 in, a calculated height can miss the nearest buildable stack by up to 0.00005 in. For the default 5 in bar at 30° that costs up to 0.0007° (2.4 arcseconds). Wikipedia's example of three blocks from a set of 30 reaching any of 1,000 lengths from .3000 to .3999 in in 0.0001 in steps shows how fine a set can go, but real sets differ and some stacks need more blocks.
The page does not include a block picker. It would have to print the contents of standard sets, such as an 81-piece or a 47-piece set, and none of the pages fetched for this page lists them. A builder that guessed at set contents could return a stack that cannot be made, so it was left out. Use the stack height above with your own set, build it with as few blocks as the set allows, and put wear blocks at the ends of the stack where the set has them, as Wikipedia says to do.
Where the sources and this page's code differ
Three small differences turned up when each printed value was recomputed. None changes a setup in practice, and none was adjusted quietly.
| Source | Printed | This page's code |
|---|---|---|
| LibreTexts, 13° on a 5 in bar | 1.124 in | 1.1248 in, 1.125 in rounded |
| toolgrit, Morse No. 2 on a 5 in bar | about 0.1249 in | 0.1248 in |
| Wikipedia, Morse No. 4.5 half angle | 1° 29′ 51″ | 1° 29′ 50″ |
| Where a sine bar loses accuracy | above 45° (GlobalCalcs, typically) | smooth, 1 ÷ cos(angle) |
The first two are rounding in the source, the third is a ratio printed to three decimals, and the last is a difference in statement and not in number. A shop rule of 45° is easy to remember, while the formula tells you how much the error grows at any angle. The page uses the formula and reports the rule as the sources give it.
Sine bar formulas for a spreadsheet
With the bar length in B1, the angle in degrees in B2 and the stack height in B3, the stack for an angle is =B1*SIN(RADIANS(B2)) and the angle for a stack is =DEGREES(ASIN(B3/B1)). For the default these return 2.5000 and 30.0000. The angle error from a stack error in B4 is =DEGREES(B4/(B1*COS(RADIANS(B2)))), which gives 0.0013 for 0.0001 in.
For tapers, with the large diameter in B5, the small diameter in B6 and the length in B7, taper per foot is =12*(B5-B6)/B7 and the half angle is =DEGREES(ATAN((B5-B6)/B7/2)). For a taper per foot in B8 the half angle is =DEGREES(ATAN(B8/24)), which gives 1.4321 for 0.6, and the included angle is twice that. Spreadsheet trig functions work in radians, which is why RADIANS and DEGREES appear in every formula.
What the calculator does not cover
The numbers are the theory of the sine bar. They assume the two rollers are equal in diameter and exactly parallel to the top of the bar, that the centre distance is the figure you enter, and that the stack is exactly the height given. The kc7nod page makes the same point for a homemade bar, saying the roller size is not important as long as the two rollers match. Gauge block grade, temperature, wringing and flatness of the plate all change the result and are not modelled. The first-order error formula is exact enough for stack errors of a few thousandths of an inch, and the page uses the exact arcsine in its tables. Dovetail dimensions are left out because no source for them was read for this page.
For angle work that needs a tolerance on the finished part, the ISO 2768 page covers general tolerances, and the inch to mm conversion chart helps with stacks given in one unit and blocks in the other. To read the blocks or the plate with a hand tool, see how to use a micrometer and vernier caliper reading.
The same data as JSON, with units and source: sine-bar.json.