Discriminant Function Calculator - Maddrey DF Severity Score
Use this discriminant function calculator to combine patient PT, control PT, and bilirubin in mg/dL into the Maddrey DF score and severity band for alcoholic hepatitis.
Discriminant Function Calculator
Results
What Is the Discriminant Function Calculator?
The discriminant function calculator is a bedside clinical tool that applies the 1978 Maddrey formula to the patient's prothrombin time and total bilirubin. It returns the Maddrey Discriminant Function (MDF) score used to grade alcoholic hepatitis severity and to flag the cases where corticosteroid treatment is usually discussed.
- • Admitting an inpatient with suspected alcoholic hepatitis: A clinician on call who needs to translate a PT, control PT, and total bilirubin into a single severity band before the hepatology consult arrives.
- • Triage for steroid-discussion rounds: A pharmacist, hospitalist, or trainee preparing the steroid-decision summary and wants a consistent severity number tied to the 32-point threshold.
- • Teaching and case review: Trainees learning the difference between mild and severe alcoholic hepatitis and how the DF score connects to MELD or Lille.
Alcoholic hepatitis is a serious acute liver injury caused by heavy alcohol use. Severity drives the treatment plan, and the Maddrey DF separates mild disease (where steroids are usually avoided) from severe disease (where steroids are usually considered).
The calculator mirrors the published formula: it subtracts the reference PT from the patient's PT, multiplies the difference by 4.6, and adds the total bilirubin in mg/dL. The result is the MDF score, read against the 32-point severity band.
When the team also wants a chronic-liver-disease severity signal alongside the Maddrey score, APRI Calculator gives the AST-to-platelet ratio that hepatology often pulls from the same panel.
How the Discriminant Function Calculator Works
The calculator takes the patient PT, the control PT, and the total bilirubin in mg/dL, applies the 1978 Maddrey formula, and reads the result against the 32-point severity threshold. The output is the MDF score and a short treatment-decision prompt.
- PT_patient: Patient's actual prothrombin time in seconds from the most recent coagulation panel.
- PT_control: Reference (control) PT reported by the same laboratory in seconds; 11 to 13 seconds is a typical range.
- Total_Bilirubin: Total serum bilirubin in mg/dL. The calculator expects mg/dL, which means umol/L values should be divided by 17.1 first.
- MDF score: Maddrey 1978 discriminant function score. A result greater than 32 is treated as severe alcoholic hepatitis.
The numeric answer is a structured severity summary, not a treatment order. The calculator surfaces the band and a short clinical-review prompt so the user can see why the result crossed the threshold.
The 32-point cutoff is the threshold Maddrey and colleagues used in the original Gastroenterology paper and the threshold most downstream guidelines keep for the severe band.
Worked Example: Mild Disease (MDF 11.2)
PT 14 s, control 12 s, bilirubin 2 mg/dL.
MDF = 4.6 × (14 − 12) + 2 = 9.2 + 2 = 11.2.
MDF 11.2 (mild to moderate alcoholic hepatitis)
The score sits well below the 32 threshold. The team focuses on alcohol cessation and nutritional support rather than steroids.
Worked Example: Severe Disease (MDF 54)
PT 22 s, control 12 s, bilirubin 8 mg/dL.
MDF = 4.6 × (22 − 12) + 8 = 46 + 8 = 54.
MDF 54 (severe alcoholic hepatitis, consider corticosteroids)
The score is well above 32. Corticosteroids such as prednisolone 40 mg per day for 28 days are usually discussed, with infection and bleeding risk reviewed first.
According to Maddrey 1978 Gastroenterology paper, the discriminant function is 4.6 times the prothrombin time prolongation in seconds plus the total serum bilirubin in mg/dL, and a score greater than 32 marks severe alcoholic hepatitis that may benefit from corticosteroid therapy.
According to AASLD 2010 Practice Guideline on Alcoholic Liver Disease, a Maddrey score above 32 identifies patients with severe alcoholic hepatitis who should be considered for oral prednisolone 40 mg per day for 28 days, with active infection or GI bleeding reviewed before the first dose and a day-7 Lille score used to judge steroid response.
Because the discriminant function depends on the liver-function labs that usually arrive with the transaminase report, AST ALT Ratio Calculator helps interpret the AST/ALT pattern that sits next to the PT and bilirubin in the same chemistry panel.
Key Concepts Behind the Maddrey DF
The discriminant function combines two ideas: how well the liver makes clotting factors and how much bilirubin the liver is failing to clear.
Prothrombin time prolongation
The PT measures how long the patient's plasma takes to clot. A PT that is several seconds longer than the laboratory's control value is a sign that the liver is making fewer clotting factors, which is one half of the discriminant function signal.
Total bilirubin in mg/dL
Total bilirubin rises when the liver cannot clear the bilirubin that red blood cells release. The 0.1 to 1.2 mg/dL band is the usual reference range, and the discriminant function uses the raw value rather than a ratio.
The 4.6 multiplier
Maddrey and colleagues chose 4.6 to weight the PT prolongation against bilirubin. The coefficient has been reproduced across reprints and review articles.
The 32-point severity threshold
An MDF score greater than 32 separates severe alcoholic hepatitis from mild to moderate disease in most guidelines. The severe band is where corticosteroid treatment is usually discussed.
The formula is short on purpose. Maddrey's 1978 paper wanted a single number that an admitting team could compute at the bedside with a copy of the coagulation panel.
The 32-point threshold is the value most downstream reprints keep. The calculator surfaces the band so the user can see why the result crossed the threshold.
Corticosteroid and supportive-drug decisions in severe alcoholic hepatitis still need a kidney-function review, so GFR Calculator supports the renal-function check that the admitting team usually runs alongside the MDF score.
How to Use This Calculator
Run the calculator from the most recent coagulation panel and the most recent total bilirubin, in that order, so the inputs match the lab report and the result is reproducible.
- 1 Pull the patient PT and control PT: Read the patient's actual PT in seconds and the laboratory's control PT from the same report. The control value is usually 11 to 13 seconds, and 12 seconds is a safe default when the report is missing.
- 2 Convert the total bilirubin to mg/dL: If the lab reports bilirubin in umol/L, divide by 17.1 first. The formula expects mg/dL, so 34.2 umol/L becomes 2.0 mg/dL.
- 3 Enter the three values: Type the patient PT, the control PT, and the bilirubin into the three inputs. The calculator recomputes the MDF score as you type.
- 4 Read the MDF score and the severity band: Look at the MDF score and the severity band. A result greater than 32 is severe; a result at or below 32 is mild to moderate.
- 5 Document the result and the next step: Record the score, the band, and the treatment-decision context in the chart note. If the band is severe, discuss corticosteroids and plan a recheck with MELD or Lille.
A practical use: a 54-year-old admitted with jaundice after heavy drinking. The coagulation panel shows PT 19 s with a 12-second control, and the chemistry shows total bilirubin 5 mg/dL. The calculator returns MDF 37.2, which crosses the 32 threshold and lands in the severe band.
When a prolonged PT leads the team to plan fresh frozen plasma before an invasive procedure, Fresh Frozen Plasma Dose Calculator supports the volume and bag estimate that often runs in parallel to the MDF review.
Benefits of Using a Discriminant Function Calculator
The Maddrey DF can be computed by hand, but a calculator keeps the score consistent, traceable, and easier to defend at sign-out.
- • Standardised severity review across providers: Pharmacists, hospitalists, and consultants see the same MDF number and band, so the steroid-decision conversation does not depend on memory of the original Maddrey table.
- • Transparent record-keeping: The calculator records the patient PT, the control PT, and the bilirubin in the result, so a later reviewer can re-run the calculation against the same chart.
- • Quick link to the 32-point threshold: The calculator ties the score to the 32-point severe band from the Maddrey 1978 paper, which most downstream guidelines use for the steroid-discussion case.
- • Defensive handling of common input errors: The calculator clamps negative PT prolongations and surfaces the result so a transposed digit does not silently pass the threshold.
The Maddrey DF was designed to make alcoholic hepatitis severity easier to discuss. The calculator does not diagnose alcoholic hepatitis, prescribe a steroid, or replace the rest of the workup such as MELD or Lille.
The result is most useful when paired with the same reasoning the bedside team would use without the calculator.
Because the Maddrey DF is a liver-function number that often arrives alongside a metabolic-panel review, Acid Base Calculator helps interpret the bicarbonate and pH pattern that runs in parallel to the severity band.
Factors That Affect the Maddrey DF Result
Several things can move the score up or down, and a few of them are common in routine practice.
Reference (control) PT value
A control PT of 11 seconds gives a 1-second larger PT prolongation than a control of 12 seconds for the same patient value, which adds 4.6 points to the score. Always use the control PT reported by the same lab that ran the patient's PT.
Coagulation panel timing
A PT drawn within a few hours of admission and a PT drawn after several days of supportive care can look very different. The score is most useful when the PT and bilirubin are drawn on the same day.
Vitamin K or fresh frozen plasma
Vitamin K or FFP given before the PT is drawn can shorten the PT and lower the score. A repeat score after vitamin K wears off is often the more honest number.
Bilirubin unit confusion
Bilirubin reported in umol/L is about 17 times larger than the same value in mg/dL. Entering 34 umol/L as 34 in a mg/dL field pushes the score into the severe band for the wrong reason.
- • The discriminant function is a severity score, not a diagnostic test. A low score does not rule out alcoholic hepatitis, and a high score still needs a clinical exam, imaging, and the rest of the workup before treatment is decided.
- • The 32-point threshold was set in a 1978 steroid trial. Modern cohorts use MELD, ABIC, or the Lille score at day 7 to refine the steroid decision, so the DF result is best read alongside those tools rather than on its own.
Bleeding risk, kidney function, infection status, and nutrition matter for what to do with the result, but those are not part of the DF score. The calculator intentionally stops before that step so the result is a severity summary, not a treatment order.
The PT prolongation row in the result panel shows how much of the MDF score came from the coagulation panel, which is useful when vitamin K or FFP has been given.
According to STOPAH trial (Thursz et al., NEJM 2015), prednisolone's 28-day mortality reduction in severe alcoholic hepatitis did not reach statistical significance, with no improvement at 90 days or 1 year, and pentoxifylline did not improve survival over placebo, so the steroid decision stays a careful clinical judgment.
Frequently Asked Questions
Q: What is the discriminant function calculator used for?
A: The discriminant function calculator applies the 1978 Maddrey formula to a patient's prothrombin time and total bilirubin. It returns the Maddrey Discriminant Function (MDF) score and a severity band used to grade alcoholic hepatitis and to flag the cases where corticosteroid treatment is usually discussed.
Q: How is the Maddrey discriminant function calculated?
A: Subtract the laboratory's reference PT from the patient's actual PT in seconds, multiply the difference by 4.6, then add the total serum bilirubin in mg/dL. The result is the MDF score, and a value greater than 32 is treated as severe alcoholic hepatitis.
Q: What does a discriminant function score greater than 32 mean?
A: An MDF score greater than 32 indicates severe alcoholic hepatitis. In that band, corticosteroid treatment such as prednisolone 40 mg per day for 28 days is usually discussed, with infection and bleeding risk reviewed first and a Lille score recheck planned at day 7 to judge steroid response.
Q: Which prothrombin time control value should I use?
A: Use the control PT reported by the same laboratory that ran the patient's PT. The reference range is usually 11 to 13 seconds, and 12 seconds is a safe default when the lab value is not handy. A 1-second change in the control value moves the MDF score by 4.6 points.
Q: What unit of bilirubin does the formula expect?
A: The formula expects total serum bilirubin in mg/dL. To convert from umol/L, divide by 17.1 first. A value of 34.2 umol/L is the same as 2.0 mg/dL, and entering the umol/L value by mistake pushes the score into the severe band for the wrong reason.
Q: How accurate is the discriminant function for alcoholic hepatitis?
A: The 1978 Maddrey paper showed that an MDF score greater than 32 identified the patients most likely to benefit from corticosteroids. Modern cohorts use MELD, ABIC, and the Lille score to refine the steroid decision, so the DF result is best read alongside those tools.