Percentage = marks obtained ÷ maximum marks × 100. If you scored 423 out of 500, that is 423 ÷ 500 × 100 = 84.6%.
For a group of subjects
Some forms ask for the percentage in a group, for example Physics, Chemistry and Mathematics (PCM). Add the marks in those subjects, add their maximum marks, then apply the same formula. Do not average the individual percentages unless every subject has the same maximum.
Try it
Rounding
Use the number of decimals the form asks for. Rounding 59.96% up to 60% to clear a cut-off is usually not allowed unless the rules say so.
Best of five
If the form asks for best of five, use the best of five calculator instead, which picks your top subjects for you.