{
  "id": "test-score",
  "version": "587883d0c9dc",
  "status": "published",
  "name": "Test Score Calculator",
  "question": "What is my test score?",
  "summary": "Turns points earned out of points possible into a percent score and a letter grade, or finds the points needed for a percent.",
  "category": "education",
  "subcategory": "test-scores",
  "url": "https://www.acalculator.org/education/test-score-calculator",
  "markdown": "https://www.acalculator.org/education/test-score-calculator.md",
  "kind": "formulas",
  "method": "score = 100 × points earned ÷ points possible",
  "assumptions": [
    "Fill in any two of points earned, points possible, and score; the calculator finds the third.",
    "Points earned above points possible (extra credit) give a score above 100%, up to 200%.",
    "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": {
      "earned": {
        "title": "Points earned",
        "description": "The points you scored, or the number of questions you got right.",
        "type": "number",
        "minimum": 0,
        "maximum": 1000000
      },
      "possible": {
        "title": "Points possible",
        "description": "The points the test is out of, or its number of questions.",
        "type": "number",
        "minimum": 0.01,
        "maximum": 1000000
      },
      "percent": {
        "title": "Score",
        "description": "The score in percent: points earned ÷ points possible × 100.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0,
        "maximum": 200
      }
    }
  },
  "solve": {
    "fillAny": 2,
    "variables": [
      "earned",
      "possible",
      "percent"
    ],
    "inputsOnly": []
  },
  "outputs": {
    "earned": {
      "label": "Points earned",
      "description": "The points you scored, or the number of questions you got right.",
      "format": "number"
    },
    "possible": {
      "label": "Points possible",
      "description": "The points the test is out of, or its number of questions.",
      "format": "number"
    },
    "percent": {
      "label": "Score",
      "description": "The score in percent: points earned ÷ points possible × 100.",
      "format": "percent"
    },
    "letter": {
      "label": "Letter grade",
      "description": "The letter for the score on the Tompkins Cortland Community College scale.",
      "format": "text"
    },
    "missed": {
      "label": "Points missed",
      "description": "Points possible minus points earned; 0 when you earned all the points or more.",
      "format": "number"
    },
    "extra": {
      "label": "Extra credit points",
      "description": "Points earned above the points possible, shown only when there are some.",
      "format": "number"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "earned": 43,
      "possible": 50
    },
    "outputs": {
      "percent": 86,
      "letter": "B",
      "missed": 7
    },
    "text": "43 out of 50 is 86% (B)."
  },
  "examples": [
    {
      "given": {
        "earned": 43,
        "possible": 50
      },
      "expect": {
        "percent": 86,
        "letter": "B",
        "missed": 7
      },
      "source": "hand calculation in content.mdx: 100 × 43 ÷ 50 = 86%"
    },
    {
      "given": {
        "earned": 88,
        "possible": 120
      },
      "expect": {
        "percent": 73.33333333333333,
        "letter": "C",
        "missed": 32
      },
      "source": "hand calculation in content.mdx: 100 × 88 ÷ 120 = 73.33%"
    },
    {
      "given": {
        "possible": 80,
        "percent": 90
      },
      "expect": {
        "earned": 72,
        "letter": "A-",
        "missed": 8
      },
      "source": "hand calculation in content.mdx: 90 × 80 ÷ 100 = 72 points"
    },
    {
      "given": {
        "earned": 45,
        "percent": 75
      },
      "expect": {
        "possible": 60
      },
      "source": "hand calculation in content.mdx: 100 × 45 ÷ 75 = 60 points possible"
    },
    {
      "given": {
        "earned": 105,
        "possible": 100
      },
      "expect": {
        "percent": 105,
        "letter": "A",
        "missed": 0,
        "extra": 5
      },
      "source": "hand calculation in content.mdx: extra credit, 100 × 105 ÷ 100 = 105%"
    }
  ],
  "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": [
    "test-grade",
    "grade",
    "final-grade"
  ],
  "changelog": [
    {
      "date": "2026-09-28",
      "note": "Points missed is never below 0; extra credit shows as Extra credit points."
    }
  ]
}
