hi
generally we calculate score / percentage as
Obtained marks * 100 / Max marks.

But when we have a avg marks then ?

how to calculate score / percentage.
plz help

Dani AI

Generated

raised a common practical question. asked for clarification, and correctly described how an average is formed but concluded there is “no direct method.” That conclusion is too pessimistic: there are direct and reliable ways to produce a percentage from an average, but the correct method depends on how the average was built.

If every component used the same maximum (all scores on the same scale), the numeric average is already on that scale and needs no further conversion. The tricky cases are when different assessments have different maxima or when some items should count more than others. In those cases the right approach is to normalize each component to a common scale and then combine them, using weights if the course assigns them.

Practical steps to follow:

  • Confirm whether the stored average is of raw marks or of already-normalized percentages.
  • If raw marks come from different maxima, convert each component to a proportion of its own maximum (a value between 0 and 1).
  • If assessments have unequal importance, apply their weights to those proportions.
  • Combine the weighted proportions and, if desired, scale the final result to percent.

A minimal algorithm (conceptual) for a weighted overall percentage:

# data = [(score1, max1, weight1), (score2, max2, weight2), ...]
total_weight = sum(weight for _, _, weight in data)
overall_fraction = sum((score/max)*weight for score, max, weight in data) / total_weight
overall_percentage = overall_fraction * 100

Cautions: verify whether averages in your dataset are already rounded, whether some items are excluded, and whether institutional rules require specific rounding or scaling. If unsure, recompute from individual components using the steps above rather than relying on an unexplained stored average.

Recommended Answers

All 2 Replies

I'm sorry sbv but I don't understand your question. Are you asking how to determine the score as a percentage if you have an average mark for someone?

In avg marks you take all the values and divide by the total number , In that different values will show different percentage . So it means no direct method to obtain correct percentage.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.