Toolvito

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

The share of each cycle that a signal is on: D = on time ÷ period.

Your values

The time the signal is high (on) in each cycle.

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.

How to use this calculator

  1. Choose Duty cycle from on time and period, frequency or off time.
  2. Type the on time (pulse width), then choose whether you know the period, the frequency or the off time and type it.
  3. Choose Calculate. The result gives the duty cycle, the off time, the period and the frequency.
  4. 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

Related tools