Skip to content
D DocNectar

Free Duty Cycle Calculator

Solve for pulse width, period, or duty cycle of a repeating pulse signal.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

Duty cycle describes what fraction of a repeating pulse signal's cycle is spent "on" — a core concept behind PWM (pulse-width modulation), used to control everything from motor speed to LED brightness. This calculator solves for whichever value — pulse width, period, or duty cycle — is missing.

How it works

Enter any 2 of the 3 values (pulse width/on-time, period, or duty cycle) and leave the one you want to solve for blank. The calculator applies D = (tₒₙ/T) × 100.

  1. Enter pulse width / on-time (ms) — leave blank to solve for this.
  2. Enter period (ms) — leave blank to solve for this.
  3. Enter duty cycle (%) — leave blank to solve for this.
  4. Click Calculate to see your results.

Examples

A PWM dimming signal

A signal that's "on" for 3 ms out of every 10 ms period has a 30% duty cycle — useful, for example, for dimming an LED to 30% of its full brightness.

Who should use it

  • Electronics and embedded systems coursework on PWM.
  • Designing motor speed control, LED dimming, or similar PWM applications.

Industry applications

  • Electronics and embedded systems
  • Motor control and power electronics

Advantages

  • Solves for any of the three variables, not just forward duty-cycle calculation.
  • Directly applicable to real PWM design and analysis.

Limitations

  • Assumes an idealized rectangular pulse — real signals have finite rise/fall times not captured here.

Common mistakes to avoid

  • Confusing period (the full cycle length) with pulse width (just the "on" portion) — duty cycle is the ratio between them, not either one alone.
  • Mixing time units (e.g. entering pulse width in microseconds but period in milliseconds) without converting to the same unit first.

Best practices

  • Keep pulse width and period in the same time unit before entering them.
  • Remember duty cycle alone doesn't tell you the signal's frequency — you need the period (or its reciprocal) for that.

Tips

  • If you know the desired output frequency, convert it to a period first (T = 1/f) before solving for pulse width from a target duty cycle.

Frequently asked questions

Yes, with no signup and no limit on how many calculations you run.
Pulse-width modulation controls the effective power delivered to a load (motor speed, LED brightness, etc.) by rapidly switching on and off — the duty cycle determines how much average power gets through, without needing a variable analog voltage.
The signal spends exactly equal time on and off each cycle — a symmetric square wave.
No — the on-time can't exceed the total period by definition, so duty cycle is always between 0% and 100%.

Get new calculators and guides in your inbox

No spam — just new tools like Duty Cycle Calculator and practical guides.

Favorites