Saved

Press the star next to a tool's name to save it.

All my tools

Duty Cycle Calculator

Use this duty cycle calculator to find the duty cycle from pulse width and period, solve for either one, get the average value of a PWM signal, and a welder rating.

Restored your last values ·

%

Enter the pulse width and the period in the same unit to get the duty cycle. Or enter a duty cycle with one of them to find the other. The PWM option gives the average value of a pulse signal, and the welder option shows how many minutes in ten a rating allows.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose what you want, enter the numbers, then press Calculate.

See full result

A duty cycle calculator finds the share of each cycle that a signal or a machine is on. Enter the pulse width and the period and you get the duty cycle as a percentage, the off time and the mark–space ratio. It also works backwards to find the pulse width or the period from a duty cycle, gives the average value of a pulse-width-modulated signal, and turns a welder's duty cycle rating into minutes of work in a ten-minute period. It runs in your browser.

How to use the duty cycle calculator

  1. Choose what you want to find.
  2. Enter the pulse width and the period in the same unit, or the duty cycle with one of them.
  3. For the average value, enter the high level, and the low level if it is not zero.
  4. Press Calculate.

What a duty cycle is

The Wikipedia article on duty cycle describes it as the fraction of one period in which a signal or system is active. It gives the formula D = PW ÷ T × 100%, where PW is the pulse width, or active time, and T is the total period of the signal. The same quantity is also called the duty factor.[1] A signal with a 60 percent duty cycle is on for 60 percent of the period and off for the other 40 percent.[1] The period is the time taken to complete one on-and-off cycle.[1] If a pulse lasts 3 milliseconds in a period of 10 milliseconds, the duty cycle is 3 ÷ 10 = 30 percent, and the off time is 7 milliseconds. The calculator also shows the mark–space ratio, which is the on time divided by the off time, here 3 ÷ 7 = 0.4286.

Digital examples

The page gives some simple examples. A digital pulse train of 10101010 has a 50 percent duty cycle, because it is on for half of the time, and 10001000 has a duty cycle of 25 percent.[1] A motor that runs for 1 second out of every 100 seconds has a duty cycle of 1 ÷ 100, which is 1 percent.[1] The calculator gives the same answers when you enter the numbers of the pulse width and period in any unit, as long as both use the same unit. The unit cancels in the ratio.

Finding the pulse width or the period

The formula can be rearranged. The pulse width is the duty cycle times the period, and the period is the pulse width divided by the duty cycle. These steps are simple algebra from the formula above. A 60 percent duty cycle in a period of 10 milliseconds gives a pulse width of 6 milliseconds, with 4 milliseconds off. A pulse of 2 milliseconds at a duty cycle of 25 percent means a period of 8 milliseconds. If you know the frequency instead of the period, divide 1 by the frequency first, so that 1 kilohertz is a period of 1 millisecond.

The average value of a PWM signal

Pulse-width modulation sets the average power by changing the duty cycle. The article on pulse-width modulation gives the average of a pulse wave as the duty cycle times the high level plus one minus the duty cycle times the low level, which reduces to the duty cycle times the high level when the low level is zero.[2] A 5 volt signal with a 50 percent duty cycle therefore has an average of 2.5 volts, and the same signal at 20 percent averages 1 volt. The calculator shows the sum that it worked out, so that you can check it. This average is what a motor, an LED or a heater feels when the switching is much faster than the load can follow.

Duty cycle of machines and welders

The word is also used for machines. The duty cycle article says that for a welding power supply, the maximum duty cycle is the percentage of a ten-minute period for which it can run continuously before it overheats. It adds that printers and copiers are rated by pages per month, and that the duty cycle of motors and actuators is limited by how well they shed heat, so that an electric motor is typically rated below 100 percent.[1] A welder rated at 60 percent can therefore weld for 6 minutes in every 10 and must rest for the other 4. The welder option of the calculator gives these two figures for any rating. Always check the rating at the current that you will use, because the rating changes with the current. The page does not give a formula for that.[1]

Choosing a duty cycle

For a dimmer or a speed control, a higher duty cycle means more power. For a servo or a clock signal, the duty cycle may need to be exactly 50 percent, or a set value that the receiver expects. For a machine, a lower duty cycle gives it time to cool, so it is a measure of how hard you can push it. In every case the number only has meaning together with the period, since a duty cycle of 50 percent with a period of one hour is a very different thing from 50 percent at one kilohertz.

Common mistakes

  • Mixing units. Enter the pulse width and the period in the same unit.
  • Using the off time as the pulse width. The pulse width is the time on.
  • Reading 100 percent as a limit of rating. A machine rated at 100 percent can run all the time, which is rare for a motor.
  • Forgetting the low level. If the signal does not drop to zero, enter the low level for the average.

What next

Use this often? Add Duty Cycle to your Home screen.

Frequently asked questions

What is a duty cycle calculator?

A tool that finds the share of each cycle for which a signal or machine is on, from the pulse width and the period, or solves for one of them.

What is the duty cycle formula?

D = PW ÷ T × 100%, where PW is the pulse width, the time on, and T is the period.

How do I find the average voltage of a PWM signal?

Multiply the duty cycle by the high level and add the off share times the low level. A 5 V signal at 50 percent averages 2.5 V.

What does a welder duty cycle mean?

The percentage of a ten-minute period that it can run continuously before it overheats. A 60 percent rating means 6 minutes on and 4 off.

What is the mark–space ratio?

The on time divided by the off time. A pulse of 3 ms in a period of 10 ms has a ratio of 3 ÷ 7, about 0.43.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Physics & Science Tools