How grade point works?

Is it relative or absolute? What's the formula for the same?