Home · Everyday · Tech, Text & Media · Duty Cycle Calculator
Duty Cycle Calculator
Works out the duty cycle of a repeating pulse — the percentage of each period the signal spends in its on state.
What this calculator does
Works out the duty cycle of a repeating pulse — the percentage of each period the signal spends in its on state. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
Duty cycle is the fraction of one period that a signal is active, expressed as a percentage: D = (t_on/T) × 100%, where T = t_on + t_off. It governs average power in PWM control — a heater or LED driven at 30% duty receives, ideally, 30% of its full-on average power.
Enter the on time and the full period in the same unit; the result is unitless. A 0% duty is a permanently off signal and 100% is permanently on; values in between assume clean rectangular switching, so real waveforms with slow rise and fall times deliver slightly less energy than the nominal duty suggests.
Worked example
With the example inputs this page opens with (on time per period 3, full period 10), the result is 30.00 % — duty cycle. Computed from the inputs on this page with the formula below — change any figure and every result updates.
Quick reference
| On time per period | Duty cycle | Off time per period | Duty cycle as a fraction |
|---|---|---|---|
| 1 | 10 | 9 | 0.1 |
| 2 | 20 | 8 | 0.2 |
| 3 | 30 | 7 | 0.3 |
| 4 | 40 | 6 | 0.4 |
| 5 | 50 | 5 | 0.5 |
| 6 | 60 | 4 | 0.6 |
| 7 | 70 | 3 | 0.7 |
| 8 | 80 | 2 | 0.8 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Is duty cycle the same as PWM percentage in fan and LED controllers?
Yes — the percentage a controller requests is exactly this on-time fraction, and perceived brightness or average voltage scales roughly in proportion to it.
How does the Duty Cycle Calculator work?
Works out the duty cycle of a repeating pulse — the percentage of each period the signal spends in its on state. On time · Period → Duty cycle (%). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Duty Cycle Calculator need?
On time · Period → Duty cycle (%). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Duty Cycle Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.