The ratio of the high period to the total period of any rectangular wave is called the duty cycle. A true square wave has a 50% duty cycle (equal high and low periods). The average level of a rectangular wave is also given by the duty cycle, therefore by varying the on and off periods and then averaging these said periods, it is possible to represent any value between the two limiting levels.