Did the OP ask about analogWrite?
No.
Did the OP ask about PWM pins?
No.
The OP asked how to calculate the correct PWM to steer a servo.
Did the OP ask about analogWrite?
No.
Did the OP ask about PWM pins?
No.
The OP asked how to calculate the correct PWM to steer a servo.