PWM to Servo Angle Calculator

Convert a PWM pulse width (µs) to a servo angle, or an angle back to pulse width, with configurable pulse range and rotation limits.

Servo Configuration

Standard servo: 500–2500 µs, 180° rotation.

Shaft Position

Pulse Width → Angle

Angle → Pulse Width

Quick Reference Table

Angle Pulse (µs) % Travel
Copied!

Summary

Convert a PWM pulse width (µs) to a servo angle, or an angle back to pulse width, with configurable pulse range and rotation limits.

How it works

  1. Select a preset (Standard or Micro) or enter custom Min Pulse, Max Pulse, and Rotation Range values.
  2. Enter a pulse width in microseconds to calculate the corresponding servo angle.
  3. Or enter an angle in degrees to calculate the required pulse width.
  4. The calculator clamps the output to the configured range and displays both results simultaneously.
  5. Use the copy button to copy any result to the clipboard.

Use cases

  • Calibrate RC servo motors by finding the pulse width for a specific angle.
  • Verify PWM output from a microcontroller (Arduino, Raspberry Pi, ESP32) maps to the expected angle.
  • Convert servo angle commands to pulse widths for a PWM driver library.
  • Debug flight controller servo endpoints during RC plane or drone setup.
  • Determine neutral position pulse width for steering servos in robotics projects.
  • Compare pulse-width ranges across different servo brands and models.

Frequently Asked Questions

Last updated: 2026-07-24 · Reviewed by Nham Vu