The correct formula is in the article along with the table showing some typical computations.