Skip to content
FiftyCalc Free calculators for all 50 states

Duty Cycle Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter how long the signal stays high and low in each cycle, and its high voltage.

Result

Sample figures

Duty cycle—

Period (ms) —

  • Frequency (Hz)—
  • Average voltage (V)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Duty Cycle Calculator

Time on, pulse width, in ms: enter 0 or more. Prefilled example: 2.

Time off, in ms: enter 0 or more. Prefilled example: 8.

High voltage, in V: enter 0 or more. Prefilled example: 12.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Time on, pulse width, in ms: enter 0 or more.
  2. Time off, in ms: enter 0 or more.
  3. High voltage, in V: enter 0 or more.
  4. Read the result: Duty cycle; the panel also shows Period (ms), Frequency (Hz) and Average voltage (V).

How this calculator works

Duty cycle D = pulse width ÷ period × 100%, with period T = time on + time off and frequency f = 1/T.

For a rectangular signal that switches between 0 V and V, the average (DC) value is D × V.

The formula

  1. D=onon+off×100
Symbols used in the formula
SymbolMeaningUnit
onTime on, pulse widthms
offTime offms
DDuty cycle%

Worked example

Time on, pulse width2 ms
Time off8 ms
High voltage12 V
Period (ms)10
Frequency (Hz)100
Average voltage (V)2.4
  1. D=22+8×100=20

Duty cycle 20%

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What does a 50% duty cycle mean?

The signal is on for half of each period: a square wave.

What is the duty cycle of 2 ms on and 8 ms off?

20%, at 100 Hz; with a 12 V supply the average is 2.4 V.

Does duty cycle change the frequency?

Not by itself. PWM keeps the period fixed and changes only the share of time the signal is on.

Related calculators