Formula: Calcium & Anion Gap Reference Equation
- measuredCaMgDl: Measured Ca (mg/dL)
- albuminGdl: Albumin (g/dL)
- sodiumMeqL: Sodium (mEq/L)
- chlorideMeqL: Chloride (mEq/L)
- bicarbMeqL: Bicarb (mEq/L)
Adjust total serum calcium and metabolic anion gap for hypoalbuminemia.
Each gram per decilitre of albumin binds roughly 0.8 mg/dL of calcium on average. When albumin is low, that bound portion is missing from the total measurement even though free calcium may be fine. The correction puts it back so the total reads as if albumin were 4.0 g/dL. It is an average from population studies, so treat it as an estimate and discuss it with your clinician.
Not directly. The calcium box expects mg/dL and there is no unit switch. Multiply mmol/L by about 4 before entering it, so 2.1 mmol/L goes in as roughly 8.4 mg/dL. If you type 2.1 as it stands, the page stops with a message asking for a value from 4 to 16 mg/dL and reminding you of the conversion.
Type 2.8. Divide g/L by 10 to get g/dL, which is the unit the calculator uses. If you enter 28, the page will not calculate and instead asks for albumin between 1 and 6 g/dL, with the same divide by 10 reminder. That check exists because a g/L value would otherwise wreck both corrections at once.
Albumin carries negative charge that the simple Na minus (Cl plus HCO3) sum treats as part of the gap. Low albumin removes some of that charge, so the plain gap shrinks. The Figge step adds 2.5 mEq/L per missing g/dL to restore it. In the default, 1.2 g/dL of missing albumin turns a gap of 12 into 15 mEq/L.
No. It uses sodium minus chloride and bicarbonate only. Some laboratories add potassium to sodium before subtracting, which makes their gap a few units higher. If your report shows a different gap from the one here, check which version it uses before assuming either is wrong. Your lab's reference interval will match the version it reports.
Yes. If albumin is above 4.0 g/dL, the term (4.0 minus albumin) is negative, so the correction subtracts. With the default calcium of 8.2 and albumin of 4.6, the page shows 7.72 mg/dL. That is the formula working as written, though clinicians vary in whether they apply the correction when albumin is normal or high.
An ionised calcium is a direct measurement of the free, active fraction, so it is usually more reliable than any corrected total. If both are on your report, ask your clinician which one they are relying on. This page cannot weigh the two for you, and it does not use ionised calcium as an input at all.
No. The calcium result depends only on measured calcium and albumin. Sodium, chloride and bicarbonate feed the anion gap lines and nothing else. You can leave the electrolyte boxes at their defaults if you only want the calcium correction, but remember that the gap figures on screen will then describe the default patient, not you.
The page deliberately does not say. Anion gap reference intervals differ between laboratories and analysers, and a value that is typical at one hospital may be flagged at another. Compare the plain gap with the interval on your own report and ask your clinician how the albumin-corrected figure should be read for your situation.
The gap is sodium minus the sum of chloride and bicarbonate. If chloride and sodium stay fixed, every unit taken off bicarbonate adds one unit to the result. Dropping bicarbonate from 24 to 14 lifts the plain gap from 12 to 22 mEq/L. The albumin correction stays at 3 because albumin did not change.
No. The page estimates a corrected lab value and nothing more. Whether calcium, vitamin D or any other treatment is right depends on the cause of the result, kidney function, medicines and other tests. Take the measured and corrected numbers to your clinician and let them decide whether anything needs to change.
This page does two separate jobs, and the only thing tying them together is serum albumin. The first job takes a total calcium result and estimates what it would read if albumin were at the reference value of 4.0 g/dL. The second job works out the serum anion gap from sodium, chloride and bicarbonate, then adjusts that gap for low albumin as well.
Albumin matters to both because it is the main protein in blood that carries calcium and the main unmeasured negative charge in the anion gap. When albumin falls, the total calcium number falls with it even if the free, active calcium has not changed. The anion gap shrinks too, because a chunk of the negative charge it is meant to capture has gone missing.
So one low albumin value can make two results look better or different than they really are. A calcium that seems low may not be. A gap that seems normal may be hiding extra acid. That is why the two calculations sit on the same page, and why the albumin box drives both corrections at once.
None of this replaces the judgement of the clinician who ordered the tests. The calculator rearranges numbers you already have. It does not know why albumin is low, what the patient's symptoms are, or what other results say. Treat every figure here as something to bring to that conversation.
The default patient has a measured total calcium of 8.2 mg/dL and an albumin of 2.8 g/dL. Albumin is 1.2 g/dL below the 4.0 reference. The Payne style correction adds 0.8 mg/dL of calcium for every 1 g/dL of missing albumin, so the adjustment is 0.8 × 1.2 = 0.96 mg/dL.
Add that to the measured value and you get 9.16 mg/dL, which is the headline result. The supporting line repeats the measured calcium of 8.2 mg/dL so you can see both side by side.
The anion gap uses the default sodium of 140 mEq/L, chloride of 104 mEq/L and bicarbonate of 24 mEq/L. Subtracting chloride and then bicarbonate from sodium leaves a serum anion gap of 12 mEq/L.
The Figge adjustment then adds 2.5 mEq/L for each 1 g/dL that albumin sits below 4.0. With 1.2 g/dL missing that is 3, so the albumin-corrected anion gap comes out at 15 mEq/L. You can check both sums with a pencil in under a minute, which is a good habit before you trust any lab arithmetic you did not write yourself.
Because albumin feeds both corrections, it is the input worth checking first. Set it to exactly 4.0 g/dL and both corrections vanish. One of the page's presets does this with a measured calcium of 9.4 mg/dL: corrected calcium stays at 9.4 mg/dL and both anion gap lines read 12 mEq/L.
Drop albumin to 2.0 g/dL and the calcium correction doubles compared with the default. The calculator then shows 9.8 mg/dL for calcium and 17 mEq/L for the corrected gap, while the unadjusted gap stays at 12. Each 1 g/dL fall in albumin always adds 0.8 to calcium and 2.5 to the gap, so the effect is a straight line.
A second preset pairs a measured calcium of 7.8 mg/dL with albumin of 2.2 g/dL. That is 1.8 g/dL below the reference, so the page adds 1.44 mg/dL and reports 9.24 mg/dL. The corrected gap rises from 12 to 16.5 mEq/L. A calcium that looks clearly low on the report ends up close to the default patient's corrected value once albumin is accounted for.
The formula also works in the other direction. Enter an albumin above the reference, say 4.6 g/dL, and the correction becomes negative. Calcium drops to 7.72 mg/dL and the corrected gap to 10.5 mEq/L. That is arithmetically correct, but many people only think of the correction as something added on, so a corrected value lower than the measured one can be a surprise.
Sodium, chloride and bicarbonate have no effect on the calcium result at all. They only change the two anion gap lines. Measured calcium, in turn, has no effect on the gap.
Every input here assumes US style conventional units: calcium in mg/dL, albumin in g/dL, and the electrolytes in mEq/L. Many labs outside the US report calcium in mmol/L and albumin in g/L, so a unit slip is the most likely way to get a wrong answer.
The page checks each box against a plausible range and refuses to calculate if a value falls outside it. Total calcium must be 4 to 16 mg/dL, and the message reminds you to multiply mmol/L by 4. Albumin must be 1 to 6 g/dL, with a reminder to divide g/L by 10. Sodium, chloride and bicarbonate each have a plausible range too: chloride 60 to 140 and bicarbonate 2 to 50 mEq/L, with sodium checked in the same way.
So if you type an albumin of 28, meaning 28 g/L, or a calcium of 2.1, meaning 2.1 mmol/L, you get an error explaining the conversion instead of a nonsense result. Enter 2.8 for that albumin and about 8.4 for that calcium. The exact calcium factor is close to 4.008, but 4 is fine for this purpose. Sodium, chloride and bicarbonate in mmol/L are numerically the same as mEq/L, so those three can go in as reported.
The range checks work on each box separately, not on the combination. A chloride of 140 next to a sodium of 140 passes both checks and gives a negative gap. If any result looks impossible, compare the numbers you typed against the report before reading anything into it.
The page shows the anion gap twice on purpose. The plain figure, Na minus (Cl plus HCO3), is the one most lab reports and textbooks quote. The Figge figure adds back the charge that low albumin has removed.
In the default the plain gap is 12 mEq/L and the corrected gap is 15 mEq/L. The difference is entirely due to albumin being 1.2 g/dL low. If albumin were normal, the two would match.
Lowering bicarbonate shows how the gap responds to acid. With bicarbonate at 14 instead of 24, the plain gap rises to 22 mEq/L and the corrected gap to 25 mEq/L. Each unit of bicarbonate removed adds one unit to both gaps, because nothing else in the sum changes.
Reference intervals for the anion gap vary between laboratories and analysers, so this page does not label any gap as normal or high. Compare the results with the interval printed on your own lab report, and ask the clinician how they want the corrected value used. Some teams rely on it routinely; others prefer to look at albumin and the plain gap separately.
The 0.8 factor is an approximation built from population averages. It assumes a fixed relationship between albumin and bound calcium, and that relationship can shift with blood pH, with kidney disease, in critical illness, and with some lab methods for measuring albumin.
For that reason many hospitals measure ionised calcium directly when the answer matters. An ionised calcium is a measurement, not an estimate, and it settles questions that a corrected total calcium can only hint at. If your clinician has an ionised value, that result normally takes priority over anything this page produces.
Take the higher scenario as an example. A measured calcium of 12 mg/dL with albumin at 2.8 g/dL corrects to 12.96 mg/dL. Whether that number is accurate for a given person depends on factors the formula cannot see. Use it as a prompt to ask whether ionised calcium has been checked, not as a conclusion.
The same caution applies to the Figge gap. The 2.5 factor is a rule of thumb. It improves the plain gap in people with low albumin, but it is not exact.
Small transcription slips cause most problems with this calculator, so it helps to work from the printed report rather than memory. Look for these points before you read the result.
First, confirm that calcium is total calcium, not ionised calcium. Entering an ionised value into a total calcium formula gives a meaningless answer. Second, confirm that albumin came from the same blood sample, or at least the same day. Albumin can change over a few days in hospital, and pairing an old albumin with a new calcium blurs the correction.
Third, check whether bicarbonate is reported as bicarbonate, total CO2 or carbon dioxide. On a basic metabolic panel these usually mean the same thing for this purpose, but if the lab gives both a venous gas bicarbonate and a chemistry total CO2, ask which one the clinician prefers.
Fourth, some labs include potassium in their anion gap. This page does not. If your report quotes an anion gap that is about 4 higher than what you get here, that is the likely reason, and neither number is wrong.
A useful way to use this page is as a worksheet before an appointment or a ward round. Write down the measured calcium, albumin and electrolytes, then the three outputs: corrected calcium, plain gap and corrected gap. That gives you a clear question to ask, such as whether a calcium of 8.2 with low albumin is really low.
Do not use the result to start, stop or change any treatment, supplement or fluid. Calcium and acid base problems have many causes, and the right response depends on things a two line formula never sees. The clinician who knows the full picture is the person to decide what the numbers mean.
If you are a student checking homework, the default is a tidy example: every step uses whole tenths and the answers come out to 9.16 mg/dL and 15 mEq/L. Change one input at a time and confirm the shift by hand. Once the pattern is clear, the formulas stop being mysterious.