Duty Cycle Calculator

Calculate the duty cycle percentage of a pulse width modulated (PWM) signal.
Calculator
Enter your values
Analysis
Interpretation of the current calculator output

Enter values to see detailed analysis and insights.

How to Use

Step-by-step instructions
  1. 1Enter the On Time (high state duration).
  2. 2Enter the Off Time (low state duration).
  3. 3The calculator will show the duty cycle and frequency (assuming ms input).

Duty Cycle

Calculates the percentage of one period in which a signal is active.
Duty (%) = (On Time / (On Time + Off Time)) × 100

Variables:

On TimeDuration signal is high
Off TimeDuration signal is low

Example

Square Wave

Inputs:

On:10 ms
Off:10 ms

Steps:

  1. 1.Period = 10 + 10 = 20 ms
  2. 2.Duty = (10 / 20) * 100 = 50%
Result:
50%

Frequently Asked Questions

What is frequency?

Frequency is the number of cycles per second (Hz). If your time is in milliseconds, Frequency = 1000 / Period.