Calculate grade

Calculate grade by giving

Mandatory fields are marked with *.

Common grade combinations


Grade table
Points Grade
30 10
29 9.75
28 9.5
27 9.25
26 9
25 8.75
24 8.5
23 8.25
22 8
21 7.75
20 7.5
19 7.25
18 7
17 6.75
16 6.5
15 6.25
14 6
13 5.75
12 5.5
11 5.25
10 5
9 4.75
8 4.5
7 4.25
6 4

Info

Calculate grades where minimum number is 4 and maximum number is 10. This is common in Finnish school system.

Grade is calculated linearly:

y = k(x - x_0) + y_0

Same in JS:

const result = ( ( 10 - 4 ) / ( max - min ) ) * ( points - min ) + 4;

Code in Github.