{
  "id": "weighted-grade",
  "version": "38a86508b64b",
  "status": "published",
  "name": "Weighted Grade Calculator",
  "question": "What is my weighted grade?",
  "summary": "Computes a weighted grade from grades and their percent weights, its letter grade, and the points banked toward the course grade so far.",
  "category": "education",
  "subcategory": "grades",
  "url": "https://www.acalculator.org/education/weighted-grade-calculator",
  "markdown": "https://www.acalculator.org/education/weighted-grade-calculator.md",
  "kind": "function",
  "method": "weighted grade = Σ(grade × weight) ÷ Σ(weight); points banked = Σ(grade × weight) ÷ 100.",
  "assumptions": [
    "Weights are shares of the course in percent. When they add up to less than 100%, the weighted grade covers only the parts entered.",
    "A grade needs a weight. A weight with no grade is a part not graded yet: it is left out of the weighted grade and counts in the weight left.",
    "Letter grades follow the Tompkins Cortland Community College (SUNY) scale: A 93 and up, A- 90 to below 93, B+ 87, B 83, B- 80, C+ 77, C 73, C- 70, D+ 67, D 63, D- 60, F below 60."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "grade1": {
        "title": "Grade 1",
        "description": "The grade on part 1 of the course (an assignment or a category), in percent.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0,
        "maximum": 200
      },
      "weight1": {
        "title": "Weight 1",
        "description": "The share of the course grade that part 1 is worth, in percent.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0.01,
        "maximum": 100
      },
      "grade2": {
        "title": "Grade 2",
        "description": "The grade on part 2 of the course (an assignment or a category), in percent.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0,
        "maximum": 200
      },
      "weight2": {
        "title": "Weight 2",
        "description": "The share of the course grade that part 2 is worth, in percent.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0.01,
        "maximum": 100
      },
      "grade3": {
        "title": "Grade 3",
        "description": "The grade on part 3 of the course (an assignment or a category), in percent.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0,
        "maximum": 200
      },
      "weight3": {
        "title": "Weight 3",
        "description": "The share of the course grade that part 3 is worth, in percent.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0.01,
        "maximum": 100
      },
      "grade4": {
        "title": "Grade 4",
        "description": "The grade on part 4 of the course (an assignment or a category), in percent.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0,
        "maximum": 200
      },
      "weight4": {
        "title": "Weight 4",
        "description": "The share of the course grade that part 4 is worth, in percent.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0.01,
        "maximum": 100
      },
      "grade5": {
        "title": "Grade 5",
        "description": "The grade on part 5 of the course (an assignment or a category), in percent.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0,
        "maximum": 200
      },
      "weight5": {
        "title": "Weight 5",
        "description": "The share of the course grade that part 5 is worth, in percent.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0.01,
        "maximum": 100
      },
      "grade6": {
        "title": "Grade 6",
        "description": "The grade on part 6 of the course (an assignment or a category), in percent.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0,
        "maximum": 200
      },
      "weight6": {
        "title": "Weight 6",
        "description": "The share of the course grade that part 6 is worth, in percent.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0.01,
        "maximum": 100
      }
    }
  },
  "outputs": {
    "grade": {
      "label": "Weighted grade",
      "description": "The sum of grade × weight divided by the sum of the weights.",
      "format": "percent"
    },
    "letter": {
      "label": "Letter grade",
      "description": "The letter for the weighted grade on the Tompkins Cortland Community College scale.",
      "format": "text"
    },
    "total": {
      "label": "Weight graded",
      "description": "The sum of the weights of the parts with a grade, in percent of the course.",
      "format": "percent"
    },
    "banked": {
      "label": "Points banked",
      "description": "The sum of grade × weight ÷ 100: points toward the course grade out of 100, as if the parts not entered scored 0.",
      "format": "number"
    },
    "left": {
      "label": "Weight left",
      "description": "The share of the course not graded yet: 100% minus the weights of the graded parts.",
      "format": "percent"
    },
    "note": {
      "label": "Note",
      "description": "A note when the weights add up to more than 100%.",
      "format": "text"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "grade1": 90,
      "weight1": 15,
      "grade2": 82,
      "weight2": 20,
      "grade3": 76,
      "weight3": 25,
      "grade4": 88,
      "weight4": 40
    },
    "outputs": {
      "grade": 84.1,
      "letter": "B",
      "total": 100,
      "banked": 84.1
    },
    "text": "Your weighted grade is 84.1% (B)."
  },
  "examples": [
    {
      "given": {
        "grade1": 90,
        "weight1": 15,
        "grade2": 82,
        "weight2": 20,
        "grade3": 76,
        "weight3": 25,
        "grade4": 88,
        "weight4": 40
      },
      "expect": {
        "grade": 84.1,
        "letter": "B",
        "total": 100,
        "banked": 84.1
      },
      "source": "hand calculation in content.mdx: 8,410 ÷ 100 = 84.1%"
    },
    {
      "given": {
        "grade1": 95,
        "weight1": 10,
        "grade2": 80,
        "weight2": 30,
        "weight3": 60
      },
      "expect": {
        "grade": 83.75,
        "letter": "B",
        "total": 40,
        "banked": 33.5,
        "left": 60
      },
      "source": "hand calculation in content.mdx: 3,350 ÷ 40 = 83.75%; 3,350 ÷ 100 = 33.5 points"
    },
    {
      "given": {
        "grade1": 90,
        "weight1": 60,
        "grade2": 70,
        "weight2": 60
      },
      "expect": {
        "grade": 80,
        "letter": "B-",
        "total": 120,
        "note": "The weights add up to more than 100%. Check them against the syllabus."
      },
      "source": "hand calculation in content.mdx: (90 × 60 + 70 × 60) ÷ 120 = 80%"
    },
    {
      "given": {
        "grade1": 59.5,
        "weight1": 50,
        "grade2": 60.5,
        "weight2": 50
      },
      "expect": {
        "grade": 60,
        "letter": "D-"
      },
      "source": "Tompkins Cortland Community College grading scale: D- is 60 to 62, F is 59 and below"
    }
  ],
  "sources": [
    "Tompkins Cortland Community College (SUNY), Grading System: grading scale for converting between numerical and letter grades (A 93–100 through F 59 and below). https://www.tompkinscortland.edu/sites/default/files/documents/CollegeNow%20Grading%20Scale.pdf"
  ],
  "related": [
    "grade",
    "final-grade",
    "gpa"
  ],
  "changelog": []
}
