In order to calculate the dwell angle for this 4-cylinder engine, we use the following formula: duty(B) / 100*90. Duty B indicates the percentage of time that our signal is positive during our cycle time. Dividing by 100 converts our positive duty percentage into a decimal value.