We give an explicit formula for the signature of any rational link in terms of the denominators of the canonical continued fraction of its slope.