Back

#grade

2 APIs with this tag

Slope & Grade API

Slope and grade maths as an API, computed locally and deterministically. The convert endpoint converts a slope between every common form — percent grade, angle in degrees, a ratio such as 1:12, per mille and rise-per-run — where the slope m = rise ÷ run = tan(angle). The distance endpoint relates the run (horizontal), the rise (vertical) and the slope distance (the hypotenuse) of a right-triangle slope: give any two, optionally with the grade or angle, and it returns the rest. The ramp endpoint sizes a wheelchair or ADA ramp — from a rise and a maximum slope (defaulting to 1:12, the ADA maximum of 8.33%) it returns the required run and total ramp length, and if you supply an actual run it checks whether the ramp is within the limit. Everything is computed locally and deterministically, so it is instant and private. Ideal for civil-engineering and surveying tools, road, trail and accessibility apps, construction and ramp design, and mapping software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is slope and grade geometry; for roof pitch specifically use a roofing API.

api.oanor.com/slope-api

Grade Calculator API

Single-course grade maths as an API, computed locally and deterministically — the everyday "what do I need on the final" student calculations. The needed endpoint works out the score required on the final exam (or any remaining component) to reach a target overall grade, from the current grade and the weight the final carries, and flags whether the target is achievable or already secured. The projected endpoint gives the overall grade you would finish with for a hypothetical final score. The average endpoint computes the weighted average of graded components from a simple score:weight list (such as 90:40,80:60), and reports the total and remaining weight so you can see how much of the course is still ungraded. Percentages run 0–100 and weights accept either a percentage (30) or a fraction (0.3). Everything is computed locally and deterministically, so it is instant and private. Ideal for student and study apps, learning-management tools, and tutoring and education sites. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is single-course grade mechanics; for a multi-course grade-point average from credit hours use a GPA API.

api.oanor.com/gradecalc-api