So, I've been studying the permutations of the $3\times3$ Rubik's Cube.
Wikipedia says that Each corner has three possible orientations, although only seven (of eight) can be oriented independently; the orientation of the eighth (final) corner depends on the preceding seven.
I understand this, but I do not understand how to predict the orientation of the eighth corner. Thanks for any help.


Here is one possible description (partially self-plagiarized from here):
Select two opposing colors, such as yellow and white on most cubes; call stickers of either of these two colors "fancy". Each corner cubie has exactly one fancy side.
Let's say that a corner is "oriented correctly" for its instant position if its fancy side is next to a fancy center. Now for any way to assemble the cube, consider how many clockwise 120° twists of a corner-in-place it would take to orient all of the corners "correctly" without moving them. If this number is a multiple of $3$, the configuration passes the corner orientation test. (It is easy to see that a quarter turn of face with a fancy center keeps this number unchanged, and only slightly more complex that a quarter turn of one of the four other faces changes it by a multiple of $3$).
To predict the last corner's orientation, therefore, count up how many third-twists are necessary to orient all the other corners "correctly". There will now be $0$, $1$ or $2$ twists left for the last corner.