PWM to Voltage Calculator
Enter the values to get the average voltage.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
Pulse-width modulation (PWM) switches a signal rapidly between a supply voltage and zero (or ground); the fraction of each cycle spent "on" is the duty cycle. Because most loads (motors, LEDs, filters) respond to the time-averaged signal rather than the raw switching, the effective average voltage is simply V_avg = duty cycle × V_supply — a 25% duty cycle on a 12V line produces an average of 3V.
Embedded and electronics engineers, along with Arduino and Raspberry Pi hobbyists, use this relationship constantly when driving DC motor speed, dimming LEDs, or generating an approximate analog voltage from a microcontroller's digital output pins.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)