Many signals switch between on and off: clock signals, PWM outputs that dim LEDs or set motor speed, radar and laser pulses, and even a refrigerator compressor cycling through the day. The duty cycle is the share of each period that the signal is on. A square wave that is high for half its period has a 50% duty cycle; a radar transmitting for 10 ms every second has a 1% duty cycle.
Duty cycle directly scales average values. Pulse-width modulation (PWM) uses this: a 5 V microcontroller pin switched at 30% duty cycle delivers an average of 1.5 V to a filter or a motor, and an LED driven at 30% looks roughly 30% as bright. In pulsed systems the average power is the peak power times the duty cycle, while each pulse carries an energy equal to peak power times pulse width.
The same idea is used for intermittent ratings: a welder or solenoid rated at 60% duty cycle may run 6 minutes out of every 10. The calculator accepts whichever two of pulse width, period, frequency and off time you know (or average and peak power) and fills in the rest.
How to use the Duty Cycle Calculator
- I know
- Pulse width (on time)
- Period
- Frequency
- Low (off) time
- Average power
- Peak (pulse) power
- Signal high level (for the PWM average voltage)
Results update as you type, every field has its own unit menu, and everything is calculated in your browser.
How it works
Choose what you know and enter the values. The calculator finds the duty factor as on time ÷ period (or average ÷ peak power), converts it to a percentage and derives frequency, off time, pulse energy, average power and the average PWM voltage.
Worked example
A 555 timer output is high for 225 ms of every 1 s period. The duty cycle is 0.225 ÷ 1 = 22.5% (duty factor 0.225) and the off time is 775 ms. With a 5 W peak power each pulse carries 5 × 0.225 = 1.125 J, the average power is 1.125 W, and a 5 V PWM signal at this duty cycle averages 1.125 V. A radar sending 10 ms pulses once per second has a 1% duty cycle.
Typical duty cycles
| Application | Duty cycle |
|---|---|
| Symmetric clock signal | 50% |
| Servo control pulse (1–2 ms every 20 ms) | 5–10% |
| Pulsed radar | 0.1–1% |
| LED dimming by PWM | 0–100% (sets brightness) |
| MIG welder rating | 20–60% over 10 min |
Inputs explained
| Field | What to enter |
|---|---|
| I know | Choose one: Pulse width and period, Pulse width and frequency, High time and low time, Average and peak power |
| Pulse width (on time) | Units: ms, µs, s, ns |
| Period | Units: s, ms, µs, ns |
| Frequency | Units: Hz, kHz, MHz, GHz |
| Low (off) time | Units: ms, µs, s, ns |
| Average power | Units: W, mW, kW, µW |
| Peak (pulse) power | Units: W, mW, kW, µW |
| Signal high level (for the PWM average voltage) | In V |
What each result means
- Duty cycle = [Duty factor]×100
- Duty factor = [Duty factor]
- Frequency = 1÷[Period]
- On time (pulse width) = [Duty factor]×[Period]
- Off time = [Period]×(1 – [Duty factor])
- Pulse energy = [Peak (pulse) power]×[Duty factor]×[Period]
- Average power = [Peak (pulse) power]×[Duty factor]
- Average (DC) voltage of the PWM signal = [Signal high level (for the PWM average voltage)]×[Duty factor]
Formula
D = PW ÷ T × 100% · duty factor = PW ÷ T · T = 1 ÷ f = t_high + t_low · D = P_avg ÷ P_peak · pulse energy = P_peak × PW · V_avg = D × V_high
Worked example
Inputs: I know: Pulse width and period; Pulse width (on time): 225 ms; Period: 1 s; Peak (pulse) power: 5 W; Signal high level (for the PWM average voltage): 5 V.
Results: Duty cycle = 22.5 %; Duty factor = 0.225; Period = 1 s; Frequency = 1 Hz; On time (pulse width) = 0.225 s; Off time = 0.775 s; Pulse energy = 1.125 J; Average power = 1.125 W; Average (DC) voltage of the PWM signal = 1.125 V.
Key terms
- Pulse width (PW)
- Time the signal is on during one cycle.
- Period (T)
- Time of one complete on–off cycle; T = 1 ÷ frequency.
- Duty factor
- Pulse width divided by period, a number from 0 to 1.
- PWM
- Pulse-width modulation: controlling average power by varying the duty cycle.
Frequently asked questions
What is duty cycle?
The percentage of each period that a signal is on: D = pulse width ÷ period × 100%.
What does a 50% duty cycle mean?
The signal is on for half of each period, a symmetrical square wave.
How do I calculate duty cycle from frequency?
D = pulse width × frequency; a 250 µs pulse at 1 kHz gives 25%.
What is the difference between duty cycle and duty factor?
They are the same ratio: duty factor is the fraction (0.25), duty cycle the percentage (25%).
How does PWM control voltage?
The load sees the average voltage, D × V_high, once the pulses are smoothed by a filter, a motor's inductance or the eye's persistence.
What does a 60% duty cycle mean on a welder?
It can weld for 6 minutes in every 10 at the rated current before it must cool down.