1. Look at your bird's foot on its favourite perch
2. Tick everything that is true of your cage
A rule of thumb, not a diagnosis. Sources word the "right size" slightly differently (nails just meeting, toes wrapping about three-quarters of the way, or about halfway), so treat it as a range and watch your bird. If a foot looks sore, ask an avian vet.