induwara.lk
induwara.lkHealth · Lipids

LDL Cholesterol Calculator — Friedewald & Sampson-NIH

Enter the total cholesterol, HDL and triglycerides from your lab report to get your LDL (“bad”) cholesterol, non-HDL cholesterol and risk bands. Computes both the classic Friedewald and the newer Sampson-NIH equations, in mg/dL or mmol/L. No signup, sources cited below.

By Induwara AshinsanaUpdated Jun 26, 2026
Your LDL & lipid panel
Friedewald + Sampson-NIH
US labs report mg/dL · Sri Lankan & UK labs often use mmol/L
mg/dL
mg/dL
mg/dL

Only changes the low-HDL cut-off (40 vs 50 mg/dL).

Try a sample
LDL (Friedewald)
120 mg/dL
Near optimal
Standard lab estimate
LDL (Sampson-NIH)
123 mg/dL
Near optimal
More accurate at high triglycerides
Non-HDL cholesterol
150 mg/dL
Near optimal
Total − HDL (treatment target)
TC / HDL ratio
4.0
Average risk
TG/HDL ratio: 3.0

Classification (NCEP ATP III)

MarkerYour valueCategory
LDL cholesterol120 mg/dLNear optimal
Total cholesterol200 mg/dLBorderline high
HDL cholesterol50 mg/dLAcceptable
Triglycerides150 mg/dLBorderline high
Non-HDL cholesterol150 mg/dLNear optimal

LDL row uses the Friedewald estimate. Non-HDL targets run about 30 mg/dL above the matching LDL target.

Educational estimate only. Calculated LDL is not a diagnosis and is not a substitute for advice from your doctor. Numbers come from a fasting lipid panel; talk to a clinician about your results and overall heart-disease risk.

How it works

Many lab reports print total cholesterol, HDL and triglycerides but leave the LDL line blank, or give LDL in mmol/L when your doctor quotes targets in mg/dL. This calculator fills that gap. Everything is computed internally in mg/dL and converted back for display, using the CDC/AACC reference factors mg/dL = mmol/L × 38.67 for cholesterol and × 88.57 for triglycerides.

The Friedewald equation (Clinical Chemistry, 1972) is the method most labs use:

LDL = Total cholesterol − HDL − (Triglycerides ÷ 5)

It approximates VLDL cholesterol as one-fifth of triglycerides. That holds for most fasting samples but fails when triglycerides climb above 400 mg/dL (≈ 4.5 mmol/L), where it under-estimates LDL. The calculator detects this and suppresses the Friedewald number with a warning, leaving the Sampson value as the one to trust.

The Sampson-NIH equation (JAMA Cardiology, 2020, equation 2) is a closed-form fit validated up to triglycerides of 800 mg/dL:

LDL = TC/0.948 − HDL/0.971 − (TG/8.56 + TG×nonHDL/2140 − TG²/16100) − 9.44

where non-HDL = TC − HDL. At normal triglycerides the two methods agree within a few mg/dL; at high triglycerides Sampson stays accurate while Friedewald drifts. The tool also reports non-HDL cholesterol (TC − HDL), the secondary target in the 2018 AHA/ACC guideline, plus the TC/HDL and TG/HDL ratios.

Each result is colour-coded against the NCEP Adult Treatment Panel III bands: LDL optimal below 100 mg/dL, total cholesterol desirable below 200, HDL low below 40 mg/dL for men or 50 for women, and triglycerides normal below 150. These are population guides — your doctor reads them against your full cardiovascular risk. All arithmetic runs in your browser; nothing is uploaded.

Worked examples

Typical fasting panel (mg/dL)

  1. Inputs: TC 200, HDL 50, TG 150 mg/dL
  2. Non-HDL = 200 − 50 = 150 mg/dL
  3. Friedewald LDL = 200 − 50 − 150/5 = 120 mg/dL → Near optimal
  4. Sampson LDL = 200/0.948 − 50/0.971 − (17.52 + 10.51 − 1.40) − 9.44 = 123 mg/dL
  5. TC/HDL = 4.0 · TG/HDL = 3.0 — the two LDL methods agree within ~3 mg/dL

High triglycerides — Friedewald suppressed (mg/dL)

  1. Inputs: TC 300, HDL 40, TG 500 mg/dL
  2. TG 500 > 400 → Friedewald is not valid and is hidden
  3. Non-HDL = 300 − 40 = 260 mg/dL → Very high
  4. Sampson LDL = 316.46 − 41.20 − (58.41 + 60.75 − 15.53) − 9.44 = 162 mg/dL → High
  5. Friedewald would have shown 160 here, but is not validated at this TG level

mmol/L report read against mg/dL targets

  1. Inputs: TC 5.2, HDL 1.3, TG 1.7 mmol/L
  2. Convert: TC 5.2×38.67 = 201, HDL 1.3×38.67 = 50, TG 1.7×88.57 = 151 mg/dL
  3. Friedewald LDL = 201 − 50 − 151/5 = 120.7 mg/dL = 3.12 mmol/L → Near optimal
  4. Reconciles with example 1: the mmol/L pipeline lands on the same LDL

Frequently asked questions

Sources & references

Related tools

Rate this tool
Be the first to rate

Comments & feedback

Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Found a bug, edge case, or want to suggest an improvement?

Email me at [email protected] — most fixes ship within 24 hours.