# Decade (log scale)

One decade (symbol dec) is a unit for measuring ratios on a logarithmic scale, with one decade corresponding to a ratio of 10 between two numbers.

## Example: Scientific notation

When a real number like .007 is denoted alternatively by 7.0 × 10$^{—3}$ then it is said that the number is represented in scientific notation. More generally, to write a number in the form a × 10$^b$, where 1 <= a < 10 and b is an integer, is to express it in scientific notation, and a is called the significand or the mantissa, and b is its exponent. The numbers so expressible with an exponent equal to b span a single decade, from $10^{b}\ \ {\text{to}}\ \ 10^{b+1}.$

## Frequency measurement

Decades are especially useful when describing frequency response of electronic systems, such as audio amplifiers and filters.

### Calculations

The factor-of-ten in a decade can be in either direction: so one decade up from 100 Hz is 1000 Hz, and one decade down is 10 Hz. The factor-of-ten is what is important, not the unit used, so 3.14 rad/s is one decade down from 31.4 rad/s.
To determine the number of decades between two frequencies ($f_{1}$ & $f_{2}$), use the logarithm of the ratio of the two values:
* $\log _{10}(f_{2}/f_{1})$ decades
or, using natural logarithms:
* $\ln f_{2}-\ln f_{1} \over \ln 10$ decades
    How many decades is it from 15 rad/s to 150,000 rad/s?
       $\log _{10}(150000/15)=4$ decades
    How many decades is it from 3.2 GHz to 4.7 MHz?
       $\log _{10}(4.7\times 10^{6}/3.2\times 10^{9})=-2.83$ decades
    How many decades is one octave?
       One octave is a factor of 2, so $\log _{10}(2)=0.301$ decades per octave (decade = just major third + three octaves, 10/1 (Play) = 5/4)
To find out what frequency is a certain number of decades from the original frequency, multiply by appropriate powers of 10:
    What is 3 decades down from 220 Hz?
       $220\times 10^{-3}=0.22$ Hz
    What is 1.5 decades up from 10 Hz?
       $10\times 10^{1.5}=316.23$ Hz
To find out the size of a step for a certain number of frequencies per decade, raise 10 to the power of the inverse of the number of steps:
    What is the step size for 30 steps per decade?
       $10^{1/30}=1.079775$ – or each step is 7.9775% larger than the last.

### Graphical representation and analysis

Decades on a logarithmic scale, rather than unit steps (steps of 1) or other linear scale, are commonly used on the horizontal axis when representing the frequency response of electronic circuits in graphical form, such as in Bode plots, since depicting large frequency ranges on a linear scale is often not practical. For example, an audio amplifier will usually have a frequency band ranging from 20 Hz to 20 kHz and representing the entire band using a decade log scale is very convenient. Typically the graph for such a representation would begin at 1 Hz (10$^0$) and go up to perhaps 100 kHz (10$^5$), to comfortably include the full audio band in a standard-sized graph paper, as shown below. Whereas in the same distance on a linear scale, with 10 as the major step-size, you might only get from 0 to 50.
Electronic frequency responses are often described in terms of "per decade". The example Bode plot shows a slope of −20 dB/decade in the stopband, which means that for every factor-of-ten increase in frequency (going from 10 rad/s to 100 rad/s in the figure), the gain decreases by 20 dB.