Home / Articles / How to draw and calculate a cam profile by degrees
Draw + calculate · Production

How to draw and calculate a cam profile by degrees

9 min read · updated 17 Nov 2026

A cam turns rotation into the up-and-down motion of a follower. Its edge is not a circle but a radius that changes with the angle of rotation. The simple idea is this: at every angle θ the cam-edge radius is R(θ) = base-circle radius + the lift at that angle. Split the turn into rise, dwell and return, work out the lift degree by degree, and you have a set of edge points you can draw as a single polyline and send straight to a cutter.

Parts and terms to know

A disc cam with a radial translating follower has only a few key values.

SymbolMeaning
RbBase-circle radius — the lowest follower position
hMaximum lift (rise) the follower travels
βRise angle — the angle over which the lift happens, e.g. full lift in 120°
θCurrent cam angle of rotation
s(θ)Follower lift at angle θ
R(θ)Cam-edge radius at θ = Rb + s(θ)

A typical cycle has four phases: rise, dwell at the top (held high), return, and dwell at the bottom (held low) — together making 360°.

h Rb rise dwell (top) return dwell (low) dashed = base circle Rb · solid = cam profile
The cam edge is the base circle (dashed) pushed out by the lift s(θ) during the rise, held through the top dwell, then brought back during the return.

Simple harmonic motion (SHM) — the lift formula

A constant-velocity (straight-line) rise jerks the follower at the start and end because the acceleration jumps to infinity. Machinists favour simple harmonic motion, which starts and ends softly. The lift during the rise (0 ≤ θ ≤ β) is

Rise (SHM): s(θ) = (h ÷ 2) × [ 1 − cos( 180° × θ ÷ β ) ]
Return (SHM): s(θ) = (h ÷ 2) × [ 1 + cos( 180° × (θ − θstart of return) ÷ β ) ]
Top dwell: s = h constant · Low dwell: s = 0

The edge radius you actually draw is always R(θ) = Rb + s(θ).

Worked example: Ø50 base, 20 mm lift

Given a base circle of Ø50 (Rb = 25 mm), lift h = 20 mm, SHM rise over 0–120°, top dwell 120–180°, SHM return 180–300°, low dwell 300–360°.

Substitute the rise at θ = 30°:   s = (20 ÷ 2) × [ 1 − cos(180° × 30 ÷ 120) ] = 10 × [ 1 − cos 45° ] = 10 × (1 − 0.7071) = 2.929 mm → R = 25 + 2.929 = 27.93 mm.

Repeat every 15° to build the edge-radius table (values rounded from the exact SHM).

θ (°)s(θ) mmR(θ) mmX = R·cos θY = R·sin θ
00.0025.0025.000.00
150.7625.7624.886.67
302.9327.9324.1913.96
456.1731.1722.0422.04
6010.0035.0017.5030.31
7513.8338.8310.0537.50
9017.0742.070.0042.07
10519.2444.24−11.4542.73
12020.0045.00−22.5038.97

The top dwell (120–180°) keeps R = 45 constant, and the return (180–300°) mirrors the rise — for instance θ = 240° gives s = 10, R = 35, exactly like θ = 60°. The low dwell (300–360°) keeps R = 25.

Drawing it in the program

The most accurate way is to type the X,Y of each point into one polyline.

  1. Type C and draw the base circle at centre 0,0 radius 25 for reference, plus a second circle R = 45 as the outer limit.
  2. Type PL and press Enter to start a polyline. Type the first point 25,0 Enter, then each following point as an absolute coordinate prefixed with #, e.g. #24.88,6.67 then #24.19,13.96, working through the whole table around the edge (rise → top dwell → return → low dwell).
  3. A dwell is a constant-radius arc — add a mid-phase point (e.g. θ = 150° at R = 45) for a smoother curve, or type A and draw an arc through the start–mid–end points of the dwell.
  4. Because this cam is symmetric left to right, you can draw only the rise half (0–180°) and then MI mirror it about the horizontal axis to get the return half — that halves the coordinates you type.
  5. Close the polyline back to the first point and press Enter to finish; you get a single closed cam edge.
  6. Check with ME by measuring centre-to-edge at a few angles against R(θ) in the table, and dimension with D.
Finer divisions, smoother edge: the example uses 15° steps (24 per turn), which is plenty for general work. For a smooth edge at high speed, divide every 5° or 10° and compute the extra s(θ) — a cutter already reads a many-point polyline as a curve.

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

Open DXCAD2D Online

Watch the rotation direction and follower type

The table above lays the angle θ off counter-clockwise around the cam. If the cam turns clockwise, lay the rise/dwell/return angles off in the opposite direction to rotation (the profile mirrors). Also, R(θ) = Rb + s(θ) applies to a knife-edge or flat-faced follower; for a roller follower you must first draw the roller-centre path (pitch curve) and then offset it inward (O) by the roller radius to get the real contact edge.

Frequently asked questions

how to calculate a cam profile

At every rotation angle θ the edge radius R(θ) = base-circle radius + the lift at that angle s(θ). Split the turn into rise, dwell and return, compute s(θ) per degree, then convert to X = R·cos θ, Y = R·sin θ to draw it.

what is the base circle of a cam

It is the smallest circle of the cam, matching the follower's lowest position. Every edge radius is measured from the centre as base-circle radius plus lift. A larger base circle gives a smaller pressure angle and runs more smoothly.

difference between SHM and constant velocity cam motion

Constant velocity rises in a straight line — simple but jerks at the start and stop. SHM uses s = (h/2)(1 − cos), starting and ending softly, so it suits high-speed cams where the acceleration must not slam.

does a roller follower cam draw differently from a knife-edge

Yes. For a roller follower you draw the roller-centre path (pitch curve) first, then offset it inward by the roller radius to get the true cam edge the roller touches.

Summary

A cam profile is a radius that changes with angle: R(θ) = Rb + s(θ). Split the turn into rise, top dwell, return and low dwell, use the SHM lift s = (h/2)(1 − cos(180°·θ/β)) to find the lift degree by degree, convert to X,Y and draw it as a point-by-point polyline. Finer angle steps give a smoother edge — and always check the rotation direction and follower type before cutting.