The cooking times below are for cooking a whole turkey at an oven temperature of 325°F to 350°F (160°C to 180°C), using regular heat, not convection. Remember, if you frequently open the oven to baste, cooking time may be extended.
Also remember that turkeys, even if the same weight, are never exactly the same. Some have thicker breasts, others longer legs, and that can affect cooking time. That's why it's important to check for doneness about one hour before the end of the recommended roasting time.
The turkey is done when an instant-read meat thermometer inserted deep into the inner thigh, not touching the bone, reads 185°F (85°C) and 165°F (74°C) for the stuffing.