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.

Your figures

On and off times must use the same unit.

Example result — edit the figures to make it yours

30 %

Duty cycle

Computed from the inputs on this page with the formula below — change any figure and every result updates.

Off time per period7.0000
Duty cycle as a fraction0.3000

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

D = t_on / T × 100%

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

Quick reference — varying On time per period
On time per periodDuty cycleOff time per periodDuty cycle as a fraction
11090.1
22080.2
33070.3
44060.4
55050.5
66040.6
77030.7
88020.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.