Duty Cycle Calculator - Pulse Width, Period, and Power

Duty cycle calculator that converts pulse width and period into a percent duty cycle, decimal duty factor, average power, and per-pulse energy in one form.

Updated: June 19, 2026 • Free Tool

Duty Cycle Calculator

Active (on) duration of the signal in one period. Must be less than or equal to the period.

Total length of one on-and-off cycle in the same unit as the pulse width.

Unit applied to both pulse width and period. Switching units recomputes the result without retyping.

Optional. Power of the pulse in watts. Set to 0 to skip the average power and pulse energy outputs.

Results

Duty cycle
0%%
Duty factor 0
Average power 0W
Pulse energy 0J

What Is a Duty Cycle Calculator?

A duty cycle calculator turns the active time of a periodic signal and the cycle length into the percent of time the signal is on, the decimal duty factor, and - with peak power - the average power and pulse energy.

  • Calculate PWM duty cycle: enter the on time and period, then read the percent duty cycle that sets the average power.
  • Score a pulsed radar: type pulse width and period to find the duty cycle, then add peak power for average power and per-pulse energy.
  • Set a 555 timer NE555: read the duty cycle that a chosen resistor-capacitor pair produces on a 555 astable circuit.
  • Plan a motor or heater pulse: pick a target duty cycle and period on paper, multiply them for the pulse width, then enter that pulse width and period to read the duty factor, average power, and per-pulse energy.

Duty cycle is the standard descriptor for any periodic on-and-off system, from PWM motor drives and radar transmitters to air compressor cycles and welding arcs.

Two numbers - the pulse width and the period - are enough to score the cycle. The calculator divides them and prints percent, decimal duty factor, and - when peak power is filled in - average power and pulse energy.

When the pulse width and the period arrive from an oscilloscope trace in different units, Time Unit Converter normalizes the two inputs before they enter the duty cycle calculator.

How the Duty Cycle Calculator Works

The calculator normalizes pulse width and period, divides for the duty factor, scales by 100 for percent, and uses the same duty factor for average power and pulse energy when peak power is provided.

D = (PW / T) × 100% df = PW / T Pavg = df × Pp (when peak power is provided) Ep = Pp × PW (in seconds, when peak power is provided) Manual reverse (pencil math): PW = df × T and T = PW / df
  • pulseWidth (PW): Duration the signal is active (on) inside one period. Must be less than or equal to the period.
  • period (T): Total length of one on-and-off cycle in the same time unit as the pulse width.
  • timeUnit: Unit applied to both inputs. The calculator converts internally to milliseconds.
  • peakPower (Pp): Power of the pulse in watts. Optional; adds the average power and pulse energy outputs.
  • D: Duty cycle in percent, always between 0% and 100%.
  • df: Duty factor, the same ratio expressed as a decimal between 0 and 1.
  • Pavg: Average power over one period when peak power is provided.
  • Ep: Energy of one pulse in joules, equal to peak power times pulse width in seconds.

The ratio is dimensionless because both pulse width and period are times, so the duty cycle is independent of the chosen unit as long as both inputs share it.

Average power multiplies the duty factor by the peak pulse power; pulse energy multiplies the peak power by the pulse width in seconds.

The same duty factor reads in either direction on paper. To size a pulse width from a target duty cycle at a known period, multiply the period by the duty factor. To size a period from a known pulse width and duty cycle, divide the pulse width by the duty factor. The form still takes pulse width and period; the reverse identities are reference formulas for planning the inputs before they enter the calculator.

555 timer NE555: 225 ms pulse inside a 1,000 ms period (Omni example)

PW 225 ms, T 1,000 ms, peak 0 W, unit ms.

df = 225 / 1,000 = 0.225. D = 22.5%.

Duty cycle: 22.5%. Duty factor: 0.225.

A 555 astable with a 225 ms high output inside a 1 s period sits at 22.5%.

Pulsed radar: 10 ms on, 1,000 ms period, 20 kW peak (Omni example)

PW 10 ms, T 1,000 ms, peak 20,000 W, unit ms.

df = 0.01, D = 1%, Pavg = 200 W, Ep = 200 J.

Duty cycle: 1%. Duty factor: 0.01. Average power: 200 W. Pulse energy: 200 J.

A radar firing for 10 ms every second spends 1% transmitting at 20 kW peak.

PWM sine step: 0.0998 duty cycle, 5 ms period (Omni table)

PW 0.499 ms, T 5 ms, peak 100 W, unit ms.

df = 0.0998, D = 9.98%, Pavg = 9.98 W, Ep = 0.0499 J.

Duty cycle: 9.98%. Duty factor: 0.0998. Average power: 9.98 W. Pulse energy: 0.0499 J.

The first PWM step that approximates a sine sample (0.0998) at a 5 ms period uses a 0.499 ms pulse width.

According to Omni Calculator duty cycle guide, a 555 timer pulse of 225 ms inside a 1 s period yields 22.5%, and a radar that fires for 10 ms every 1 s sits at 1%.

According to Wikipedia Duty cycle, duty cycle is the fraction of one period in which a signal is active, defined as D = PW / T × 100% with the duty factor D = PW / T.

Because period is the inverse of frequency, Frequency Calculator confirms the 1,000 ms period from the Omni radar example is the same 1 Hz cycle.

Key Concepts Behind the Duty Cycle Calculator

Four ideas explain why duty cycle is dimensionless, why percent and duty factor carry the same information, and why average power scales with the duty factor.

Pulse width and period

Pulse width is the active (on) time of one cycle; period is the total length of one on-and-off cycle. Both must share a unit, which is why the form has a unit toggle.

Duty cycle vs duty factor

Duty cycle is the ratio as a percent between 0% and 100%, while duty factor is the same ratio as a decimal between 0 and 1. The panel prints both.

Average power from peak power

A pulsed system delivers peak power for only part of each period, so average power equals the duty factor times the peak power. A 1% radar at 20 kW peak reads 200 W average.

Pulse energy from peak power and width

The energy of one pulse equals peak power times pulse width in seconds. A 20 kW pulse that lasts 10 ms carries 200 J.

The same duty factor that controls a PWM motor also controls the average draw on a battery pack, so the watt-hour figure from Battery Capacity Calculator sizes the battery against the average power printed here.

How to Use the Duty Cycle Calculator

Six short steps take you from raw timing numbers to a percent duty cycle, a decimal duty factor, and the average power and pulse energy for the same sample.

  1. 1 Pick the time unit: select ms, s, µs, min, or h before typing.
  2. 2 Enter the pulse width: type the active (on) duration of one cycle. Zero means fully off.
  3. 3 Enter the period: type the total cycle length in the same unit. Must be at least as large as the pulse width.
  4. 4 Add peak power: fill in watts to add average power and per-pulse energy rows. Leave at 0 to skip them.
  5. 5 Read the panel: percent duty cycle leads, duty factor sits below, and average power and pulse energy appear when peak power is non-zero.
  6. 6 Toggle the time unit: switching the list keeps the same duty cycle because both inputs convert to ms first.

Set the unit to milliseconds, enter 225 ms of pulse width and 1,000 ms of period, and read 22.5% with a 0.225 duty factor. With a 20 kW peak and a 10 ms pulse in a 1,000 ms period, the panel reads 1%, 200 W, and 200 J.

A drone that pulses its motors at a chosen duty cycle can map the resulting average power into the endurance estimate from Drone Flight Time Calculator.

Benefits of Using the Duty Cycle Calculator

Six practical wins come from running pulse-width and period measurements through one form.

  • Percent and decimal at once: the panel prints duty cycle as percent and duty factor, so a report needing percent and a controller needing a decimal pull from the same numbers.
  • Time-unit toggle without retyping: switching the unit list rescales both inputs in place, removing the manual scaling step between an oscilloscope trace and a duty cycle reading.
  • Average power for energy budgeting: filling in peak power turns the same duty factor into an average power reading, which links a pulsed system to its thermal budget.
  • Pulse energy for one-shot design: the per-pulse energy output sizes capacitors, batteries, or fuses against a single on event.
  • Same algebra both ways: the duty factor the form prints is the same ratio that sizes a pulse width (PW = df × T) or a period (T = PW / df) on paper, so forward readings and pencil planning share one set of numbers.
  • Validation guard: when pulse width exceeds the period, the form stops with a validation message instead of producing a duty cycle above 100%.

When the average power from this panel has to land on a fuse or wire rating, Watts to Amps Converter converts watts into amps at the system voltage.

Factors That Affect Your Results

Three input choices move every number in the panel and three caveats cover when the duty cycle figure is enough and when peak power or the time-base needs a closer look.

Time-base consistency

Mixing pulse width in milliseconds with period in seconds is the most common reason for a wrong duty cycle. The form forces both inputs through the same unit toggle, which removes the mismatch.

Peak power accuracy

Average power and pulse energy scale linearly with peak power, so a peak power off by 10% moves both outputs by the same 10%. Use the rated peak power, not the steady-state power.

Pulse shape and edges

The formula assumes a clean rectangular pulse. Real signals have rise and fall times that eat into the effective on time, so the reading is an upper bound for trapezoidal waveforms.

  • The duty cycle formula treats every active moment as equally effective. Modulated bursts need a weighted average.
  • The average power output assumes a constant peak power during the pulse. Systems that vary peak power during the on time need a time-weighted integration this form does not run.
  • The calculator does not replace a thermal model. The thermal response of the heatsink, motor, or weld pool still needs its own derating.

According to Wikipedia Pulse-width modulation, varying the duty cycle of a switching waveform changes the average power delivered to the load, which is how PWM produces analog-like control from a digital on-off signal.

For radar and RF work where peak power is logged in dBm rather than watts, dBm to Watts Calculator converts the dBm reading into the watts value this calculator needs.

Duty cycle calculator interface with pulse width, period, peak power, and time-unit inputs alongside duty cycle percent, duty factor, average power, and pulse energy outputs
Duty cycle calculator interface with pulse width, period, peak power, and time-unit inputs alongside duty cycle percent, duty factor, average power, and pulse energy outputs

Frequently Asked Questions

Q: How do you calculate the duty cycle from pulse width and period?

A: Divide the pulse width by the period to get the duty factor, then multiply by 100 to read it as a percent. The duty cycle calculator reads the two inputs from the form, scales them to a shared time base, prints the percent duty cycle and decimal duty factor, and adds the average power and pulse energy when peak power is provided.

Q: What is the difference between duty cycle and duty factor?

A: Duty cycle expresses the pulse-width-to-period ratio as a percent between 0% and 100%, while duty factor is the same ratio as a decimal between 0 and 1. The result panel prints both so a controller reading a decimal and a report needing a percent can pull from the same numbers.

Q: How do you find the pulse width from a duty cycle and period?

A: Convert the duty cycle to a decimal duty factor and multiply by the period. A 22.5% duty cycle with a 1 s period gives a pulse width of 0.225 s; a 1% duty cycle with a 1,000 ms period gives 10 ms. The duty cycle calculator reads pulse width and period as inputs and prints the matching duty cycle and duty factor, so after the pencil math you can enter the resulting pulse width and period back into the form to confirm the percent and the average power and pulse energy when peak power is filled in.

Q: What does a duty cycle of 50% mean?

A: A 50% duty cycle means the signal is on for half of every period and off for the other half, which is the same as a 10101010 digital pattern or a balanced square wave. The duty cycle calculator reports this as 50% and a duty factor of 0.5 for any pulse width that equals half the period.

Q: How do you calculate duty cycle from peak power and average power?

A: Divide the average power by the peak pulse power, then multiply by 100. A radar that pulls 200 W average from a 20 kW peak transmitter sits at a 1% duty cycle, which the duty cycle calculator prints when the peak power and the pulse-width to period ratio are both entered.

Q: How do you find the energy of one pulse?

A: Multiply the peak power by the pulse width in seconds. A 20 kW pulse that lasts 10 ms carries 200 J, which the duty cycle calculator reads directly when peak power is filled in alongside the pulse width.