A calculator that runs entirely in the browser and computes six non-invasive liver fibrosis scores on one screen from age, AST, the AST upper limit of normal, ALT, platelet count and INR.
Important: this tool is for education and quick calculation; it must not be used on its own for diagnosis or treatment decisions. Always interpret the results together with a clinical assessment. The calculator's interface is in Turkish.
#Usage
- Press Open project on this page, or download the package and open
index.html in a browser. No server is needed. - Enter the values. The result cards update as you type; if a score is missing an input, its card says so ("Gerekli değerleri girin.").
- Örnek değerleri yükle (load sample values) fills the form with example values, Temizle (clear) resets it.
Nothing you enter is sent to a server; every calculation happens in your browser.
| Field | Unit |
|---|
| Age (Yaş) | years |
| AST | U/L |
| AST upper limit of normal (ÜNS) | U/L |
| ALT | U/L |
| Platelets (Trombosit) | 10⁹/L |
| INR | — |
#Scores
| Score | Formula |
|---|
| APRI | (AST / AST ULN) / platelets × 100 |
| FIB-4 | (Age × AST) / (platelets × √ALT) |
| AAR | AST / ALT |
| API | Age points + platelet points (0–10) |
| King's score | (Age × AST × INR) / platelets |
| CDS | Platelet points + ALT/AST ratio points + INR points (0–11) |
#API points
| Age | Points | | Platelets (10⁹/L) | Points |
|---|
| < 30 | 0 | | ≥ 225 | 0 |
| 30–39 | 1 | | 200–224 | 1 |
| 40–49 | 2 | | 175–199 | 2 |
| 50–59 | 3 | | 150–174 | 3 |
| 60–69 | 4 | | 125–149 | 4 |
| ≥ 70 | 5 | | < 125 | 5 |
#CDS points
| Platelets (10⁹/L) | Points |
|---|
| > 340 | 0 |
| 280–340 | 1 |
| 220–279 | 2 |
| 160–219 | 3 |
| 100–159 | 4 |
| 40–99 | 5 |
| < 40 | 6 |
| ALT/AST ratio | Points | | INR | Points |
|---|
| > 1.7 | 0 | | < 1.1 | 0 |
| 1.2–1.7 | 1 | | 1.1–1.4 | 1 |
| 0.6–1.19 | 2 | | > 1.4 | 2 |
| < 0.6 | 3 | | | |
#Files
index.html form and result cards
style.css styling
app.js all calculations