In this article
- Key takeaways
- What is a detent spring?
- How does spring force become detent force?
- Worked example: two springs, the same holding force
- Which material should a detent spring use?
- Small-spring tolerances and end types
- Fatigue, wear and cycle life
- How we make and check small detent springs
- What to send for a detent spring quote
- Frequently asked questions
- About the authors
- Sources
Cover image: AI illustration. It is based on our photo of small compression springs, placed in a new setting.
A detent spring is the small compression spring that pushes a ball, pin or plunger into a notch. The moving part then stops at a set position and needs a definite force to move on. It is the part that makes a knob click, a selector shaft hold its gear, or a folding arm lock open. Typical uses include machine tool fixtures, medical device mechanisms, such as injector dose knobs, and folding frames. The spring sets the force; the notch geometry turns that force into a holding force.
Most detent problems on the bench are spring problems: the click is too weak, too stiff, or different from one batch to the next. This guide is for design engineers and buyers who need custom compression springs for ball detents and spring plungers. It explains the formulas, works through an example with two different springs, and ends with a checklist for your quote request.
Key takeaways
- Holding force is spring force times a ratio. For a ball on a flank of angle θ, the force to move the part is the spring force times tan θ without friction. A US patent for a spring detent gives the breakout force as F · tan θ [1]. Friction raises it to tan(θ + φ).
- Preload sets the breakaway force; spring rate sets how much it grows. In our worked example, two springs both hold 36.7 N. The stiff one rises to 50.0 N at the top of the notch, the soft one only to 41.6 N.
- A stiff detent spring magnifies tolerances. With a rate of 13.6 N/mm, a free length error of 0.2 mm changes the preload by 9%. With 5.05 N/mm, it changes by 3.4%.
- Every click is a fatigue cycle. A detent that indexes many times a day needs a fatigue check, not just a static stress check. The softer spring in our example halves the stress range.
What is a detent spring?
A detent is a mechanism that holds a part in one of several positions until a set force moves it. The detent spring supplies that force, and in most designs it is a short compression spring in a blind hole or a threaded body, with a steel ball or a nose pin at its end.
The common forms are:
| Mechanism | How it works | Typical spring | Where it is used |
|---|---|---|---|
| Ball detent | A loose ball in a drilled hole is pushed into holes or grooves in the mating part | Small compression spring, ball larger than the spring’s inside diameter | Selector shafts, knobs, hinges, folding arms |
| Spring plunger | A threaded body holds the spring and a ball or nose pin; the thread sets the preload | Compression spring made to fit the body bore | Fixtures, jigs, indexing tables, door catches |
| Indexing plunger | A pin is pulled back by hand and the spring pushes it into a locating hole | Longer compression spring with more travel | Machine guards, adjustable frames, tool positions |
| Wire-form detent | A bent wire or flat spring snaps over a bump or into a groove | Wire form instead of a coil spring | Covers, clips, low-cost latches |
A ball detent can also be a release device. A NASA tech brief describes a ball detent release in which the locking balls fall into a groove in the actuator shaft to free a deployed assembly. It also notes that a ball that hangs up in its hole can stop the release [4]. That is a useful reminder: the spring, the ball and the hole are one system.
How does spring force become detent force?
Detent force is the spring force multiplied by a factor that depends on the ramp angle and on friction. The ball sits in a notch, and to move the part sideways, the ball has to climb the flank of the notch. The flank pushes back along its normal, so a sideways force on the part is needed to lift the ball against the spring.

Without friction, the force to move the part is:
Fd = Fs · tan θ
where Fs is the spring force on the ball and θ is the angle between the flank and the direction of travel. A US patent for a spring detent states the same relation, breakout force = F tan(θ), with θ the ramp angle of the ball seat. It adds that friction, including rolling friction of the ball, increases the breakout force [1].
Friction is easy to add with the friction angle, because statics texts define the friction angle φ by tan φ = μ, the friction coefficient [2]. The friction force tilts the flank reaction by φ, which gives:
- Breakaway (holding) force: Fd = Fs · tan(θ + φ).
- Snap-in (return) force: Fr = Fs · tan(θ − φ), the force with which the spring pulls the part back into the notch.
- Self-locking means that if θ + φ reaches 90°, no sideways force will lift the ball, and the detent becomes a lock.
The spring force is not constant either, because the spring is compressed further while the ball climbs. The force on the ball is:
Fs = P + k · x
where P is the preload with the ball seated, k is the spring rate and x is how far the ball has risen. Simulation tools model a detent with the same inputs. The Simscape Translational Detent block takes a preload force, a spring stiffness, a ball diameter, a notch angle and a notch depth, with a default notch angle of 120° [3].
How big is the ratio?
We compiled the ratio Fd / Fs for common flank angles and friction values. A 120° notch has 30° flanks, and a 90° notch has 45° flanks.

| Flank angle θ | μ = 0 | μ = 0.10 | μ = 0.15 | μ = 0.20 | Snap-in at μ = 0.10 |
|---|---|---|---|---|---|
| 15° | 0.27 | 0.38 | 0.44 | 0.49 | 0.16 |
| 30° (120° notch) | 0.58 | 0.72 | 0.80 | 0.88 | 0.45 |
| 45° (90° notch) | 1.00 | 1.22 | 1.35 | 1.50 | 0.82 |
| 60° | 1.73 | 2.22 | 2.54 | 2.96 | 1.39 |
Two things stand out, and the first is that friction matters more on steep flanks: at 60°, going from μ = 0.10 to 0.20 adds a third to the holding force. A detent that is greased at assembly and dry a year later will feel different. Second, a shallow flank gives a weak snap-in. At 15° and μ = 0.10, the spring pulls the part back with only 16% of its own force, so the part may not find its position on its own.
Ball size and hole size
Many ball detents use a plain drilled hole, not a V-notch. The ball then rests on the sharp edge of the hole. The contact normal passes through the ball centre. So the effective flank angle β follows from the ball diameter D and the hole diameter w:
sin β = w / D
The ball sinks into the hole by D/2 · (1 − cos β). For a 6 mm ball, the numbers are:
| Hole diameter | Effective angle β | Ball depth in hole | Fd / Fs, μ = 0 | Fd / Fs, μ = 0.10 |
|---|---|---|---|---|
| 2 mm | 19.5° | 0.17 mm | 0.35 | 0.47 |
| 3 mm | 30.0° | 0.40 mm | 0.58 | 0.72 |
| 4 mm | 41.8° | 0.76 mm | 0.89 | 1.09 |
| 5 mm | 56.4° | 1.34 mm | 1.51 | 1.89 |
A larger hole gives a stronger detent and a deeper seat, so the spring also needs more travel. Going from a 3 mm to a 4 mm hole raises the factor at μ = 0.10 from 0.72 to 1.09: about 51% more holding force from the same spring, for 0.36 mm more travel. As the ball rolls over the edge, the angle falls, so the peak force usually occurs right at the start of the movement. A sharp edge also wears quickly, and a small chamfer makes the force more stable over the life of the part.
Worked example: two springs, the same holding force
The choice between a stiff and a soft spring is the main detent spring design decision, and it is easiest to understand with real numbers.
Example scenario (an illustration, not a customer record). A spring plunger uses a 6 mm steel ball in a 6.3 mm bore. The mating part has a 90° V-notch, so θ = 45°. The ball rises 0.8 mm before it reaches the crest. We assume μ = 0.10 at the flank, and the required holding force is about 37 N, so the spring must give 30 N with the ball seated, because 30 × 1.22 = 36.7 N.
Methodology: we compiled the numbers below with the standard spring formulas, for example the rate and stress equations in Shigley. Both springs are music wire with 6.0 mm outside diameter. The rate is k = G d⁴ / (8 D³ n), with G = 81.7 GPa for music wire of about 1 mm from Shigley’s table. The corrected stress uses the Wahl factor, and the tensile strength uses Shigley’s fit for music wire, Sut = 2211 / d^0.145 MPa [8].

| Spring A (stiff) | Spring B (soft) | |
|---|---|---|
| Wire d, mean diameter D | 1.0 mm, 5.0 mm | 0.9 mm, 5.1 mm |
| Active coils, total coils | 6, 8 | 10, 12 |
| Spring rate k | 13.62 N/mm | 5.05 N/mm |
| Free length, installed length | 12.0 mm, 9.8 mm | 18.5 mm, 12.6 mm |
| Spring force seated / at crest | 30.0 N / 40.9 N | 30.0 N / 34.0 N |
| Holding force at start / at crest | 36.7 N / 50.0 N | 36.7 N / 41.6 N |
| Snap-in force at crest / seated | 33.5 N / 24.5 N | 27.9 N / 24.5 N |
| Corrected stress, seated / at crest | 501 / 682 MPa | 678 / 770 MPa |
| Stress at crest, % of tensile strength | 31% | 34% |
| Stress range per click | 182 MPa | 91 MPa |
| Preload change for ±0.2 mm free length | ±2.7 N (±9.1%) | ±1.0 N (±3.4%) |
Read the table this way: Spring A is short and easy to fit, but its force climbs by a third during the click, and any error in free length or pocket depth moves the preload a lot. Spring B gives a flatter, more repeatable feel and half the stress range, but it needs a pocket about 3 mm deeper and runs at a higher mean stress. Both pass a static check against the 45% limit that Shigley gives for music wire [8].
If the pocket depth allows it, a softer spring with more preload is usually the better detent spring. Our spring preload guide explains how to put preload on a drawing. Our compression spring design guide covers buckling, solid height and the full stress check.
Which material should a detent spring use?
Most detent springs are made of music wire or stainless steel, and the choice between them depends on the environment first and on the working stress second.
| Wire | Standard | When to use it | Design note |
|---|---|---|---|
| Music wire | ASTM A228 | Dry, indoor or oiled mechanisms; highest strength in small sizes | Needs a finish or oil against rust |
| 302/304 stainless | ASTM A313 | Humid, washdown, food and medical devices | About 15% less rate than music wire at the same geometry |
| 316 stainless | ASTM A313 | Salt spray or chloride cleaners | Lower strength than 302; check the stress |
| Oil-tempered or silicon-chrome wire | ASTM / EN oil-tempered grades | Larger plungers, warmer service | Common in heavier sizes |
| Phosphor bronze, beryllium copper | Copper alloy wire | Non-magnetic or conductive detents | Lower modulus; larger wire for the same force |
ASTM A228 covers music spring quality wire “intended especially for the manufacture of springs subject to high stresses or requiring good fatigue properties” [5]. ASTM A313 covers austenitic, austenitic-ferritic and age-hardenable stainless steel round wire for springs [6].
Changing the material also changes the rate, because Shigley lists G = 69.0 GPa for 302 stainless, against 81.7 GPa for 1 mm music wire [8]. So Spring A remade in 302 would drop from 13.6 to about 11.5 N/mm. Its seated force would fall from 30.0 to about 25.3 N and its holding force from 36.7 to about 31.0 N, unless the coil count is reduced. Our music wire springs guide and stainless steel springs guide give the strength by wire size for each.
Small-spring tolerances and end types
Detent springs are small, so a few hundredths of a millimetre matter, and the best approach is to tolerance the force you need rather than every dimension.
EN 15800 sets the quality specification for cold-coiled compression springs. Its contents list permissible variations for the wire diameter, the coil diameter, the spring force at a given length, the free length, and the squareness of ground ends [7]. For a detent, the useful callout is one force at the installed length with a tolerance, plus a free length marked as reference. The spring maker can then adjust the free length to hit the force.
Remember the pocket: the installed length depends on the depth of the hole and the position of the ball, so the housing tolerance acts on the preload exactly like the free length tolerance does. For Spring A, a pocket 0.1 mm deeper removes 1.4 N of preload and 1.7 N of holding force. A threaded spring plunger lets you adjust it in assembly; a pressed-in ball detent does not.
End details for detent springs:
- Closed ends on both sides, so the end coil gives the ball or pin a flat, stable seat.
- Ball larger than the inside diameter. The ball must not enter the coils. In our example, the 6 mm ball sits on springs with 4.0 and 4.2 mm inside diameter, 1.8 to 2.0 mm smaller than the ball.
- Ground or not ground. Ground ends stand square and carry the load evenly. Very fine wire is often left closed but not ground, because grinding thin wire is slow and can leave burrs.
- Outside diameter against the bore. Leave clearance so the spring does not drag; the example uses a 6.0 mm spring in a 6.3 mm bore, 0.3 mm on the diameter. Friction against the bore adds to the detent force and makes it vary.
- Solid height. Check that the spring does not go solid when the ball is at the crest. In the example, Spring A still has 1.0 mm in hand.
Fatigue, wear and cycle life
A detent spring sees one load cycle per click, between P and P + k·h. For example, a knob that is turned a few times a day will never notice. A gear selector, a test fixture or an indexing table can reach hundreds of thousands of clicks.
EN 13906-1 treats a compression spring as dynamically loaded above about 10⁴ cycles and defines infinite life for cold-coiled springs as at least 10⁷ cycles, as summarised in our compression spring design guide. Above that line, the stress range matters more than the peak stress. In the example, Spring A cycles between 501 and 682 MPa and Spring B between 678 and 770 MPa. That is why the soft spring, with half the stress range, is the safer fatigue choice. Shot peening is a common industry method to raise fatigue strength of highly stressed springs.
Wear changes the force too: as the flank or hole edge wears, the effective angle θ falls, and the holding force falls with it. Hardened notches, a chamfer instead of a sharp edge, and a stable lubricant keep the click consistent longer. For a detent whose release is safety-critical, design for the case where a ball sticks, as the NASA brief shows [4].
How we make and check small detent springs
We coil compression springs from 0.1 mm wire upward. Materials we work with include music wire, 304 and 316 stainless, oil-tempered and silicon-chrome wire, phosphor bronze and beryllium copper. Precision compression springs we have supplied include insulin pen springs and lancet device springs for medical devices, made under our ISO 13485 certification.

For small springs, our inspection room uses a Keyence IM-8000 series vision measuring system for free length, outer diameter, wire diameter and coil count without touching the part. JISC and Aikoh spring testers check the load at the working lengths on the drawing. For cyclic parts, our lab has a spring fatigue tester (SAS CT series) for cycle requirements agreed on the drawing. We work from a drawing, a sketch or a sample, with no fixed minimum order, and reply with engineering feedback within 24 hours. You can read more about NorenSpring, our certifications and our plant.
What to send for a detent spring quote
A detent spring quote is quick when the drawing defines the force at the installed length. Send:
- Mechanism type: ball detent, spring plunger, indexing plunger or wire-form detent, with a sketch of the pocket.
- Ball or pin size and the bore diameter the spring runs in.
- Installed length and travel: the length with the ball seated and the extra travel to the crest.
- Force at the installed length, with a tolerance, or the holding force you need and the notch angle, so we can work back to the spring force.
- Material and finish, or the environment: humidity, chlorides, temperature, magnetism.
- Cycle life: clicks per day and the expected service life.
- End type, quantity and whether you need samples for fit and feel approval.
Our guide on how to specify a custom compression spring shows a full drawing callout. When you are ready, send your drawing or sample through our contact page.
Frequently asked questions
What is the difference between a ball detent spring and a spring plunger spring?
None in principle: both are compression springs that push a ball or pin. A ball detent spring sits in a drilled hole in your part. A spring plunger spring sits inside a threaded body, which sets its preload and lets you adjust it.
How do I calculate detent force?
Multiply the spring force at the seated position by tan(θ + φ), where θ is the flank angle and φ = arctan μ. For a 45° flank and μ = 0.10, the factor is 1.22. Then check the force at the crest using the spring rate.
Should a detent spring be stiff or soft?
Usually soft with more preload, if the pocket is deep enough. In our example, both springs hold 36.7 N, but the 5.05 N/mm spring peaks at 41.6 N and the 13.62 N/mm spring at 50.0 N. The soft spring is also 2.7 times less sensitive to free length and pocket tolerances.
Can you make a detent spring from a sample?
Yes. Send the sample with the ball size, the pocket depth and the force or feel you want. We can measure it, check the material and propose a drawing. Without a sample, the wire diameter d, outside diameter D0 and free length L0 are enough to start. We accept DWG, DXF, STEP, PDF, JPG and PNG files.
About the authors
This guide was prepared by the NorenSpring engineering team, which designs and manufactures custom compression, extension and torsion springs and wire forms in Xuzhou, China. Technical content reviewed by Feng Yulin, General Manager and senior structural engineer, who has 15 years of spring R&D experience and more than 30 national patents. NorenSpring holds IATF 16949, ISO 9001, ISO 13485, ISO 14001 and ISO 45001 certifications. The product photo is our own; the cover is an AI illustration based on our own product photo. The worked example is a calculation to show the method, not a rated part. Sources were last checked on October 30, 2026.
Sources
The numbers in square brackets in the text refer to this list.
- US Patent 10,894,595 B1, Spring detent for over-ridable interconnect (filed 2017, granted 2021). Google Patents. Source for breakout force = F tan(θ), the role of the seat ramp angle and the added friction. Retrieved 2026-10-30.
- Purdue University, CE297 course notes, Chapter 8: Friction. engineering.purdue.edu. Source for the friction angle, μ = tan φ. Retrieved 2026-10-30.
- MathWorks, Simscape Driveline documentation, Translational Detent block. mathworks.com. Source for the model inputs (preload force, spring stiffness, ball diameter, notch angle, notch depth) and the default 120° notch angle. Retrieved 2026-10-30.
- NASA Marshall Space Flight Center, Tech Brief B72-10470, Ball Detent Mechanism (1972). ntrs.nasa.gov. Retrieved 2026-10-30.
- ASTM A228/A228M, Standard Specification for Steel Wire, Music Spring Quality, scope. store.astm.org. Retrieved 2026-10-30.
- ASTM A313/A313M, Standard Specification for Stainless Steel Spring Wire, scope. store.astm.org. Retrieved 2026-10-30.
- CEN, EN 15800:2008, Cylindrical helical springs made of round wire. Quality specifications for cold coiled compression springs. BSI Knowledge. Retrieved 2026-10-30.
- R. G. Budynas and J. K. Nisbett, Shigley’s Mechanical Engineering Design, 9th edition, McGraw-Hill, 2011, chapter 10 (Mechanical Springs). Source for the spring rate formula, the Wahl factor, the shear modulus of music wire and 302 stainless, the music wire strength fit and the 45% static stress limit.