StatGardenREF. DESK
Calculators/Physics/Duty Cycle Calculator
Physics

Duty Cycle Calculator

Duty cycle percentage of a repeating signal from its on-time and total period.

Published 27 August 2026

What this calculator does

Duty cycle is the fraction of one full cycle that a repeating signal spends switched on, expressed as a percentage. A duty cycle calculator like this one takes the on-time and the total period of the cycle and works out what share of that period is active.

The thing people get wrong is mixing up the total period with the off-time. The period is the full length of one repeat, on-time plus off-time together, not just the time the signal is off. Get that denominator wrong and the whole percentage is off, sometimes by a lot.

The formula

FormulaDuty cycle (%) = (On-time ÷ Total period) × 100

Divide the on-time by the total period and multiply by 100. If you only know the off-time, add it to the on-time first to get the total period, since on-time and off-time together make up one complete cycle.

TermMeaning
On-timeHow long the signal, motor or device is active within one cycle.
Total periodThe full length of one repeat: on-time plus off-time.
Duty cycleOn-time as a percentage of the total period.

The inputs explained

FieldWhat to enter
On-time (ms)The active portion of one cycle, in whatever consistent time unit you are working in (milliseconds, seconds, and so on).
Total period (ms)The full length of one repeat of the cycle, in the same time unit as the on-time.

When to use it

Sizing a PWM-controlled load

Pulse-width modulation drives motors, LEDs and heaters by switching them on and off rapidly. The duty cycle sets the average power delivered, so working it out from the on-time and period tells you roughly what fraction of full power the load is receiving.

Checking equipment ratings

Welders, compressors and some power tools list a maximum duty cycle, such as running 3 minutes in every 10. Comparing your actual on-time and period against that rating shows whether you are within the safe operating limit.

Describing a repeating test or process signal

Any process that switches between two states on a fixed schedule, such as a heater cycling or a valve pulsing, can be summarised by its duty cycle for reporting or comparison purposes.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How duty cycle changes as on-time increases at a fixed 10 ms period

The same 10 ms cycle, with the on-time stretched from short to long.

10 ms total period
On-timeDuty cycleOff-time
1 ms10.00%9.00 ms
2 ms20.00%8.00 ms
3 ms30.00%7.00 ms
5 ms50.00%5.00 ms
7 ms70.00%3.00 ms
9 ms90.00%1.00 ms
Duty cycle rises in direct proportion to on-time when the period is held fixed, since it is simply on-time restated as a share of that period.

How duty cycle changes as the period lengthens at a fixed 3 ms on-time

A fixed 3 ms active pulse, repeated over a range of total period lengths.

3 ms on-time
Total periodDuty cycleOff-time
4 ms75.00%1.00 ms
5 ms60.00%2.00 ms
6 ms50.00%3.00 ms
10 ms30.00%7.00 ms
15 ms20.00%12.00 ms
20 ms15.00%17.00 ms
With the on-time fixed, a longer total period spreads that same active time more thinly, so the duty cycle falls as the period grows.

Questions

What does a 100% duty cycle mean?

It means the signal or device is on for the entire period with no off-time at all, which in the on-time/period formula happens when on-time equals the total period.

Can duty cycle be worked out from off-time instead of on-time?

Yes. Add the off-time to the on-time to get the total period, or if you only have off-time and the period, subtract off-time from the period to recover the on-time, then apply the usual formula.

Does the time unit matter?

No, as long as the on-time and total period are both entered in the same unit, whether that is milliseconds, seconds or minutes, since duty cycle is a ratio and the units cancel out.

Why do some devices have a maximum rated duty cycle?

Running a device on for a larger share of each cycle generates more average heat. Manufacturers cap the duty cycle so the device has enough off-time each cycle to cool down and avoid overheating.

For working with the elapsed time itself once you have a duration, see the Add Time Calculator.