Liver Function Test (LFT)

Evaluates hepatic function via parameters and computes a series of liver scores from MELD to Fatty Liver Index based on laboratory and patient data.

Refer to the text below the calculator for more information about the hepatic scores and parameters computed, their formulas and interpretations.

Liver function test is a term usually used to refer to the blood tests that measure different enzymes, proteins, and other substances made by the liver (such as albumin, bilirubin, AST or ALT).

This data can then be used to compute several hepatic parameters and scores that evaluate liver function, signs of liver disease or even differentiate between different manifestations of liver conditions.

This liver calculator analyses patient data and laboratory results to determine:
  • MELD Score (original and 2016 version);
  • MELD-Na Score;
  • Child- Turcotte- Pugh Score;
  • Serum Ascites Albumin Gradient (SAAG);
  • AST to ALT Ratio;
  • Discriminant Function (Maddrey Score);
  • AST to Platelet Ratio Index (APRI);
  • Fatty Liver Index (FLI);
  • Fibrosis 4 Score (FIB 4);
  • Hepatic Steatosis Index (HSI).

APatient Data

Waist Circumference


Serum Sodium
Serum Albumin
Ascites Fluid Albumin
Serum Triglycerides
Serum GGT
Aspartate aminotransferase (AST)
Upper limit of normal AST (IU/L)
Alanine aminotransferase (ALT)
Prothrombin time
Control time
Platelet count (109/L)


Hepatic encephalopathy
Ascites assessment
Type 2 Diabetes
Hemodialysis twice in the past week
  Embed  Print  Share 

Send Us Your Feedback

Steps on how to print your input & results:

1. Fill in the calculator/tool with your values and/or your answer choices and press Calculate.

2. Then you can click on the Print button to open a PDF in a separate window with the inputs and results. You can further save the PDF or print it.

Please note that once you have closed the PDF you need to click on the Calculate button before you try opening it again, otherwise the input and/or results may not appear in the pdf.


About liver function tests

Liver function test is a term usually used to refer to the blood tests that measure different enzymes, proteins, and other substances made by the liver (such as albumin, bilirubin, AST or ALT).

The main purposes of LFTs are:

  • Screening for liver infections, such as hepatitis;
  • Monitoring progression of hepatic disease and reaction to treatment;
  • Measuring severity of hepatic damage (particularly scarring of the liver in cirrhosis);
  • Monitoring possible side effects of medication (due to liver clearance).

LFTs may be required following symptoms such as jaundice, nausea and vomiting, abdominal pain, diarrhoea, dark-coloured urine, light-coloured stool or persistent unexplained fatigue.

The table below summarizes the main liver function enzymes and proteins that are tested:

Hepatic indicator Description Normal range
Albumin This is one of the proteins produced by the liver with different roles in the body. Lower levels may indicate liver damage. 3.5 – 5.0 g/dL
Bilirubin Bilirubin is one of the waste products of red blood cell breakdown, processed by the liver before stool release. High bilirubin levels (jaundice) indicate liver damage. 0.1 – 1.2 mg/dL
Alanine transaminase (ALT) This is an enzyme that converts proteins into energy in the liver cells. Hepatic damage results in high ALT levels released in bloodstream. 7 – 55 IU/L
Aspartate transaminase (AST) This is an enzyme that metabolizes amino acids. Liver damage increases serum AST. 8 – 48 IU/L
Gamma-glutamyltransferase (GGT) This is a serum enzyme whose high levels indicate liver or bile duct damage. 8 – 61 IU/L
Prothrombin time (PT) This is the blood clotting time. An increase in this time may be due to blood thinning warfarin treatment or liver damage. 9.4 – 12.5 s

This data can then be used, along with others such as serum sodium or platelet count and subject age, gender, height and weight, to compute several hepatic parameters and scores that evaluate liver function, signs of liver disease or even differentiate between different manifestations of liver conditions.


MELD Score

The MELD score assesses the severity of the chronic liver disease and is used in the liver transplant waiting list prioritization by the United Network for Organ Sharing (UNOS).

  • Original MELD Score (rounded) = 10 x [(0.957 x ln(Creatinine)) + (0.378 x ln(Bilirubin)) + (1.12 x ln(INR))] + 6.43

In January 2016, OPTN changed Policy 9.1 in regard to the calculation of the MELD score to include serum sodium. Therefore, the new formula where original MELD score is MELD(i) is:

  • MELD Score (2016) = MELD(i) + 1.32 x (137-Na) – [0.033 x MELD(i) x (137-Na)]

Please note the calculator also accounts for the following adjustments:

  • Values less than 1 are automatically adjusted to the lower limit value of 1 to prevent obtaining a negative score.
  • The upper limit for serum creatinine is 4 mg/dL, therefore for those patients that have had 2 rounds of dialysis in the past week, the value is automatically adjusted to 4 mg/dL.
  • Sodium values less than 125 mmol/L will be set to 125, and values greater than 137 mmol/L will be set to 137.

The range of results is presented with its corresponding 3-month mortality percentage (based on original MELD).

Original MELD score Mortality percentage
≤9 1.9%
10 - 19 6.0%
20 - 29 19.6%
30 - 39 52.6%
40 or more 71.3%

MELD-Na Score

The MELD Na Score adds the sodium determination to the variables of the original Model of End Stage Liver Disease. The two equations used are the following:

  • MELD Score = 10 x [(0.957 x ln(Creatinine)) + (0.378 x ln(Bilirubin)) + (1.12 x ln(INR))] + 6.43
  • MELD Na = MELD − Na − [0.025 × MELD × (140 − Na)] + 140

Same adjustments apply as at MELD Score with the difference that serum sodium values greater than 140 mmol/L are reduced to 140mmol/L not to 137 mmol/L/


Child-Turcotte-Pugh Score

The Child-Turcotte-Pugh score (shortened name: Child Pugh Score) determines the prognosis of hepatic disease. The five items in the score are awarded points, from 1 to 3, depending on their weight on liver disease.

Factors 1 point 2 points 3 points
Hepatic encephalopathy None Grade I-II Grade III-IV
Ascites None Mild to Moderate Moderate to Severe
Total bilirubin (mg/dL) <2 2 - 3 >3
Serum albumin (g/dL) >3.5 2.8-3.5 <2.8
PT INR <1.7 1.71-2.30 >2.30

Three classes of diseases severity have been defined, as follows:

  Class A – Least severe liver disease Class B – Moderately severe liver disease Class C – Most severe derangement
Score 5, 6 points 7 – 9 points 10 – 15 points
1-year survival 100% 81% 45%
2-year survival 85% 57% 35%

Serum Ascites Albumin Gradient (SAAG)

Serum Ascites Albumin Gradient (SAAG) determines the gradient between the serum and ascites fluid albumin to find if is caused by portal hypertension.

  • SAAG = Serum Albumin – Ascites Fluid Albumin

Due to oncotic pressure, SAAG is usually below 1.7 g/dL. SAAG values above 1.1 g/dL are consistent with portal hypertension as the etiology of ascites, with 97% accuracy. The increase in hydrostatic pressure determines fluid to leave circulation and enter in the peritoneal space, creating the ascites fluid, while albumin molecules remain in the circulatory system.

SAAG values below 1.1 g/dL rule out increased portal pressure as ascites cause. Some conditions manifesting with low SAAG are tuberculosis, infections, serositis, some peritoneal carcinomas, pulmonary infarcts or the nephrotic syndrome.


AST to ALT Ratio

The ratio between Aspartate transaminase (AST) and Alanine transaminase (ALT) may be used as a diagnostic indicator.

  • AST to ALT ratio = AST (IU/L) / ALT (IU/L)

A raised AST level out of proportion to the ALT level may be caused by a differential reduction in hepatic ALT (deficiency of the cofactor pyridoxine-5-phosphate).

AST/ALT ratios are greater than 2.0 are indicative of alcoholic liver disease, especially when accompanied by ALT levels below 500 IU/L and raised levels of serum Gamma-glutamyltransferase (GGT).


Discriminant Function (Maddrey Score)

The Maddrey Score (known as discriminant function) can be used to predict short term prognosis in patients with alcoholic hepatitis (AH) and helps prioritize corticosteroid therapy. The discriminant function applied in stratifying AH patients is:

  • DF = 4.6 x (Prothrombin time - Control time) + Bilirubin in mg/dL

The bilirubin value reflects the metabolic function of the liver and is usually higher than normal in cases of alcoholic liver disease.

All Maddrey score results above 32 are indicative of a poor prognosis with 35-45% mortality risk within first month. The patient may benefit from corticosteroid therapy and should undergo a liver biopsy.


AST to Platelet Ratio Index (APRI)

The AST to Platelet Ratio Index is a non-invasive method that can offer information about risk of hepatic fibrosis and cirrhosis, based on platelet count and aspartate aminotransferase level.

  • APRI = AST (IU/L) / AST upper normal limit (IU/L) /Platelet count (109/L) x 100

The aspartate aminotransferase to platelet ratio index suggests the level of hepatic fibrosis and possible liver disease:

APRI Fibrosis degree
<0.5 Ruled out
0.5 – 0.7 Associated with some kind of liver damage
0.7 - 1 Significant fibrosis
>1 Associated with cirrhosis

Fatty Liver Index (FLI)

The Fatty Liver Index supports the diagnosis of fatty liver and the referral of suspected patients to ultrasonography.

  • FLI = (e0.953*loge (triglycerides) + 0.139*BMI + 0.718*loge (ggt) + 0.053*waist circumference - 15.745) / (1 + e0.953*loge (triglycerides) + 0.139*BMI + 0.718*loge (ggt) + 0.053*waist circumference - 15.745) x 100

The FLI scores vary between 1 and 100, with cut-off points at 30 and 60:

  • FLI scores below 30 indicate that FL should be ruled out (with a negative likelihood ratio of up to 0.2);
  • FLI scores between 30 and below 60 remain inconclusive;
  • FLI scores of 60 and above indicate that FL is present (with a positive likelihood ratio starting from 4.3).

Fibrosis 4 Score (FIB 4)

The FIB 4 score evaluates the degree of fibrosis in patients suspected of or already diagnosed with hepatic fibrosis. The score contributes to assessment of NASH (non-alcoholic steatohepatitis), HCV (hepatic C virus) or cholestatic and metabolic liver diseases.

  • FIB 4 = (Age x AST) / (Platelet count x √ALT)

The result is interpreted according to two cut off values:

  • FIB 4 <1.45 indicates absence of cirrhosis (with a negative predictive value of 90% for advanced fibrosis);
  • FIB 4 between 1.45 - 3.25 are deemed inconclusive;
  • FIB 4 >3.25 indicates cirrhosis (with a positive predictive value of 65% for advanced fibrosis).

Hepatic Steatosis Index (HSI)

The Hepatic Steatosis Index is a simple to use screening tool that reflects non-alcoholic fatty liver disease. It can help clinicians identify candidates for liver ultrasonography and those in need of lifestyle and dietary modifications.

  • HSI = 8 x ALT/AST + BMI (+ 2 if type 2 diabetes yes, + 2 if female)

Where the body mass index (BMI) is calculated using: body weight (kg)/height squared (m2).

The result is interpreted by comparison to the two cut-off points:

  • HSI values below 30 indicate that NAFLD can be ruled out (with a negative likelihood ratio of up to 0.186).
  • HSI values of 36 and above indicate that NAFLD positive diagnosis is highly likely (with a positive likelihood ratio starting from 6.069).


1. Kamath PS, Wiesner RH, Malinchoc M, Kremers W, Therneau TM, Kosberg CL, D'Amico G, Dickson ER, Kim WR. A model to predict survival in patients with end-stage liver disease. Hepatology. 2001; 33(2):464-70.

2. OPTN's announcement about Sodium Inclusion

3. Biggins SW, Kim WR, Terrault NA, Saab S, Balan V, Schiano T, Benson J, Therneau T, Kremers W, Wiesner R, Kamath P, Klintmalm G. Evidence-based incorporation of serum sodium concentration into MELD. Gastroenterology. 2006; 130(6):1652-60.

4. Child CG, Turcotte JG. Surgery and portal hypertension. In: The liver and portal hypertension. Edited by CG Child. Philadelphia: Saunders 1964:50-64.

5. Uddin MS, Hoque MI, Islam MB, Uddin MK, Haq I, Mondol G, Tariquzzaman M. Serum-ascites albumin gradient in differential diagnosis of ascites. Mymensingh Med J. 2013; 22(4):748-54.

6. Maddrey WC, Boitnott JK, Bedine MS, Weber FL Jr, Mezey E, White RI Jr. Corticosteroid therapy of alcoholic hepatitis. Gastroenterology. 1978; 75(2):193-9.

7. Lin ZH, Xin YN, Dong QJ, et al. Performance of the aspartate aminotransferase-to-platelet ratio index for the staging of hepatitis C-related fibrosis: an updated meta-analysis. Hepatology. 2011; 53:726-36.

8. Bedogni G, Bellentani S, Miglioli L, Masutti F, Passalacqua M, Castiglione A, Tiribelli C. The Fatty Liver Index: a simple and accurate predictor of hepatic steatosis in the general population. BMC Gastroenterol. 2006; 6:33.

9. Sterling RK, Lissen E, Clumeck N, et. al. Development of a simple noninvasive index to predict significant fibrosis patients with HIV/HCV co-infection. Hepatology 2006; 43:1317-1325.

10. Lee JH, Kim D, Kim HJ, et al. Hepatic steatosis index: a simple screening tool reflecting nonalcoholic fatty liver disease. Dig Liver Dis 2010; 42: 503–8.

Specialty: Hepatology

Article By: Denise Nedea

Published On: June 12, 2020

Last Checked: June 12, 2020

Next Review: June 12, 2025