Brian Metrillo
Work

Greendex

A GPA calculator and Dean's List checker for DLSU students, built on the school's own grading rules.

Role
Solo developer
Year
2025
Stack
TypeScript, React, Tailwind CSS
Code
Private

Overview

Greendex is a web app that DLSU students use to work out their term GPA, check whether they make the Dean's List, and plan their cumulative GPA toward Latin honors. I wrote all of the code. The layout follows the original DLSU GPA & Grade Calculator and extends it, and the formulas are the school's own rules.

The quick GPA tab with four courses, each with a grade picked from a row of grade buttons.
The quick GPA tab, which works without an account.

Problem

Students check their GPA every term to see if they made the Dean's List. The rules have edge cases that are easy to get wrong, like subjects that do not count toward the GPA, a minimum unit load, and a single low grade that rules a student out. A calculator that gets one of these wrong gives a confident wrong answer.

Approach

I kept the original calculator's layout so students who knew it would find everything where they expected, then added what it did not have, like saving terms to an account, projecting a cumulative GPA, and sharing a grade slip. Every rule comes from the student handbook, and the help section links to it. When I found that the app allowed an exception to the unit minimum that the handbook does not have, I removed it.

How it works

The app has tabs for a quick GPA, a full term calculator, weighted course grades, a cumulative GPA across terms, and projections toward Latin honors. A term calculation follows the same steps everywhere.

  1. 1The student picks the units and grade for each course.
  2. 2Non-academic subjects are counted on their own and kept out of the GPA.
  3. 3Greendex weights each grade by its units and rounds the GPA to three decimals.
  4. 4The Dean's List check runs on that rounded number and names the first rule the term misses.
  5. 5The student saves the term or exports it as a grade slip image.

Students can use it without an account, and their rows stay in the browser. When they sign in, their earlier work moves to the account, and access rules let each person read and write only their own records. The page is also rendered at build time, so search engines see the calculator and its help text instead of an empty page.

A term grade slip listing four courses with their units and grades, the term GPA, and a First Honors stamp.
A grade slip, ready to save as an image.

Testing

Unit tests cover the GPA math, including unit weighting, ungraded rows, non-academic subjects, and each Dean's List boundary. Each test writes out its worked example and the expected GPA, so anyone can check it against the handbook. Component tests cover the quick GPA tab and the help section.

Outcome

Greendex is live and has reached 3,300+ users and 72,000+ GPA calculations, by word of mouth. The latest release added the quick GPA tab with a shareable grade slip, a light mode, and one tap targets for each Latin honor.