Duty Cycle Calculator
Calculate the duty cycle of a pulse signal. Duty cycle is the percentage of time a signal is active (high) in one period.
How to Use This Calculator
- Enter the pulse width in seconds (the time the signal is high/active).
- Enter the period in seconds (the total time for one complete cycle).
- The calculator displays the duty cycle as a percentage and ratio.
- Use this to understand PWM signals, measure pulse characteristics, or analyze digital waveforms.
Duty Cycle Formula
Duty cycle is calculated from pulse width and period:
Example: Pulse width = 0.5ms, Period = 1ms: Duty cycle = (0.5 / 1) × 100 = 50%. This is a square wave with equal on and off times.
Full Description
Duty cycle is a fundamental concept in digital electronics and signal processing. It represents the percentage of time a signal is active (high) during one complete cycle. Duty cycle is essential for understanding PWM (Pulse Width Modulation), which uses varying duty cycles to control power, speed, brightness, and other parameters.
A 50% duty cycle means the signal is high half the time and low half the time, creating a square wave. A 25% duty cycle means the signal is high 25% of the time. Duty cycle directly affects average voltage and power: Average voltage = Peak voltage × Duty cycle. This is why PWM is so effective for controlling motors, LEDs, and other devices—changing the duty cycle changes the average power without changing the peak voltage.
This calculator helps you determine duty cycle from pulse width and period measurements. Enter the pulse width (time signal is high) and period (total cycle time), and it calculates the duty cycle percentage and ratio. Use it when analyzing digital signals, designing PWM circuits, measuring pulse characteristics, or understanding how duty cycle affects power and voltage. Duty cycle is fundamental to digital electronics and control systems.
Frequently Asked Questions
What is duty cycle?
Duty cycle is the percentage of time a signal is active (high) in one period. It's calculated as (Pulse Width / Period) × 100%. A 50% duty cycle means the signal is high half the time and low half the time (square wave).
How do I measure pulse width and period?
Use an oscilloscope to measure the time the signal is high (pulse width) and the total time for one complete cycle (period). Period = 1 / Frequency. For example, a 1kHz signal has a period of 0.001 seconds (1ms).
What is a typical duty cycle?
50% duty cycle is common for square waves. PWM (Pulse Width Modulation) signals vary duty cycle from 0% to 100% to control power, speed, or brightness. 0% = always off, 100% = always on, 50% = half power.
How does duty cycle relate to average voltage?
Average voltage = Peak voltage × Duty cycle. For example, a 5V signal with 50% duty cycle has an average voltage of 2.5V. A 5V signal with 25% duty cycle has an average voltage of 1.25V. This is how PWM controls power.