The formula
NDA penalties are held at full precision inside the calculation (2.5 ÷ 3 and 4 ÷ 3) and rounded only for display.
positiveMarks = correct × P, negativeMarks = incorrect × N, and score = positiveMarks − negativeMarks, where P is marks per correct answer and N is the penalty per wrong answer.
Correct, incorrect and unattempted must add up to the total question count, so the calculator can also report accuracy and attempt rate.
