Hitpoints at level up

When playing Baldur's Gate 2 on Normal or Novice the amount of hitpoints received at level up will always be the maximum allowed for that class. Playing on Core Rules, Hard or Insane will result in a die roll lower than or equal to the maximum of hitpoints you can get in Normal or Novice difficulty.

Warriors, priests, rogues and wizards form the 4 basic groups of occupation. Each of the classes within these groups share the same hitdice with the other classes in the same group, the only exception to this rule being the Barbarian who has a D12 instead of a D10.
The hitdie represents a die with n sides, where n is determined by the character's class (we will use group from now on, because there are only 4 basic groups whereas there are several classes. Do note however that the Barbarian is the only class that has a different hitdie, but the rules for warriors apply to this class as well).

The "independant" levels are the levels where you only get a small amount of hitpoints (1, 2 or 3 which only depends on the group, not on the character's constitution. The independant levels start at a specific level (10 for warriors and priests, 11 for wizards and rogues), however since this creates some confusion we will also be using the term "breakpoint". This is the point (between 2 levels) where a character stops gaining the normal set of hitpoints, but receives the smaller amount of HP (1, 2 or 3).

Example: the breakpoint for a (single classed) ranger character (group of warriors) is the point where he's going to level 10, meaning he was level 9 and has just received enough experience points to go to level 10. He will gain 3 HP at this level up and every level up thereafter.

I hope this clears up most of the questions concerning the amount of hitpoints received each level up.

P.S. I would like to stress one more time that I have seen several "illogical" level up results. Bare this in mind, especially for multi-classed characters.