Works on this device
Signal Duty Cycle Calculator
Work out the duty cycle of a signal: the share of each cycle that it is on. Find it from the on time and the period, frequency or off time, or find the on and off times for a duty cycle. The page also gives the average and RMS voltage of a PWM signal and the average power of pulses.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose Duty cycle from on time and period, frequency or off time.
- Type the on time (pulse width), then choose whether you know the period, the frequency or the off time and type it.
- Choose Calculate. The result gives the duty cycle, the off time, the period and the frequency.
- For a PWM output, choose Average and RMS voltage of a pulse train (PWM).
The formulas
- Duty cycle: D = on time ÷ period × 100%. The period is on time + off time, and 1 ÷ frequency.
- On and off times: on time = D × period; off time = (1 − D) × period.
- Pulse train between a low level L and a high level H: mean = D × H + (1 − D) × L; RMS = √(D × H² + (1 − D) × L²). For the duty cycle of an average: D = (mean − L) ÷ (H − L).
- Pulsed power: average power = D × peak power; in decibels, the peak plus 10 × log10(D).
Worked examples
- A pulse 0.25 ms long every 1 ms: D = 0.25 ÷ 1 = 25%. The off time is 0.75 ms and the frequency 1 kHz.
- A 5 V PWM output at 25%: average 0.25 × 5 = 1.25 V, RMS 5 × √0.25 = 2.5 V. For an average of 3.3 V it needs D = 3.3 ÷ 5 = 66%.
- Pulses of 100 kW peak power with a duty cycle of 0.1%: average power 100 kW × 0.001 = 100 W (30 dB below the peak).
Limits you should know
- Ideal square pulses are assumed. Slow edges, ringing and loading change the real average and RMS values.
- The duty cycle of a 555 timer depends on its resistors: use the 555 Timer Calculator.
- For the RMS of other waveforms, use the Signal RMS Calculator. For sampling rates and periods, use the Sampling Frequency Calculator.