The number of times a magnetic field line wraps around the torus the long way for each loop the short way — a critical parameter governing plasma stability in tokamaks.
The safety factor, universally denoted q, quantifies the helical pitch of magnetic field lines on a given flux surface inside a tokamak. Formally, q is the number of toroidal (long-way-around) transits a field line makes for every single poloidal (short-way-around) transit. A field line on a surface with q = 3, for example, goes around the torus three times before returning to the same poloidal location.[1]
The safety factor earned its name because it directly controls the plasma's susceptibility to magnetohydrodynamic (MHD) instabilities. The Kruskal-Shafranov stability criterion requires q > 1 everywhere in the plasma to avoid the most dangerous global kink mode. In practice, tokamaks operate with edge safety factors q95 (the value at the surface enclosing 95% of the poloidal flux) typically in the range of 3–7. Operating too close to q = 2 at the edge risks major disruptions.[2]
Flux surfaces where q takes a rational value (a ratio of small integers, such as 1, 3/2, 2, or 3) are special. On these surfaces, field lines close on themselves after a finite number of transits, making them vulnerable to resonant instabilities. Tearing modes can form magnetic islands at rational surfaces, degrading confinement and, in severe cases, triggering disruptions. The q = 1 surface is the site of the sawtooth instability, a periodic relaxation oscillation in the plasma core.[3]
The safety factor is closely related to the ratio of toroidal to poloidal magnetic field: roughly, q ≈ (r BT) / (R BP), where r is the minor radius, R is the major radius, BT is the toroidal field, and BP is the poloidal field. Increasing the plasma current raises BP and lowers q, improving confinement (energy confinement time scales roughly with plasma current) but moving closer to the stability boundary — a fundamental trade-off in tokamak design.
The internal q profile can be measured using motional Stark effect (MSE) diagnostics, which detect the pitch angle of the magnetic field from the polarization of light emitted by injected neutral beam atoms. Accurate knowledge of the q profile is essential for real-time control of advanced tokamak scenarios.[2]