Gradebook template in Excel: weighted averages and letter grades
At the end of a term, homework, quizzes and tests have to become one grade you can explain. This gradebook weights each category, rounds by one clear rule, turns percentages into letter grades from a scale you can edit and counts the grade distribution. Below you also learn how to build it.
In short: for each student, AVERAGE works out the homework, quiz and test averages. Category weights sit in their own cells, the final percentage is the weighted average rounded to one decimal place, and VLOOKUP with TRUE turns it into a letter grade from an editable scale. COUNTIF builds the grade distribution.
You should know: AVERAGE, ROUND and absolute references such as $L$1. VLOOKUP with TRUE is explained in the second exercise.
Try it now
Tests count 60%, homework 40%. What final percentage does each student get? Fill one formula down for the whole class.
Task In G2, work out Olivia's final percentage: tests (B:C) count with the weight in L1, homework (D:F) with the weight in L2. Round to one decimal place. The formula is filled into G2:G7.
| A | B | C | D | E | F | G | H | I | J | K | L | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Student | Test 1 | Test 2 | HW 1 | HW 2 | HW 3 | Final % | Weight tests | 0.6 | |||
| 2 | Olivia | 84 | 78 | 90 | 85 | 100 | Weight homework | 0.4 | ||||
| 3 | Liam | 91 | 88 | 95 | 100 | 90 | ||||||
| 4 | Ava | 66 | 70 | 70 | 65 | 80 | ||||||
| 5 | Noah | 79 | 85 | 88 | 92 | 75 | ||||||
| 6 | Mia | 54 | 61 | 55 | 60 | 70 | ||||||
| 7 | Ethan | 97 | 93 | 100 | 95 | 98 |
Download the gradebook template
The workbook has three sheets: the gradebook with room for 30 students, four homework, three quiz and two test columns; a Grade scale sheet with two editable example scales; and instructions. It prints one Letter page wide in landscape, and only the yellow cells can be edited. The sample weights are 20% homework, 30% quizzes and 50% tests; set your own, because your school or department decides them.
Enlarge previewDownload the finished template
The finished Excel file gradebook-template.xlsx, with sample rows and instructions, is free. All you need is a free account: no subscription, no payment details.
Figures, rates and sample data in the templates are as of 13 November 2026, without guarantee. Check that they still apply to you. The templates are mainly meant to show how to build this in Excel.
Create a free account and download the template Already have an account? Log in
How the gradebook is laid out
| Column | Content | Formula in row 7 |
|---|---|---|
| B to E, F | Homework 1 to 4, homework average | =IF(COUNT(B7:E7)=0,"",AVERAGE(B7:E7)) |
| G to J | Quizzes 1 to 3, quiz average | the same for G7:I7 |
| K to M | Tests 1 and 2, test average | the same for K7:L7 |
| N | Final % | weighted average of the categories with scores, ROUND(…,1) |
| O | Grade | =VLOOKUP(N7,scale,2,TRUE), scale chosen in M2 |
Scores go in as percentages from 0 to 100. For a raw score, type a formula such as =17/20*100. AVERAGE skips empty cells, so a test that has not been written yet does not count as 0.
Weighted average with one clear rounding rule
The final percentage is
=IFERROR(ROUND((N(F7)*$F$4+N(J7)*$J$4+N(M7)*$M$4)/((F7<>"")*$F$4+(J7<>"")*$J$4+(M7<>"")*$M$4),1),"")
The top half multiplies each category average by its weight; N() turns an empty average into 0. The bottom half adds up only the weights of categories that have scores: (F7<>"") is TRUE or FALSE, which counts as 1 or 0. So early in the term, before any test, the grade comes from homework and quizzes alone instead of being dragged down. The weights do not have to total 100%.
Rounding rule: ROUND to one decimal place first, and the letter grade comes from that rounded value. 89.95 becomes 90.0, an A on the US scale; 89.94 becomes 89.9, a B. Write the rule down for your students so everyone knows where the line is.
Letter grades from an editable scale
The Grade scale sheet lists the lowest percentage for each grade, from low to high. VLOOKUP with TRUE takes the highest cut-off that is not above the percentage:
Task Turn percentages into letter grades. E2:F6 holds a grading scale: the lowest percentage for each grade (a common US example; your school sets the real cut-offs). In C2, fetch the grade for the percentage in B2. The formula is filled into C2:C7.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Student | Percent | Grade | From % | Grade | |
| 2 | Olivia | 68 | 0 | F | ||
| 3 | Liam | 91 | 60 | D | ||
| 4 | Ava | 44 | 70 | C | ||
| 5 | Noah | 80 | 80 | B | ||
| 6 | Mia | 59.5 | 90 | A | ||
| 7 | Ethan | 27 |
This exercise is part of Premium.
Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.
See Premium Already Premium? Log in
The first exercise in this lesson is free.
US: the sample is the common scale of A from 90, B from 80, C from 70, D from 60 and F below. It is an example: your school or district sets the real cut-offs, and many add plus and minus grades. Add a row such as 87 for B+ and the lookup picks it up.
UK: GCSEs in England are graded 9 to 1, with 9 the highest. For real exams there is no fixed percentage per grade: the exam boards set the grade boundaries for each exam under rules set by Ofqual (gov.uk), so the boundaries change from year to year. The UK table in the template, with steps of 10 percentage points, is only an example for class tests. Replace it with the scale your school uses. Pick the scale in M2.
Common mistakes
Typing 0 for a missing score
A 0 pulls the average down, because AVERAGE counts it. Leave the cell empty for work not yet handed in, or enter 0 only when your policy says a missing assignment scores zero.
Cut-offs out of order
VLOOKUP with TRUE needs the cut-offs from low to high. If 80 comes before 70, it returns wrong grades without any error. The Grade scale sheet turns such a row red.
Rounding twice
Rounding each category average and then the final percentage again can move a student across a line. The template rounds once, at the end.
Mixing points and percentages
A score of 17 out of 20 typed as 17 counts as 17%. Convert raw scores with =17/20*100.
Gradebook formulas in German Excel
In German the template is called Notenrechner. German schools grade from 1 (best) to 6, and the upper secondary level uses 0 to 15 points, so the German file has a sheet for each and a rounding threshold instead of letter grades.
| English | German |
|---|---|
| AVERAGE, COUNT | MITTELWERT, ANZAHL |
| ROUND, IFERROR, N | RUNDEN, WENNFEHLER, N |
| VLOOKUP, COUNTIF | SVERWEIS, ZÄHLENWENN |
German Excel separates arguments with a semicolon: =SVERWEIS(N7;$A$5:$B$14;2;WAHR).
Which Excel versions support this?
AVERAGE, ROUND, IFERROR, N, VLOOKUP, COUNTIF, drop-down lists and sheet protection work in all current Excel versions, including Excel for Mac and Excel for the web. The template needs no Microsoft 365 functions.
FAQ
Is the gradebook template free?
Yes. Download the Excel file with a free account, with no subscription and no payment details.
Can I store grades in Excel?
Grades are personal data about students. Follow your school's or district's rules on where student data may be stored, and keep the file only on devices and services they allow.
How do I add plus and minus grades?
On the Grade scale sheet, add rows with the cut-off for each grade, such as 87 B+, 83 B and 80 B-, keeping the list in ascending order.
What if my categories are different?
Rename the headers (for example Labs instead of Quizzes) after unprotecting the sheet. The weights and formulas stay the same.
Does it print on A4?
The English file is set to Letter. For A4, choose A4 under Page Layout > Size; it still fits one page wide.
For the weekly plan of a class, see the class timetable.
Every template with a build guide: Excel templates.