How to measure a shaft for a replacement knob
By Sina Esfahani, OmniTechs · Published 22 November 2026
A replacement knob has to match four things: the shaft type (round, D-shaped, splined or square), its diameter, the flat or tooth pattern, and the space between panel and knob. Measure the shaft itself with calipers, not the bore of the broken knob, and note where the flat points in the off position. Have a small test ring printed before the whole knob.
Tell the shaft types apart
Switch the appliance off, unplug it and let it cool. On a gas appliance, close the gas supply first and follow the manufacturer's instructions before you touch a control: turning a bare gas valve can release gas even with the power off. Then pull the old knob off, or loosen its set screw first, and look at the shaft tip.
Round: a smooth cylinder, sometimes with a screwdriver slot; the knob holds with a set screw or collet.
D-shaped (flatted): round with one flat face, which stops the knob slipping and fixes the pointer.
Splined (knurled): fine teeth along the shaft, often split by a slot for a push-on knob.
Square: four flat sides.
Published sizes show why guessing fails
Bourns draws its PDB18 potentiometer with a 6.0 mm shaft, plain, flatted or knurled with 18 teeth. The flatted version is 4.5 mm across the flat.
Bourns' 90 series panel controls come with 1/4 inch (6.35 mm), 6 mm and 4 mm shafts.
Bourns' PDB183 guitar potentiometer has a split knurled shaft with 18 or 24 teeth.
Knob maker OKW names 3, 4, 6 and 8 mm and 1/4 inch as common spindle diameters, and a D profile of 6/4.6 mm.
A 6 mm and a 1/4 inch shaft differ by 0.35 mm, and Bourns and OKW put the flat of a 6 mm shaft 0.1 mm apart. These figures describe electronic controls. On a cooker or other appliance, every dimension is unknown until you measure it.
The tools you need
Digital calipers. Mitutoyo states a resolution of 0.01 mm and a maximum permissible error of 0.02 mm for its 150 mm digital models.
A marker and good light for counting teeth.
A phone for photos.
Measure in this order
Diameter. Close the outside jaws on the round part in three directions, never across the flat or the slot. Use light, even force and do not squeeze a split shaft together.
Flat. Put one jaw on the flat and one on the round back for the size across the flat. Then measure how far the flat runs from the tip.
Teeth. Mark one tooth and count around twice. Measure over the tips, and the slot width on a split shaft.
Square. Measure across the flats in both directions and across the corners.
Length. Stand a steel ruler upright on the panel beside the shaft and read how far the tip stands above the panel; the panel face is your reference. Also measure how far a nut or bushing stands above the panel.
Push travel. If the shaft is pushed in before it turns, measure panel to tip both released and pushed. The knob must not touch the panel before the travel ends.
Pointer position. Do not turn the control of a gas appliance or of anything that is still connected. With the control in its off position, note, seen from the front, the clock position the flat faces and the one where the pointer must be. On a disconnected electronic control such as a potentiometer you can turn the shaft to its counter-clockwise stop, the position at which Bourns' datasheets draw the flat, and note it there.
Space on the panel. Measure the distance to neighbouring knobs and markings.
Old knob. Measure its bore only as a cross-check: Mitutoyo notes that caliper inside jaws read a small hole slightly too small.
What to measure
| Measurement | How | Why it matters |
|---|---|---|
| Shaft type | Look at the tip: smooth, one flat, teeth or square | Decides the shape of the bore |
| Shaft diameter | Outside jaws on the round part, three directions | Main size of the bore |
| Across the flat | One jaw on the flat, one on the round back | Stops the knob slipping |
| Flat length | From the tip along the shaft | How deep the D shape must run |
| Teeth and tip diameter | Mark one tooth, count twice, jaws over the tips | The splines must mesh |
| Shaft length | Ruler upright on the panel beside the shaft, and nut height | Bore depth and knob height |
| Push travel | Panel to tip, released and pushed | The knob must not hit the panel |
| Flat direction in the off position | Without turning the control, note the clock position; a stop only on a disconnected electronic control | Puts the pointer in the right place |
| Space on the panel | Distance to neighbouring knobs and markings | Limits the knob diameter |
Measurement sheet
| Item | Your value | Note |
|---|---|---|
| Appliance | ... | Brand, model and which control |
| Shaft type | round / D / splined / square | Choose one |
| Diameter | ... / ... / ... mm | Three directions, round part only |
| Across the flat | ... mm | D shaft only |
| Flat length | ... mm | From the tip |
| Teeth | ... teeth, ... mm over the tips | Splined only; split yes / no |
| Across the flats | ... x ... mm | Square only |
| Height panel to tip | ... mm | Measured from the panel face |
| Nut or bushing height | ... mm | Above the panel |
| Push travel | ... mm | Only if the shaft is pushed in |
| Flat faces in the off position | ... o'clock | Do not turn an appliance control to find a stop |
| Pointer in the off position | ... o'clock | Where the mark must point |
| Largest knob diameter | ... mm | Space between neighbours |
| Heat nearby | yes / no, about ... °C | Oven, hob or heater |
Knobs near heat
A knob on a cooker, oven or heater needs a material check before anything is printed. Filament maker Prusa writes that PLA softens and deforms above 60 °C and describes PETG as suited to use below 80 °C. Those are general statements about a material, not a rating for your knob: see PLA or PETG for your part. OmniTechs prints in PLA and PETG, assesses parts exposed to high temperature or with a safety function separately, and declines them when printing is not responsible. Say how warm the knob gets, and expect that some cooker knobs cannot be printed.
Common mistakes
Measuring the broken knob instead of the shaft.
Measuring the diameter across the flat.
Forgetting the nut and the push travel.
Leaving out the flat direction, so the pointer ends up turned.
Copying a clearance from another project. There is no universal clearance; the fit comes from your shaft and a test.
What to send with a request
Send the filled-in sheet, a photo straight onto the shaft tip and one from the side with calipers in view, and a photo of the panel. Add the brand and model, how the old knob was held (pushed on, set screw or clip), how many knobs you need and the pieces of the old knob if you have them.
Test with a ring first
Ask for a small ring that carries the bore shape. On a D-shaped, splined or square shaft, check by hand that it slides on, does not wobble, does not turn on the shaft and comes off again. On a smooth round shaft the ring only shows the diameter: the grip comes from the set screw or collet, so ask for the test ring with that fastening and check that it holds when tightened. A mark on the ring shows whether the pointer direction is right. Have it printed in the material of the final knob.
OmniTechs redraws and prints knobs in Groningen; the first assessment is free via the 3D-printed parts page. The tolerances and clearance guide explains why a fit is tested rather than assumed, and measuring a replacement plastic part covers other broken parts.

