A digital amplifier including a clock generation unit configured to output a clock signal, a pulse width modulation unit configured to pulse width-modulate the clock signal based on an input signal, a driving unit configured to alternately drive at least two switching elements which convert the output of the pulse width modulation unit, an analysis unit configured to analyze characteristics of the input signal, and a control unit configured to control frequencies of the clock signal based on an output of the analysis unit.