PWM arduino uno problem?

zacmackra:
Can anybody tell me how to calculate duty cycle?

The Wikipedia article is reasonably clear, and not too complex. Duty cycle - Wikipedia