PWM Duty Cycle Calculator

Enter pulse width and period (or frequency) to instantly compute duty cycle, on-time, off-time, and average output voltage.

PWM Parameters

V

Summary

Enter pulse width and period (or frequency) to instantly compute duty cycle, on-time, off-time, and average output voltage.

How it works

  1. Enter the supply voltage (Vcc) and select the time unit (µs, ms, or s).
  2. Enter the pulse width (on-time) and the total period, or switch to frequency mode and enter frequency in Hz or kHz.
  3. Click Calculate to see duty cycle %, on-time, off-time, period, frequency, and average output voltage.
  4. Adjust any value and recalculate — the duty cycle bar updates to reflect the new ratio.
  5. Use Reset to clear all fields and start a new calculation.

Use cases

  • Size PWM parameters for a DC motor speed controller.
  • Set LED dimming level for a constant-current driver.
  • Verify switching frequency and duty cycle for a buck or boost converter.
  • Calculate average output voltage of a PWM-driven H-bridge.
  • Check on-time and off-time constraints for a MOSFET gate driver.
  • Teach or learn PWM theory with live numeric feedback.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu