Abstract: An automatic document feeder includes a paper guide casing, a photo interrupter, a first sensing unit, a second sensing unit and a controller. During the paper is transported through the paper guide casing, the first sensing unit and the second sensing unit are respectively triggered by two ends of the paper. Consequently, the photo interrupter is conducted for a first duration T1 or a second duration T2. According to the first duration T1 or the second duration T2, a skew angle of the paper is calculated by the controller.