Home / Articles / Draw and calculate a sprocket and chain
Draw + calculate · Trade

Draw and calculate a sprocket and chain

8 min read · updated 14 Nov 2026

A sprocket is defined by two values: the chain pitch P (the distance between chain pins) and the number of teeth N. The key dimension when drawing one is the pitch circle diameter, PCD = P ÷ sin(180° ⁄ N) — the circle on which the chain-roller centres sit. Once you have the PCD you can find the outside (tip) diameter and the bottom diameter. This guide gives the formulas, a worked ANSI-40, 17-tooth example, and how to draw the sprocket reference circles in DXCAD2D Online.

Sprocket formulas

Every chain roller sits on the pitch circle as the corner of an N-sided polygon whose side length is the chain pitch P. From polygon geometry you get the formulas below (angles in degrees).

To findFormulaNote
Pitch circle PCDPCD = P ⁄ sin(180° ⁄ N)where the roller centres sit
Outside (tip) dia D_oD_o = P × (0.6 + cot(180° ⁄ N))measured over the tooth tips
Bottom dia D_bD_b = PCD − d₁d₁ = chain roller diameter
Tooth angle360° ⁄ Nangular spacing of the teeth
Note: cot(x) = 1 ⁄ tan(x) — if your calculator has no cot key, enter 1 ÷ tan(180 ÷ N). Set the calculator to degrees (DEG) before computing sin and tan.
PCD ⁄ 2 P
A 17-tooth sprocket: every roller centre lies on the pitch circle (long dash) · the solid outer line = outside Ø · the short-dash circle = bottom Ø · pin-to-pin = chain pitch P.

Worked example: ANSI-40 chain, 17 teeth

ANSI-40 chain has a pitch P = 12.70 mm (½ inch) and a roller diameter d₁ = 7.92 mm. The sprocket has N = 17 teeth.

  1. Half-tooth angle: 180° ⁄ 17 = 10.588°
  2. Pitch circle: PCD = 12.70 ⁄ sin(10.588°) = 12.70 ⁄ 0.18375 = 69.12 mm
  3. Outside dia: D_o = 12.70 × (0.6 + cot 10.588°) = 12.70 × (0.6 + 5.349) = 12.70 × 5.949 = 75.56 mm
  4. Bottom dia: D_b = PCD − d₁ = 69.12 − 7.92 = 61.20 mm
  5. Angle between teeth: 360° ⁄ 17 = 21.18°
Cross-check: the rollers sit on the PCD at radius 34.56 mm. The chord between two adjacent rollers = 2 × 34.56 × sin(10.588°) = 2 × 34.56 × 0.18375 = 12.70 mm, which equals the chain pitch exactly — confirming the PCD.

Common ANSI chain-pitch table

Chain no.Pitch P (mm)Pitch (inch)Roller Ø d₁ (mm)
256.35¼"3.30
359.525⅜"5.08
4012.70½"7.92
5015.875⅝"10.16
6019.05¾"11.91
8025.401"15.88

For a different chain number, just change the pitch P and roller diameter d₁ in the same formulas. N is the tooth count you choose — more teeth make a larger sprocket.

Try it right now — a free 2D CAD in your browser. Nothing to install, no sign-up.

Open DXCAD2D Online

Drawing the sprocket in the program

The accurate, quick method is to place the rollers on the pitch circle first, then sketch the teeth between them. Below we draw the ANSI-40, 17-tooth sprocket at full size.

  1. Type C Enter, click the centre 0,0, enter radius 34.56 (= PCD ⁄ 2) Enter for the pitch circle.
  2. Repeat C and draw one roller at the top of the pitch circle (point 0,34.56) with radius 3.96 (= d₁ ⁄ 2) Enter.
  3. Type PO Enter (polar array), select the roller circle, set the centre 0,0, enter 17 items over 360° to place all the rollers.
  4. Type C and draw the outside circle at radius 37.78 (= D_o ⁄ 2) and the bottom circle at radius 30.60 (= D_b ⁄ 2) as reference.
  5. Sketch the tooth flanks between the rollers with A (3-point arc) so each flank seats the roller, then TR to trim, and finish with D to dimension the outside Ø and tooth count.

Frequently asked questions

How do I calculate a sprocket PCD

PCD = chain pitch ÷ sin(180° ÷ teeth). For ANSI-40 chain (12.70 mm pitch) with 17 teeth that is 12.70 ÷ sin(10.588°) = 69.12 mm. Set the calculator to degrees first.

What is the pitch of a number 40 chain

12.70 mm (½ inch), with a 7.92 mm roller. Number 50 is 15.875 mm pitch and number 60 is 19.05 mm.

How do I find a sprocket outside diameter

Outside Ø = pitch × (0.6 + cot(180° ÷ teeth)). For a 17-tooth ANSI-40 sprocket that is 12.70 × (0.6 + 5.349) = 75.56 mm.

How does a 17-tooth sprocket differ from a 25-tooth one

More teeth means a larger PCD: ANSI-40 with 17 teeth gives a 69.12 mm PCD, while 25 teeth gives 101.33 mm. A sprocket with more teeth runs smoother with less chain pulsation.

Summary

A sprocket is set by its chain pitch P and tooth count N. The key is PCD = P ÷ sin(180°⁄N), the circle the roller centres sit on. Then outside Ø = P(0.6 + cot(180°⁄N)) and bottom Ø = PCD − roller Ø. For an ANSI-40, 17-tooth sprocket that gives a PCD of 69.12, an outside Ø of 75.56 and a bottom Ø of 61.20 mm. When drawing, place the rollers on the pitch circle with a polar array first, then sketch the teeth.