Grade from questions wrong
grade_calculatorUse this when a student or teacher wants the percent and letter grade for a test from the number of questions wrong (or correct), e.g. "7 wrong out of 40". Returns the percent, the letter on the chosen scale, how many more correct answers reach the next letter, and optionally a chart of every possible number wrong. Do not use it for a final-exam target, weighted categories, GPA or test scores. Needs only numbers; never ask for names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | 10_point = A 90, B 80, C 70, D 60 (default); 7_point = A 93, B 85, C 77, D 70; plus_minus = the site's preset with A+ 97 ... D- 60; pass_fail = pass at 60. | |
| wrong | No | Questions wrong. Give wrong or correct, not both. | |
| correct | No | Questions correct. Give wrong or correct, not both. | |
| decimals | No | Decimals shown in the percent (default 0). | |
| rounding | No | nearest rounds half up (default); down never rounds up, for teachers who truncate. | |
| include_chart | No | Also return a chart row for each possible number wrong (first 60 rows). | |
| custom_cutoffs | No | Optional own cut-off percents, highest grade first, strictly descending (10_point: A, B, C, D = 4 numbers; plus_minus: 12 numbers). Use only when the user gives them. | |
| total_questions | Yes | Number of questions or points on the test. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | Page of calculatorforgrading.com with the same inputs filled in. | |
| rule | Yes | ||
| chart | No | ||
| scale | Yes | ||
| wrong | Yes | ||
| letter | Yes | ||
| correct | Yes | ||
| next_letter | Yes | ||
| percent_exact | Yes | ||
| percent_shown | Yes | ||
| total_questions | Yes |