In physics and engineering, the quality factor or Q factor is a dimensionless parameter that describes how underdamped an oscillator or resonator is. It is approximately defined as the ratio of the initial energy stored in the resonator to the energy lost in one radian of the cycle of oscillation. Q factor is alternatively defined as the ratio of a resonator's centre frequency to its bandwidth when subject to an oscillating driving force. These two definitions give numerically similar, but not identical, results. Higher Q indicates a lower rate of energy loss and the oscillations die out more slowly. A pendulum suspended from a high-quality bearing, oscillating in air, has a high Q, while a pendulum immersed in oil has a low one. Resonators with high quality factors have low damping, so that they ring or vibrate longer.
The Q factor is a parameter that describes the resonance behavior of an underdamped harmonic oscillator (resonator). Sinusoidally driven resonators having higher Q factors resonate with greater amplitudes (at the resonant frequency) but have a smaller range of frequencies around that frequency for which they resonate; the range of frequencies for which the oscillator resonates is called the bandwidth. Thus, a high-Q tuned circuit in a radio receiver would be more difficult to tune, but would have more selectivity; it would do a better job of filtering out signals from other stations that lie nearby on the spectrum. High-Q oscillators oscillate with a smaller range of frequencies and are more stable. (See oscillator phase noise.)
The quality factor of oscillators varies substantially from system to system, depending on their construction. Systems for which damping is important (such as dampers keeping a door from slamming shut) have Q near 1⁄2. Clocks, lasers, and other resonating systems that need either strong resonance or high frequency stability have high quality factors. Tuning forks have quality factors around 1000. The quality factor of atomic clocks, superconducting RF cavities used in accelerators, and some high-Q lasers can reach as high as 1011 and higher.
There are many alternative quantities used by physicists and engineers to describe how damped an oscillator is. Important examples include: the damping ratio, relative bandwidth, linewidth and bandwidth measured in octaves.
The concept of Q originated with K. S. Johnson of Western Electric Company's Engineering Department while evaluating the quality of coils (inductors). His choice of the symbol Q was only because, at the time, all other letters of the alphabet were taken. The term was not intended as an abbreviation for "quality" or "quality factor", although these terms have grown to be associated with it. 
The definition of Q since its first use in 1914 has been generalized to apply to coils and condensers, resonant circuits, resonant devices, resonant transmission lines, cavity resonators, and has expanded beyond the electronics field to apply to dynamical systems in general: mechanical and acoustic resonators, material Q and quantum systems such as spectral lines and particle resonances.
In the context of resonators, there are two common definitions for Q, which aren't exactly equivalent. They become approximately equivalent as Q becomes larger, meaning the resonator becomes less damped. One of these definitions is the frequency-to-bandwidth ratio of the resonator:
where fr is the resonant frequency, Δf is the resonance width or full width at half maximum (FWHM) i.e. the bandwidth over which the power of vibration is greater than half the power at the resonant frequency, ωr = 2πfr is the angular resonant frequency, and Δω is the angular half-power bandwidth.
Under this definition, Q is the reciprocal of fractional bandwidth.
Stored energy definition
The factor 2π makes Q expressible in simpler terms, involving only the coefficients of the second-order differential equation describing most resonant systems, electrical or mechanical. In electrical systems, the stored energy is the sum of energies stored in lossless inductors and capacitors; the lost energy is the sum of the energies dissipated in resistors per cycle. In mechanical systems, the stored energy is the maximum possible stored energy, or the total energy, i.e. the sum of the potential and kinetic energies at some point in time; the lost energy is the work done by an external conservative force, per cycle, to maintain amplitude.
where ω is the angular frequency at which the stored energy and power loss are measured. This definition is consistent with its usage in describing circuits with a single reactive element (capacitor or inductor), where it can be shown to be equal to the ratio of reactive power to real power. (See Individual reactive components.)
Q factor and damping
The Q factor determines the qualitative behavior of simple damped oscillators. (For mathematical details about these systems and their behavior see harmonic oscillator and linear time invariant (LTI) system.)
- A system with low quality factor (Q < 1⁄2) is said to be overdamped. Such a system doesn't oscillate at all, but when displaced from its equilibrium steady-state output it returns to it by exponential decay, approaching the steady state value asymptotically. It has an impulse response that is the sum of two decaying exponential functions with different rates of decay. As the quality factor decreases the slower decay mode becomes stronger relative to the faster mode and dominates the system's response resulting in a slower system. A second-order low-pass filter with a very low quality factor has a nearly first-order step response; the system's output responds to a step input by slowly rising toward an asymptote.
- A system with high quality factor (Q > 1⁄2) is said to be underdamped. Underdamped systems combine oscillation at a specific frequency with a decay of the amplitude of the signal. Underdamped systems with a low quality factor (a little above Q = 1⁄2) may oscillate only once or a few times before dying out. As the quality factor increases, the relative amount of damping decreases. A high-quality bell rings with a single pure tone for a very long time after being struck. A purely oscillatory system, such as a bell that rings forever, has an infinite quality factor. More generally, the output of a second-order low-pass filter with a very high quality factor responds to a step input by quickly rising above, oscillating around, and eventually converging to a steady-state value.
- A system with an intermediate quality factor (Q = 1⁄2) is said to be critically damped. Like an overdamped system, the output does not oscillate, and does not overshoot its steady-state output (i.e., it approaches a steady-state asymptote). Like an underdamped response, the output of such a system responds quickly to a unit step input. Critical damping results in the fastest response (approach to the final value) possible without overshoot. Real system specifications usually allow some overshoot for a faster initial response or require a slower initial response to provide a safety margin against overshoot.
In negative feedback systems, the dominant closed-loop response is often well-modeled by a second-order system. The phase margin of the open-loop system sets the quality factor Q of the closed-loop system; as the phase margin decreases, the approximate second-order closed-loop system is made more oscillatory (i.e., has a higher quality factor).
- A unity-gain Sallen–Key lowpass filter topology with equal capacitors and equal resistors is critically damped (i.e., Q = 1⁄2).
- A second-order Bessel filter (i.e., continuous-time filter with flattest group delay) has an underdamped Q = 1⁄√.
- A second-order Butterworth filter (i.e., continuous-time filter with the flattest passband frequency response) has an underdamped Q = 1⁄√.
- A pendulum's Q-factor is: , where M is the mass of the bob, ω = 2π/T is the pendulum's radian frequency of oscillation, and Γ is the frictional damping force on the pendulum per unit velocity.
- The design of a high-energy (near THz) gyrotron considers both diffractive Q-factor, as a function of resonator length (L) and wavelength (), and ohmic Q-factor (–modes) , where is the cavity wall radius, is the skin depth of the cavity wall, is the eigenvalue scalar (m is azimuth index, p is radial index) (note: skin depth in this application is ) 
Physically speaking, Q is approximately the ratio of the stored energy to the energy dissipated over one radian of the oscillation; or nearly equivalently, at high enough Q values, 2π times the ratio of the total energy stored and the energy lost in a single cycle.
It is a dimensionless parameter that compares the exponential time constant τ for decay of an oscillating physical system's amplitude to its oscillation period. Equivalently, it compares the frequency at which a system oscillates to the rate at which it dissipates its energy. More precisely, the frequency and period used should be based on the system's natural frequency, which at low Q values is somewhat higher than the oscillation frequency as measured by zero crossings.
Equivalently (for large values of Q), the Q factor is approximately the number of oscillations required for a freely oscillating system's energy to fall off to e−2π, or about 1⁄535 or 0.2%, of its original energy. This means the amplitude falls off to approximately e−π or 4% of its original amplitude.
The width (bandwidth) of the resonance is given by (approximately):
The resonant frequency is often expressed in natural units (radians per second), rather than using the fN in hertz, as
and the damping ratio can be expressed as:
The envelope of oscillation decays proportional to e−αt or e−t/τ, where α and τ can be expressed as:
The energy of oscillation, or the power dissipation, decays twice as fast, that is, as the square of the amplitude, as e−2αt or e−2t/τ.
For this system, when Q > 1⁄2 (i.e., when the system is underdamped), it has two complex conjugate poles that each have a real part of −α. That is, the attenuation parameter α represents the rate of exponential decay of the oscillations (that is, of the output after an impulse) into the system. A higher quality factor implies a lower attenuation rate, and so high-Q systems oscillate for many cycles. For example, high-quality bells have an approximately pure sinusoidal tone for a long time after being struck by a hammer.
Relationship between Q and bandwidth
The 2-sided bandwidth relative to a resonant frequency of F0 Hz is F0/Q.
For example, an antenna tuned to have a Q value of 10 and a centre frequency of 100 kHz would have a 3 dB bandwidth of 10 kHz.
In audio, bandwidth is often expressed in terms of octaves. Then the relationship between Q and bandwidth is
where BW is the bandwidth in octaves.
Consider a circuit where R, L and C are all in parallel. The lower the parallel resistance, the more effect it will have in damping the circuit and thus the lower the Q. This is useful in filter design to determine the bandwidth.
In a parallel LC circuit where the main loss is the resistance of the inductor, R, in series with the inductance, L, Q is as in the series circuit. This is a common circumstance for resonators, where limiting the resistance of the inductor to improve Q and narrow the bandwidth is the desired result.
Individual reactive components
The Q of an individual reactive component depends on the frequency at which it is evaluated, which is typically the resonant frequency of the circuit that it is used in. The Q of an inductor with a series loss resistance is the Q of a resonant circuit using that inductor (including its series loss) and a perfect capacitor.
- ω0 is the resonance frequency in radians per second,
- L is the inductance,
- XL is the inductive reactance, and
- RL is the series resistance of the inductor.
The Q of a capacitor with a series loss resistance is the same as the Q of a resonant circuit using that capacitor with a perfect inductor:
- ω0 is the resonance frequency in radians per second,
- C is the capacitance,
- XC is the capacitive reactance, and
- RC is the series resistance of the capacitor.
In general, the Q of a resonator involving a series combination of a capacitor and an inductor can be determined from the Q values of the components, whether their losses come from series resistance or otherwise:
For a single damped mass-spring system, the Q factor represents the effect of simplified viscous damping or drag, where the damping force or drag force is proportional to velocity. The formula for the Q factor is:
where M is the mass, k is the spring constant, and D is the damping coefficient, defined by the equation Fdamping = −Dv, where v is the velocity.
The Q of a musical instrument is critical; an excessively high Q in a resonator will not evenly amplify the multiple frequencies an instrument produces. For this reason, string instruments often have bodies with complex shapes, so that they produce a wide range of frequencies fairly evenly.
The Q of a brass instrument or wind instrument needs to be high enough to pick one frequency out of the broader-spectrum buzzing of the lips or reed. By contrast, a vuvuzela is made of flexible plastic, and therefore has a very low Q for a brass instrument, giving it a muddy, breathy tone. Instruments made of stiffer plastic, brass, or wood have higher-Q. An excessively high Q can make it harder to hit a note. Q in an instrument may vary across frequencies, but this may not be desirable.
Helmholtz resonators have a very high Q, as they are designed for picking out a very narrow range of frequencies.
where fo is the resonant frequency, E is the stored energy in the cavity, and P = −dE/dt is the power dissipated. The optical Q is equal to the ratio of the resonant frequency to the bandwidth of the cavity resonance. The average lifetime of a resonant photon in the cavity is proportional to the cavity's Q. If the Q factor of a laser's cavity is abruptly changed from a low value to a high one, the laser will emit a pulse of light that is much more intense than the laser's normal continuous output. This technique is known as Q-switching. Q factor is of particular importance in plasmonics, where loss is linked to the damping of the surface plasmon resonance. While loss is normally considered a hindrance in the development of plasmonic devices, it is possible to leverage this property to present new enhanced functionalities.
- Acoustic resonance
- Chu–Harrington limit
- Piezoelectric material properties
- Phase margin
- Q meter
- Q multiplier
- Dissipation factor
- Hickman, Ian (2013). Analog Electronics: Analog Circuitry Explained. Newnes. p. 42. ISBN 9781483162287.
- Tooley, Michael H. (2006). Electronic circuits: fundamentals and applications. Newnes. pp. 77–78. ISBN 978-0-7506-6923-8. Archived from the original on 2016-12-01.
- Encyclopedia of Laser Physics and Technology: Q factor Archived 2009-02-24 at the Wayback Machine
- Time and Frequency from A to Z: Q to Ra Archived 2008-05-04 at the Wayback Machine
- Green, Estill I. (October 1955). "The Story of Q" (PDF). American Scientist. 43: 584–594. Archived (PDF) from the original on 2012-12-03. Retrieved 2012-11-21.
- B. Jeffreys, Q.Jl R. astr. Soc. (1985) 26, 51–52
- Paschotta, Rüdiger (2008). Encyclopedia of Laser Physics and Technology, Vol. 1: A-M. Wiley-VCH. p. 580. ISBN 978-3527408283. Archived from the original on 2018-05-11.
- Slyusar V. I. 60 Years of Electrically Small Antennas Theory.//Proceedings of the 6-th International Conference on Antenna Theory and Techniques, 17–21 September 2007, Sevastopol, Ukraine. - Pp. 116 - 118. "ANTENNA THEORY AND TECHNIQUES" (PDF). Archived (PDF) from the original on 2017-08-28. Retrieved 2017-09-02.
- U.A.Bakshi, A. V. Bakshi (2006). Network Analysis. Technical Publications. p. 228. ISBN 9788189411237.
- James W. Nilsson (1989). Electric Circuits. ISBN 0-201-17288-7.
- Sabah, Nassir H. (2017). Circuit Analysis with PSpice: A Simplified Approach. CRC Press. p. 446. ISBN 9781315402215.
- "Near THz Gyrotron: Theory, Design, and Applications" (PDF). The Institute for Research in Electronics and Applied Physics. University of Maryland. Retrieved 5 January 2021.
- Jackson, R. (2004). Novel Sensors and Sensing. Bristol: Institute of Physics Pub. p. 28. ISBN 0-7503-0989-X.
- Benjamin Crowell (2006). "Light and Matter". Archived from the original on 2011-05-19., Ch. 18
- Anant., Agarwal (2005). Foundations of analog & digital electronic circuits. Lang, Jeffrey (Jeffrey H.). Amsterdam: Elsevier. p. 647. ISBN 9781558607354. OCLC 60245509.
- Siebert, William McC. Circuits, Signals, and Systems. MIT Press.
- "Analog Dialogue Technical Journal - Analog Devices" (PDF). www.analog.com. Archived (PDF) from the original on 2016-08-04.
- Dennis Bohn, Rane (January 2008). "Bandwidth in Octaves Versus Q in Bandpass Filters". www.rane.com. Retrieved 2019-11-20.
- U.A.Bakshi; A.V.Bakshi (2008). Electric Circuits. Technical Publications. pp. 2–79. ISBN 9788184314526.
- "Complete Response I - Constant Input". fourier.eng.hmc.edu. Archived from the original on 2012-01-10.
- Frequency Response: Resonance, Bandwidth, Q Factor Archived 2014-12-06 at the Wayback Machine (PDF)
- Di Paolo, Franco (2000). Networks and Devices Using Planar Transmission Lines. CRC Press. pp. 490–491. ISBN 9780849318351. Archived from the original on 2018-05-11.
- Methods of Experimental Physics – Lecture 5: Fourier Transforms and Differential Equations Archived 2012-03-19 at the Wayback Machine (PDF)
- Tavakoli, Mehdi; Jalili, Yousef Seyed; Elahi, Seyed Mohammad (2019-04-28). "Rayleigh-Wood anomaly approximation with FDTD simulation of plasmonic gold nanohole array for determination of optimum extraordinary optical transmission characteristics". Superlattices and Microstructures. 130: 454–471. Bibcode:2019SuMi..130..454T. doi:10.1016/j.spmi.2019.04.035.
- Chen, Gang; Mahan, Gerald; Meroueh, Laureen; Huang, Yi; Tsurimaki, Yoichiro; Tong, Jonathan K.; Ni, George; Zeng, Lingping; Cooper, Thomas Alan (2017-12-31). "Losses in plasmonics: from mitigating energy dissipation to embracing loss-enabled functionalities". Advances in Optics and Photonics. 9 (4): 775–827. Bibcode:2017AdOP....9..775B. doi:10.1364/AOP.9.000775. ISSN 1943-8206.
- Agarwal, Anant; Lang, Jeffrey (2005). Foundations of Analog and Digital Electronic Circuits. Morgan Kaufmann. ISBN 1-55860-735-8.
|Wikimedia Commons has media related to Quality factor.|