Duty Cycle Calculator
Calculate pulse duty cycle and frequency from signal on time and total period for PWM, electronics, and control applications.
About duty cycle and pulse timing
Duty cycle examples
These pulse timings illustrate the relationship between active duration, period, and frequency.
| Pulse timing | Duty cycle | Frequency |
|---|---|---|
| 2.5 ms on, 10 ms period | 25% | A 10 ms period repeats at 100 Hz. |
| 3 ms on, 5 ms period | 60% | A 5 ms period repeats at 200 Hz. |
| 0.5 ms on, 2 ms period | 25% | A 2 ms period repeats at 500 Hz. |
How to calculate duty cycle
- Measure or identify how long the signal remains in its active state during one cycle.
- Measure the complete period from one equivalent edge to the next in milliseconds.
- Confirm that on time does not exceed the period and that both values use milliseconds.
- Select Calculate duty cycle to see the active percentage and repetition frequency.
Duty cycle calculator FAQ
What does a 50% duty cycle mean?
The signal is active for exactly half of every repeating period and inactive for the other half. It does not necessarily mean the connected device produces half of its maximum perceived output.
How do I calculate duty cycle from high and low time?
Add high time and low time to get the total period, then divide the active-state duration by that period. Multiply the ratio by one hundred to express it as a percentage.
How are frequency and period related?
Frequency is the reciprocal of period when period is measured in seconds. For a period in milliseconds, divide 1,000 by the period to obtain hertz.
Can duty cycle exceed 100%?
No, because active time cannot be longer than the complete cycle that contains it. A value above 100 percent indicates mismatched units, incorrect measurements, or an incorrect period.
Does PWM duty cycle directly equal motor speed?
Not generally. Duty cycle changes average drive, but load, supply voltage, motor characteristics, controller behavior, and feedback determine actual speed.